This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

need a clue to build my linux kernel


hi,all,
I am a newer.
when i build the linux kernel with my cross toolchain,there was a error near finish like this:

/mycrosstools/armtools/bin/arm-linux-ld -p -X -T arch/arm/vmlinux.lds arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/mach-s3c2410/s3c2410.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/serial/serial.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o drivers/mtd/mtdlink.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
        net/network.o \
        arch/arm/nwfpe/math-emu.o arch/arm/lib/lib.a /usr/src/linux/usr/src/kernel/lib/lib.a \
        --end-group \
        -o vmlinux
arch/arm/mach-s3c2410/s3c2410.o(__ksymtab+0xb8): undefined reference to `local symbols in discarded
section .text.exit\'
make: *** [vmlinux] Error 1


there is no error like this when build with other cross toolchain,what's wrong with my toolchain?
I just need a clue!
thanks

my cross toolchain use:
binutils-2.14
gcc-core-2.95.3
glibc-2.2.4
glibc-linuxthreads-2.2.4

linux version is 2.4.18
        Jason Chen
        weitway@sjtu.edu.cn
          2004-09-02



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]