This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Problem with a revived project in building redboot for the SH and being used by the Sega Dreamcast
- From: "Gregg Levine" <gregg dot drwho8 at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 26 Dec 2006 15:29:20 -0500
- Subject: [ECOS] Problem with a revived project in building redboot for the SH and being used by the Sega Dreamcast
Helllo!
To be honest I am quite sure that this has been covered before.
Certainly it is new to me today. I have revived a project concerning
the port of eCos and Redboot to to the Sega DreamCast and encountered
a problem. The reasonably relevant portions of the output are below my
signature lines.
--
Gregg C Levine gregg.drwho8@gmail.com
"This signature was once found posting rude
messages in English in the Moscow subway."
----
<Normal cycle of events for the compilation runs from here down to the
extraction.>
/usr/local/dc/ecos/test2_install/lib/libtarget.a(hal_common_drv_api.o):/usr/local/anoncvs/ecos/packages/hal/common/current/src/drv_api.c:93:
first defined here
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf/bin/ld:
Warning: size of symbol `_cyg_hal_deliver_exception' changed from 10
to 32 in /usr/local/dc/ecos/test2_install/lib/libtarget.a(kernel_except.o)
/usr/local/dc/ecos/test2_install/lib/libtarget.a(kernel_intr.o): In
function `_GLOBAL__D.12000__ZN13Cyg_Interrupt15disable_counterE':
/usr/local/anoncvs/ecos/packages/kernel/current/src/intr/intr.cxx:85:
multiple definition of `_cyg_interrupt_call_pending_DSRs'
/usr/local/dc/ecos/test2_install/lib/libtarget.a(hal_common_drv_api.o)(.text.cyg_interrupt_call_pending_DSRs+0x0):
first defined here
/usr/local/dc/ecos/test2_install/lib/libtarget.a(kernel_intr.o): In
function `_cyg_interrupt_post_dsr':
kernel_intr.o(.text.cyg_interrupt_post_dsr+0x0): multiple definition
of `_cyg_interrupt_post_dsr'
/usr/local/dc/ecos/test2_install/lib/libtarget.a(hal_common_drv_api.o)(.text.cyg_interrupt_post_dsr+0x0):
first defined here
/usr/local/dc/ecos/test2_install/lib/libtarget.a(kernel_intr.o): In
function `_interrupt_end':
kernel_intr.o(.text.interrupt_end+0x0): multiple definition of `_interrupt_end'
/usr/local/dc/ecos/test2_install/lib/libtarget.a(hal_common_drv_api.o)(.text.interrupt_end+0x0):
first defined here
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf/bin/ld:
Warning: size of symbol `_interrupt_end' changed from 72 to 92 in
/usr/local/dc/ecos/test2_install/lib/libtarget.a(kernel_intr.o)
/usr/local/dc/ecos/test2_install/lib/libtarget.a(net_bsd_tcpip_support.o):
In function `show_network_tables':
/usr/local/anoncvs/ecos/packages/net/bsd_tcpip/current/src/ecos/support.c:119:
multiple definition of `___NETDEVTAB__'
/usr/local/dc/ecos/test2_install/lib/extras.o:/usr/local/anoncvs/ecos/packages/devs/eth/rltk/8139/current/src/if_8139.c:292:
first defined here
/usr/local/dc/ecos/test2_install/lib/libtarget.a(net_bsd_tcpip_support.o)(.ecos.table.netdev.finish+0x0):
multiple definition of `___NETDEVTAB_END__'
/usr/local/dc/ecos/test2_install/lib/extras.o:/usr/local/anoncvs/ecos/packages/devs/eth/sh/dreamcast/current/src/if_dreamcast.c:67:
first defined here
/usr/local/dc/ecos/test2_install/lib/libtarget.a(kernel_intr.o): In
function `_GLOBAL__D.12000__ZN13Cyg_Interrupt15disable_counterE':
/usr/local/anoncvs/ecos/packages/kernel/current/src/intr/intr.cxx:98:
undefined reference to `_hal_interrupt_stack_call_pending_DSRs'
/usr/local/dc/ecos/test2_install/lib/libtarget.a(net_bsd_tcpip_timeout.o):
In function `cyg_callout_reset':
/usr/local/anoncvs/ecos/packages/net/bsd_tcpip/current/src/ecos/timeout.c:383:
undefined reference to `_eth_drv_run_deliveries'
/usr/local/anoncvs/ecos/packages/net/bsd_tcpip/current/src/ecos/timeout.c:303:
undefined reference to `_eth_drv_tickle_devices'
collect2: ld returned 1 exit status
make[1]: *** [/usr/local/dc/ecos/test2_install/bin/redboot.elf] Error 1
make: *** [build] Error 2
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss