This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

[Redboot] rebuild/compile problem


Hello,

I'm trying to rebuild RedBoot for the lubbock platform. But I receive the
following error when I compile the sources:

xscale-elf-gcc -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib
-L/tmp/RedBoot-Intel/src/install/lib -Ttarget.ld -o
/tmp/RedBoot-Intel/src/install/bin/redboot.elf main.o
/tmp/RedBoot-Intel/src/install/lib/extras.o: In function `load_elf_image':
/tmp/RedBoot-Intel/src/packages/redboot/current/src/load.c:64: undefined
reference to `puts'
/tmp/RedBoot-Intel/src/install/lib/extras.o: In function `redboot_getc':
/tmp/RedBoot-Intel/src/packages/redboot/current/src/load.c:226: undefined
reference to `putchar'
/tmp/RedBoot-Intel/src/packages/redboot/current/src/load.c:226: undefined
reference to `puts'
/tmp/RedBoot-Intel/src/install/lib/extras.o: In function `do_load':
/tmp/RedBoot-Intel/src/packages/redboot/current/src/load.c:376: undefined
reference to `puts'
/tmp/RedBoot-Intel/src/packages/redboot/current/src/load.c:337: undefined
reference to
`puts'
/tmp/RedBoot-Intel/src/install/lib/libtarget.a(hal_arm_cotulla_lubbock_lubbock_misc.o): In function
`hal_IRQ_handler':
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:319: undefined reference to
`start_console'
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:319: undefined reference to
`puts'
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:319: undefined reference to
`end_console'
/tmp/RedBoot-Intel/src/install/lib/libtarget.a(hal_arm_cotulla_lubbock_lubbock_misc.o): In function
`hal_interrupt_acknowledge':
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:414: undefined reference to
`start_console'
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:414: undefined reference to
`puts'
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:414: undefined reference to
`end_console'
/tmp/RedBoot-Intel/src/install/lib/libtarget.a(hal_arm_cotulla_lubbock_lubbock_misc.o): In function
`do_MAC_addr_set':
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:563: undefined reference to
`puts'
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:573: undefined reference to
`LAN91C96WriteMacAddrToEeprom'
/tmp/RedBoot-Intel/src/packages/hal/arm/cotulla/lubbock/current/src/lubbock_misc.c:557: undefined reference to `puts'
/tmp/RedBoot-Intel/src/install/lib/libtarget.a(redboot_io.o): In function
`dump_buf_with_offset':
/tmp/RedBoot-Intel/src/packages/redboot/current/src/io.c:284: undefined
reference to `putchar'
/tmp/RedBoot-Intel/src/packages/redboot/current/src/io.c:288: undefined
reference to `putchar'
/tmp/RedBoot-Intel/src/packages/redboot/current/src/io.c:288: undefined
reference to `putchar'
/tmp/RedBoot-Intel/src/install/lib/libtarget.a(redboot_parse.o): In function
`cmd_search':
/tmp/RedBoot-Intel/src/packages/redboot/current/src/parse.c:133: undefined
reference to `putchar'
collect2: ld returned 1 exit status
make[1]: *** [/tmp/RedBoot-Intel/src/install/bin/redboot.elf] Error 1
make[1]: Leaving directory `/tmp/RedBoot-Intel/src/redboot/current'
make: *** [build] Error 2

I found a possible solution in this thread
(http://sources.redhat.com/ml/ecos-discuss/2001-04/msg00225.html) but this is just a workaround. They're
speaking of a patch that might fix the problem. Since the thread is dated April
2001 I was wondering if there's a patch or other solution that fixes this
problem (I couldn't find one). 


Thanks in advandce,

Hurmen

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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