This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
reboot floppy for vmware
With the eCos configuration tool I created a new project, set the platform
to "i386 with vmware" with the redboot package, then import the
redboot_FLOPPY.ecm file, save the project and try to build the project. All
this with the latest cvs checkout of the repository.
There are the warnings and finally the error I get:
make[1]: Entering directory
`/ecos-c/ados/redboot_latest_build/redboot/current'
i386-elf-gcc -c -I/ecos-c/ados/redboot_latest_install/include -I/ecos-c/ecos_latest/ecos/packages/redboot/current
-I/ecos-c/ecos_latest/ecos/packages/redboot/current/src -I/ecos-c/ecos_latest/ecos/packages/redboot/current/tests
-I. -finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -o /ecos-c/ados/redboot_latest_install/lib/version.o
/ecos-c/ecos_latest/ecos/packages/redboot/current/src/version.c
cc1: warning: command line option "-Woverloaded-virtual" is valid for
C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but
not for C
i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static -L/ecos-c/ados/redboot_latest_install/lib
-Ttarget.ld -o /ecos-c/ados/redboot_latest_install/bin/redboot.elf
/ecos-c/ados/redboot_latest_install/lib/version.o
make[1]: Leaving directory
`/ecos-c/ados/redboot_latest_build/redboot/current'
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_except.o)(.text.cyg_hal_deliver_exception+0x0):
In function `_GLOBAL__I.12000__Z26cyg_null_exception_handlerjij':
make: Leaving directory `/ecos-c/ados/redboot_latest_build'
/ecos-c/ecos_latest/ecos/packages/kernel/current/src/common/except.cxx:260:
multiple definition of `cyg_hal_deliver_exception'
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o)(.text.cyg_hal_deliver_exception+0x0):/ecos-c/ecos_latest/ecos/packages/hal/common/current/src/drv_api.c:936:
first defined here
/tools/H-i686-pc-cygwin/lib/gcc/i386-elf/3.4.1/../../../../i386-elf/bin/ld:
Warning: size of symbol `cyg_hal_deliver_exception' changed from 5 in
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o) to
28 in /ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_except.o)
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_intr.o)(.text.cyg_interrupt_call_pending_DSRs+0x0):
In function `_GLOBAL__D.12000__ZN13Cyg_Interrupt15disable_counterE':
/ecos-c/ecos_latest/ecos/packages/kernel/current/src/intr/intr.cxx:735:
multiple definition of `cyg_interrupt_call_pending_DSRs'
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o)(.text.cyg_interrupt_call_pending_DSRs+0x0):/ecos-c/ecos_latest/ecos/packages/hal/common/current/src/drv_api.c:936:
first defined here
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_intr.o)(.text.cyg_interrupt_post_dsr+0x0):
In function `_GLOBAL__D.12000__ZN13Cyg_Interrupt15disable_counterE':
/ecos-c/ecos_latest/ecos/packages/kernel/current/src/intr/intr.cxx:735:
multiple definition of `cyg_interrupt_post_dsr'
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o)(.text.cyg_interrupt_post_dsr+0x0):/ecos-c/ecos_latest/ecos/packages/hal/common/current/src/drv_api.c:936:
first defined here
/tools/H-i686-pc-cygwin/lib/gcc/i386-elf/3.4.1/../../../../i386-elf/bin/ld:
Warning: size of symbol `cyg_interrupt_post_dsr' changed from 12 in
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o) to
9 in /ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_intr.o)
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_intr.o)(.text.interrupt_end+0x0):
In function `_GLOBAL__D.12000__ZN13Cyg_Interrupt15disable_counterE':
/ecos-c/ecos_latest/ecos/packages/kernel/current/src/intr/intr.cxx:735:
multiple definition of `interrupt_end'
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o)(.text.interrupt_end+0x0):/ecos-c/ecos_latest/ecos/packages/hal/common/current/src/drv_api.c:936:
first defined here
/tools/H-i686-pc-cygwin/lib/gcc/i386-elf/3.4.1/../../../../i386-elf/bin/ld:
Warning: size of symbol `interrupt_end' changed from 42 in
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o) to
83 in /ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_intr.o)
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(kernel_sched.o)(.data.cyg_scheduler_sched_lock+0x0):
In function `_GLOBAL__D.11000_cyg_scheduler_sched_lock':
/ecos-c/ecos_latest/ecos/packages/kernel/current/src/sched/sched.cxx:738:
multiple definition of `cyg_scheduler_sched_lock'
/ecos-c/ados/redboot_latest_install/lib/libtarget.a(hal_common_drv_api.o)(.bss.cyg_scheduler_sched_lock+0x0):/ecos-c/ecos_latest/ecos/packages/hal/common/current/src/drv_api.c:936:
first defined here
/tools/H-i686-pc-cygwin/lib/gcc/i386-elf/3.4.1/../../../../i386-elf/bin/ld:
cannot find libsupc++.a
collect2: ld returned 1 exit status
make[1]: *** [/ecos-c/ados/redboot_latest_install/bin/redboot.elf] Error 1
make: *** [build] Error 2
Any idea's what I have to modify ?
Thx,
Wim
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss