Messages in this thread | | | Date | Fri, 22 Aug 1997 22:50:31 +0300 (EET DST) | From | Tuomas Heino <> | Subject | Re: 2.1.51 compile error (fwd) |
| |
On Fri, 22 Aug 1997, Jiann-Ming Su wrote:
> I get the following error when I try to compile 2.1.51. > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 > -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ > -c -o hosts.o hosts.c > In file included from aic7xxx.c:124: > aic7xxx_seq.h:485: parse error before `0xff' > rm -f scsi_n_syms.o > ld -m elf_i386 -r -o scsi_n_syms.o scsi_syms.o scsi.o > aic7xxx.c: In function `aic7xxx_detect': > aic7xxx.c:5729: `proc_scsi_aic7xxx' undeclared (first use this function) > aic7xxx.c:5729: (Each undeclared identifier is reported only once > aic7xxx.c:5729: for each function it appears in.) > The first error is clearly because you've been patching "non-clean" kernels ... second one prolly too but as proc_scsi_aic7xxx is buggy in 2.1.51 anyway you'll prolly want to get a patch for it... (that 0xff thing happens after you patch a "compiled" version of that _seq.h... so you'll need to get a clean aic7xxx_seq.h from a tarball... and patch it if it ain't 2.1.51 one;)
| |