Re: kenel-2.3.33 fails compile

Richard B. Johnson (root@chaos.analogic.com)
Fri, 17 Dec 1999 17:08:13 -0500 (EST)


On Fri, 17 Dec 1999 lbaker@yesic.com wrote:

> Lately, kernel compile fails with the following message. The
> machine is i586-pc-linux-gnu, gcc-2.95.2 and latest binutils.
>
> Does someone have an idea what the cure is?
>
> init/main.o: In function `init':
> init/main.o(.text+0xb9): undefined reference to `errno'
> init/main.o(.text+0xe6): undefined reference to `errno'
> init/main.o(.text+0xfe): undefined reference to `errno'
> init/main.o(.text+0x125): undefined reference to `errno'
> init/main.o(.text+0x146): undefined reference to `errno'
> init/main.o(.text+0x161): more undefined references to `errno' follow
> make: *** [vmlinux] Error 1
>

Did you do `make config` or `make oldconfig`, then `make dep` ?

For some reason you seem to be using the lib-c headers. There is no
`errno` in the kernel. It looks as though the links normally set
up within the source-tree are not set.

Cheers,
Dick Johnson

Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : The end of the world as we know it requires a new calendar.
Seconds : 1234307 (until Y2K)

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