From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5834 invoked from network); 22 Feb 1999 03:20:57 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Feb 1999 03:20:57 -0000 Received: from mail.op.net (d-bm5-13.ppp.op.net [209.152.194.211]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA16987 for ; Sun, 21 Feb 1999 22:05:21 -0500 Received: (from rbowles@localhost) by mail.op.net (8.8.7/8.8.7) id WAA24711 for axp-list@redhat.com; Sun, 21 Feb 1999 22:20:40 -0500 Message-ID: <19990221222039.A24705@op.net> Date: Sun, 21 Feb 1999 22:20:39 -0500 From: Robert Bowles To: axp-list@redhat.com Subject: Re: 2.2.2pre5 followup (semaphores) Reply-To: rbowles@infonautics.com References: <19990221120752.D29970@csee.wvu.edu> <36D03F4E.2A765264@alphalinux.org> <19990221172229.I29970@csee.wvu.edu> <19990221180259.A18098@op.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <19990221180259.A18098@op.net>; from Robert Bowles on Sun, Feb 21, 1999 at 06:02:59PM -0500 X-host-platform: Linux noname 2.2.1-ac1 #19 Tue Feb 2 22:25:39 EST 1999 alpha unknown Sorry, folks. I spoke too soon. I added an 'extern int __down_trylock(struct semaphore * sem);' to 'linux/include/asm-alpha/semaphore.h' and I got... < from make vmlinux > <- snip -> gcc -D__KERNEL__ -I/home/src/linux-2.2.2-pre5/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -fno-omit-frame-pointer -c -o sched.o sched.c sched.c:39: asm/semaphore-helper.h: No such file or directory sched.c:580: warning: alignment of `aligned_data' is greater than maximum object file alignment sched.c: In function `__down': sched.c:900: too few arguments to function `waking_non_zero' sched.c: In function `__down_interruptible': sched.c:912: warning: implicit declaration of function `waking_non_zero_interruptible' sched.c: In function `__down_trylock': sched.c:927: warning: implicit declaration of function `waking_non_zero_trylock' On Sun, Feb 21, 1999 at 06:02:59PM -0500, Robert Bowles wrote: > Thanks for the answer: > > 'linux/include/asm-i386/semaphore.h' has an > asmlinkage int __down_trylock(struct semaphore * sem); > > Whereas 'linux/include/asm-alpha/semaphore.h' has none. > I'm just adding "the line" and building right now. :)