Re: kernel won't compile - Help!

Shinma Lemures (lemures@csulb.edu)
Wed, 02 Sep 1998 19:46:12 -0700


At 08:52 09/02/98 -0700, you wrote:
>Well, this is what the beginning of the kernel compile looks like on MY
>computer. First you do 'make menuconfig' (make xconfig is somewhat
>broken right now, I think) and 'make dep'. The you do this:
>
>telomere:/usr/src/linux> make bzImage modules
>gcc -D__KERNEL__ -I/usr/src/linux-2.1.120-3/include -Wall
>-Wstrict-prototypes -O32 -fomit-frame-pointer -pipe -mpentiumpro
>-DCPU=686 -c -o init/main.o init/main.c
>gcc -D__KERNEL__ -I/usr/src/linux-2.1.120-3/include -Wall
>-Wstrict-prototypes -O32 -fomit-frame-pointer -pipe -mpentiumpro
>-DCPU=686 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
>...etc, etc.....
>
>Usually compiling a kernel is quite simple. The problem is that your
>compiler is broken. Can you give me the output of the following
>commands?
> 'ld -v'
> 'gcc -v'
>
>BTW, are you running a Slackware system? Red Hat? Debian? Did you
>attempt to recompile the compiler yourself? (and forget to do 'make
>install'? ;)
>
>Don't worry, this shouldn't be difficult.

Since someone asked again I did say yes to the ELF thing. I am using
slackware.

ld -v says:
GNU ld version 2.8.2 (with BFD 2.8.1.0.23)

gcc -v says:
Reading specs from
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29/specs
gcc version
egcs-2.90.29 980515 (egcs-1.0.3 release)

I don't think I tried to recompile the compiler since I have no idea what
the command would be to accomplish that.

--
Shinma Lemures
FYI call me Lemures
http://www.csulb.edu/~lemures/
sorta open

- 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.altern.org/andrebalsa/doc/lkml-faq.html