Problem to compile 2.2.4

Chmouel Boudjnah (chmouel@mandrakesoft.com)
24 Mar 1999 11:56:16 +0100


Hell,

I have a problem to compile 2.2.4 :

Error:

make -C scsi modules
make[2]: Entering directory `/home/chmou/red/BUILD/linux/drivers/scsi'
gcc -D__KERNEL__ -I/home/chmou/red/BUILD/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 -DMODULE -DMODVERSIONS -include
/home/chmou/red/BUILD/linux/include/linux/modversions.h -c -o pci2000.o
pci2000.c
pci2000.c:37: linux/head.h: No such file or directory
In file included from pci2000.c:40:
/home/chmou/red/BUILD/linux/include/linux/bios32.h:11: warning: #warning This
driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/home/chmou/red/BUILD/linux/include/linux/bios32.h:32: warning:
`pcibios_read_config_byte' redefined
/home/chmou/red/BUILD/linux/include/linux/modules/pcisyms.ver:4: warning: this
is the location of the previous definition
pci2000.c: In function `Pci2000_Detect':
pci2000.c:609: warning: passing arg 3 of `__pcibios_read_irq' from incompatible
pointer type
pci2000.c:609: warning: passing arg 4 of `__pcibios_read_config_byte' from
incompatible pointer type
pci2000.c: At top level:
pci2000.c:716: `PCI2220I' undeclared here (not in a function)
make[2]: *** [pci2000.o] Error 1
make[1]: *** [_modsubdir_scsi] Error 2
make: *** [_mod_drivers] Error 2

The linux/head.h file is under the sparc(64) tree, i can't find it for
a i386 architecture.

-- 
MandrakeSoft          http://www.mandrakesoft.com/
			         	 --Chmouel

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/