Compiling Kernel 2.0.29 (error).

Compiling Kernel 2.0.29 (error).

Post by Nick Cart » Mon, 17 Feb 1997 04:00:00



I am trying to compile the kernel 2.0.29 (zImage).  For some reasons it seem
to *out when trying to build the compressed kernel image.  I am using
gcc-2.7.0, binutils-2.7.0.3 (I upgraded to 2.7.0.3 thinking it would help).

Can someone help me out ?  I got the error output below.

Thanks in advance,

make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
ld -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o
init/version.o \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/cdrom/cdrom.a \
        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a -o vmlinux
ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
./xtract /usr/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
misc.o: In function `fill_inbuf':
misc.o(.text+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [zImage] Error 2
Angel:/usr/src/linux# exit
Script done on Sun Feb 16 15:24:22 1997

 
 
 

Compiling Kernel 2.0.29 (error).

Post by Anthony J. Biac » Tue, 18 Feb 1997 04:00:00


Doesn't the new binutils require gcc 2.7.2 and a libc above 5.4.7 ?
That could be the reason. *shrug*

-Cygnus

:
: I am trying to compile the kernel 2.0.29 (zImage).  For some reasons it seem
: to *out when trying to build the compressed kernel image.  I am using
: gcc-2.7.0, binutils-2.7.0.3 (I upgraded to 2.7.0.3 thinking it would help).
:
: Can someone help me out ?  I got the error output below.
:
: Thanks in advance,
:
: make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
: make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
: ld -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o
: init/version.o \
:       arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
: mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
:       fs/filesystems.a \
:       drivers/block/block.a drivers/char/char.a drivers/net/net.a
: drivers/cdrom/cdrom.a \
:       /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
: /usr/src/linux/arch/i386/lib/lib.a -o vmlinux
: ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
: nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
: make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
: make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
: ./xtract /usr/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
: Non-GCC header of 'system'
: Compressed size 20.
: ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
: ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
: misc.o: In function `fill_inbuf':
: misc.o(.text+0x1ebc): undefined reference to `input_data'
: misc.o(.text+0x1ec1): undefined reference to `input_len'
: misc.o(.text+0x1ed7): undefined reference to `input_data'
: make[2]: *** [vmlinux] Error 1
: make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
: make[1]: *** [compressed/vmlinux] Error 2
: make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
: make: *** [zImage] Error 2
: Angel:/usr/src/linux# exit
: Script done on Sun Feb 16 15:24:22 1997
:

--
-----------------------------------------------------------------------------
Anthony J. Biacco
System Programmer/PC Technician       "It's better to burn out,
                                          than to fade away"   -Kurt Cobain



http://www.veryComputer.com/~cygnus/cygnus.html
-----------------------------------------------------------------------------

 
 
 

1. Compiling Kernel 2.0.29 - error

I have tried to compile Kernel 2.0.29.
The configuration step, the 'make dep' and the 'make clean' worked
well, but when I tried to compile ('make zImage') it says:

cc1 : Invalid option 'align -loops=2'
cc1 : Invalid option 'align -jumps=2'
cc1 : Invalid option 'align -functions=1'
make: *** [ init / main.o] Error 1

The Kernel documentation and the Kernel-HOWTO doesn't explain the
error message.
I also tried to change the configuration, but it didn't work.
I don't have a clue. What could it be?
Thanxs .

<<<<<<<<<<<<   Paulo Trezentos  >>>>>>>>>>>>>>>>>

URL: http://www.students.iscte.pt/~a12593/
    ISCTE - ' In Hoc Signo Vinces '

2. Odd Problem with PPP Connection

3. error while booting after kernel [2.0.29] compiled

4. Compiling KDE in CVS

5. symbols from kernel 2.0.29 don't match 2.0.29?!?!?

6. installing tcsh

7. 2.0.29 modules cannot be loaded by 2.0.29 kernel??????

8. Best way to backup

9. compiling Linux kernel 2.0.29

10. Not able to run X on a newly compiled 2.0.29 kernel

11. Error compile glibc-2.3.2 link nptl-0.29

12. Kernel 2.0.29 & Proaudio 16 card wont compile

13. 2.0.29 Kernel: [misc.o] Error 1