Re: 2.2.13pre14


Subject: Re: 2.2.13pre14
Jay.Estabrook@digital.com
Date: Wed Sep 29 1999 - 10:54:43 PDT


>>> Rich Payne said:
> On Wed, 29 Sep 1999, Barrett G. Lyon wrote:
>
> > At 11:37 AM 9/29/99 -0400, you wrote:
> > >
> > >Has anybody tried 2.2.13pre14 on Alpha. When compiling I get this:
> > >
> > >gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre14/include -Wall
> > -Wstrict-prototypes
> > >-O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-re
> gs
> > >-ffix ed-8 -mcpu=ev6 -Wa,-mev6 -c -o time.o time.c
> > >time.c: In function `warp_clock':
> > >time.c:150: `xtime_lock' undeclared (first use in this function)
> > >time.c:150: (Each undeclared identifier is reported only once
> > >time.c:150: for each function it appears in.)
> > >time.c: In function `do_adjtimex':
> > >time.c:251: `xtime_lock' undeclared (first use in this function)
> > >make[2]: *** [time.o] Error 1
> > >make[2]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
> > >make[1]: *** [first_rule] Error 2
> > >make[1]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
> > >make: *** [_dir_kernel] Error 2
> > >
> >
> > Arsenic runs it, try compiling w/out RTC.
> >
>
> Nope, RTC makes no difference. It looks like an SMP thing. If I compile
> the kernel as UP it works fine. SMP fails!

Move the xtime_lock definition *outside* the #ifndef __alpha__ block, and
SMP will compile.

It compiles for UP because the lock primitives expand to constants then,
rather than the appropriate SMP inline code.

This will also be part of my alpha-patches for the released 2.2.13, whenever
that is...

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



This archive was generated by hypermail 2a22 : Mon Oct 04 1999 - 12:44:54 PDT