Re: Failure in pre9-1 compile

From: Len Sorensen (lsorense@opengraphics.com)
Date: Mon May 15 2000 - 17:05:49 EST


> A kernel compile on pre9-1 fails with the following message, with gcc
> version 2.95.3:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mpreferred-stack-boundary=2 -march=k6 -c -o pci-pc.o pci-pc.c
> {standard input}: Assembler messages:
> {standard input}:776: Warning: indirect lcall without `*'
> {standard input}:860: Warning: indirect lcall without `*'
> {standard input}:946: Warning: indirect lcall without `*'
> {standard input}:986: Warning: indirect lcall without `*'
> {standard input}:1018: Warning: indirect lcall without `*'
> {standard input}:1050: Warning: indirect lcall without `*'
> {standard input}:1081: Warning: indirect lcall without `*'
> {standard input}:1110: Warning: indirect lcall without `*'
> {standard input}:1139: Warning: indirect lcall without `*'
> {standard input}:1445: Warning: indirect lcall without `*'
> {standard input}:1552: Warning: indirect lcall without `*'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mpreferred-stack-boundary=2 -march=k6 -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 is not constant
> pci-irq.c:225: (near initialization for `pirq_routers[3].device')
> make[1]: *** [pci-irq.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2

I deleted the line and it compiles and works fine (assuming you don't
actually have that device, even though it wasn't recognized before
and apparently due to missing #defines won't be recognized by pre9-1
either.)

Quick fix, eliminates the error and doesn't remove any functionality.

Len Sorensen

-
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:26 EST