Error in compile in 2.3.99-pre9-1

From: Dylan Vanderhoof (DylanV@semaphore.com)
Date: Mon May 15 2000 - 18:21:18 EST


Hello All,
        Working on getting the pre9-1 patch to build on a Compaq
workstation, I ran into this error in a 'make bzImage':

make[1]: Entering directory `/usr/src/linux/arch/i386/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -march=i586 -c -o
pci-irq.o pci-irq.c
pci-irq.c:225: `PCI_DEVICE_ID_INTEL_82440MX_1' undeclared here (not in a
function)
pci-irq.c:225: initializer element for `pirq_routers[3].device' is not
constant
make[1]: *** [pci-irq.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

The architecture from a dmesg is as follows:
Memory: 57900k/61376k available (1417k kernel code, 3088k reserved, 100k
data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Cyrix M II 2.5x Core/Bus Clock stepping 04
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfb4c0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1039/0008] at 00:01.0

I would try to debug this myself, but I unfortunatly lack the familiarity
with the kernel at this point to debug it myself.
The define, I'm sure, should be in linux/include/linux/pci-ids.h around line
1143, but is conspicuously absent.

Please let me know if any more information is needed from me.

Thanks,
Dylan

----------------------------------------------
Dylan C. Vanderhoof
Internal Software Developer
Semaphore Corporation

"Managing senior programmers is like herding cats." -- Dave Platt
----------------------------------------------

-
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/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:27 EST