Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: 2.2.13pre14
Date: Wed, 29 Sep 1999 13:54:43 -0400	[thread overview]
Message-ID: <199909291754.NAA05553@linux04.mro.dec.com> (raw)
In-Reply-To: Your message of Wed, 29 Sep 1999 12:51:23 -0400. <Pine.LNX.4.10.9909291250150.4879-100000@talisman.mv.com>


>>> 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
-----------------------------------------------------------------------------



  reply	other threads:[~1999-09-29 17:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3.0.6.32.19990929093345.00a53100@216.207.184.2>
1999-09-29 16:51 ` 2.2.13pre14 Rich Payne
1999-09-29 17:54   ` Jay.Estabrook [this message]
1999-09-29 17:28     ` 2.2.13pre14 Greg Johnson
1999-09-29 17:48       ` 2.2.13pre14 Rich Payne
1999-09-29 18:51         ` 2.2.13pre14 Jay.Estabrook
1999-09-29 15:37 2.2.13pre14 Rich Payne
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox