From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1205 invoked from network); 29 Sep 1999 17:19:56 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 29 Sep 1999 17:19:56 -0000 Received: from mailext03.compaq.com (mailext03.compaq.com [207.18.199.41]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA31763 for ; Wed, 29 Sep 1999 13:19:56 -0400 Received: by mailext03.compaq.com (Postfix, from userid 60001) id 77D211520C7; Wed, 29 Sep 1999 12:19:55 -0500 (CDT) Received: from mailext03.compaq.com (localhost [127.0.0.1]) by mailext03.compaq.com (Postfix) with ESMTP id 75D5A148506 for ; Wed, 29 Sep 1999 12:19:55 -0500 (CDT) Received: from mailint02.im.hou.compaq.com([not looked up]) (peer mailint02.compaq.com[207.18.199.35]) by mailext03.compaq.com with ESMTP id rcv027125; Wed, 29 Sep 1999 12:19:51 -0500 (CDT) Received: by mailint02.im.hou.compaq.com (Postfix, from userid 60001) id 24A25BC4C8; Wed, 29 Sep 1999 12:19:47 -0500 (CDT) Received: from mail.compaq.com (localhost [127.0.0.1]) by mailint02.im.hou.compaq.com (Postfix) with ESMTP id 1D902B2A42 for ; Wed, 29 Sep 1999 12:19:47 -0500 (CDT) Received: from pdgsrv.mro.dec.com([not looked up]) (peer pdgsrv.mro.dec.com[16.34.112.86]) by mail.compaq.com with ESMTP id rcv021156; Wed, 29 Sep 1999 12:19:43 -0500 (CDT) Received: from linux04.mro.dec.com by pdgsrv.mro.dec.com; (8.8.8/1.1.8.2/13Dec96-1209PM) id NAA01494; Wed, 29 Sep 1999 13:19:42 -0400 (EDT) Received: from linux04.mro.dec.com (jestabro@localhost [127.0.0.1]) by linux04.mro.dec.com (8.8.7/8.8.7) with ESMTP id NAA05553 for ; Wed, 29 Sep 1999 13:54:43 -0400 Message-Id: <199909291754.NAA05553@linux04.mro.dec.com> X-Mailer: exmh version 2.0.2 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: 2.2.13pre14 In-reply-to: Your message of Wed, 29 Sep 1999 12:51:23 -0400. Mime-Version: 1.0 Content-Type: text/plain Date: Wed, 29 Sep 1999 13:54:43 -0400 Sender: jestabro@linux04.mro.dec.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 -----------------------------------------------------------------------------