This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Build error while building Redboot.bin.
- To: ecos-discuss at sources dot redhat dot com <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Build error while building Redboot.bin.
- From: "Sateesh Soman" <sateesh_soman at rediffmail dot com>
- Date: 29 Jun 2001 00:14:11 -0000
- CC: jlarmour at redhat dot com <jlarmour at redhat dot com>
Hi,
I have built the 'default' template for i386 and when I proceed to build it for redboot, I am stuck with the following error.
Could you please tell me a workaround?
Sateesh.
<<Everything was fine till here...snap..>>
i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static -L//H/ecos/x86/x86_install/lib -Ttarget.ld -o //H/ecos/x86/x86_install/bin/redboot.elf //H/ecos/x86/x86_install/lib/version.o
//H/ecos/x86/x86_install/lib/libtarget.a(kernel_except.o): In function `global constructors keyed to 12000.cyg_null_exception_handler(unsigned int, int, unsigned int)':
//H/ecos/packages/kernel/current/src/common/except.cxx:250: multiple definition of `cyg_hal_deliver_exception'
//H/ecos/x86/x86_install/lib/libtarget.a(hal_common_drv_api.o)://H/ecos/packages/hal/common/current/src/drv_api.c:720: first defined here
/tools/H-i686-pc-cygwin/i386-elf/bin/ld: Warning: size of symbol
`cyg_hal_deliver_exception' changed from 5 to 28 in kernel_except.o
//H/ecos/x86/x86_install/lib/libtarget.a(kernel_intr.o): In function `Cyg_Interrupt::configure_interrupt(unsigned int, int, int)':
//H/ecos/packages/kernel/current/src/intr/intr.cxx:659: multiple definition of `cyg_interrupt_call_pending_DSRs'
//H/ecos/x86/x86_install/lib/libtarget.a(hal_common_drv_api.o)://H/ecos/packages/hal/common/current/src/drv_api.c:720: first defined here
//H/ecos/x86/x86_install/lib/libtarget.a(kernel_intr.o
): In function `Cyg_Interrupt::configure_interrupt(unsigned int, int, int)':
//H/ecos/packages/kernel/current/src/intr/intr.cxx:659: multiple definition of `interrupt_end'
//H/ecos/x86/x86_install/lib/libtarget.a(hal_common_drv_api.o)://H/ecos/packages/hal/common/current/src/drv_api.c:720: first defined here
/tools/H-i686-pc-cygwin/i386-elf/bin/ld: Warning: size of symbol `interrupt_end' changed from 48 to 83 in kernel_intr.o
collect2: ld returned 1 exit status
make[1]: Leaving directory `/h/ecos/x86/x86_build/redboot/current'
make[1]: *** [//H/ecos/x86/x86_install/bin/redboot.elf] Error 1
make: Leaving directory `/h/ecos/x86/x86_build'
make: *** [build] Error 2
____________________________________________________
Buy Feng Shui Package for Rs. 151/- only, at http://shopping.rediff.com/shopping/fengshui_mailer.htm