Re: More 2.1.81 compile errors(with fix)

Trevor Johnson (trevor@jpj.net)
Fri, 23 Jan 1998 21:43:46 -0800 (PST)


> Here is the fix for the above.
>
> --- 2.1.81-pure/arch/i386/kernel/i386_ksyms.c Fri Jan 23 22:58:21 1998
> +++ 2.1.81/arch/i386/kernel/i386_ksyms.c Fri Jan 23 23:50:45 1998

After applying your patch, I had further errors when compiling without
__SMP__:

gcc -D__KERNEL__ -I/usr/sys/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o irq.o irq.c
irq.c: In function `do_ioapic_IRQ':
irq.c:653: `irq_owner' undeclared (first use this function)
irq.c:653: (Each undeclared identifier is reported only once
irq.c:653: for each function it appears in.)
irq.c:669: warning: implicit declaration of function `release_irqlock'
irq.c:676: `NO_PROC_ID' undeclared (first use this function)
make[1]: *** [irq.o] Error 1
make[1]: Leaving directory `/usr/sys/linux/arch/i386/kernel'
___
Trevor Johnson