[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kernel compiling problem
Hi,
Maybe I'm too lazy or maybe I'm just too tired, but kernel 2.0.36
doesn't want to compile to me and I cannot find why...
Here is the output:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-f
rame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -m
align-functions=2 -DCPU=586 -c -o 3c59x.o 3c59x.c
rm -f net.a
ar rcs net.a auto_irq.o Space.o net_init.o loopback.o 3c59x.o
make[3]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[2]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[2]: Entering directory `/usr/src/linux-2.0.36/drivers/pci'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.0.36/drivers/pci'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-f
rame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -m
pci.c:266: initializer element for `dev_info[219].device' is not
constant
pci.c:407: `PCI_DEVICE_ID_SPECIALIX_IO8' undeclared here (not in a
function)
pci.c:407: initializer element for `dev_info[360].device' is not
constant
pci.c:439: `PCI_VENDOR_ID_ASIX' undeclared here (not in a function)
pci.c:439: initializer element for `dev_info[392].vendor' is not
constant
pci.c:439: `PCI_DEVICE_ID_ASIX_88140' undeclared here (not in a
function)
pci.c:439: initializer element for `dev_info[392].device' is not
constant
pci.c:520: `PCI_DEVICE_ID_ADAPTEC_1480A' undeclared here (not in a
function)
pci.c:520: initializer element for `dev_info[473].device' is not
constant
pci.c:538: `PCI_DEVICE_ID_ADAPTEC2_3950U2D' undeclared here (not in a
function)
pci.c:538: initializer element for `dev_info[491].device' is not
constant
pci.c: In function `pci_strvendor':
pci.c:844: `PCI_VENDOR_ID_ASIX' undeclared (first use this function)
pci.c:844: (Each undeclared identifier is reported only once
pci.c:844: for each function it appears in.)
make[3]: *** [pci.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.36/drivers/pci'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.36/drivers/pci'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.36/drivers'
make: *** [linuxsubdirs] Error 2
What did I do wrong? :)
Hetz