Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - johnr

Pages: 1 ... 5 6 [7]
NXPTM M522XX, KINETIS and i.MX RT / codeSourcery 4.2-23 compile error
« on: August 24, 2007, 09:31:23 PM »
Hi, I just started using uTasker and downloaded SP4 and the latest loader script
and I'm trying to  compile it with codeSourcery 4.2-23 and get the followng error:

cs-make -k all
m68k-elf-gcc -mcpu=52235 -Wall -Wstrict-prototypes  -D _GNU -D _M5223X -g -c -Os ..\..\..\Hardware\M5223X\Startup_gnu.s -o Build\Startup_gnu.o
m68k-elf-gcc -mcpu=52235 -nostartfiles -Wall -Wstrict-prototypes -I..\..\uTaskerV1.3 -D _GNU -D _M5223X -g -Os -Wl, -Tm52235evb-rom.ld -o uTaskerV1.3.elf Build\application.o Build\debug.o Build\webInterface.o Build\KeyScan.o Build\LCD.o Build\NetworkIndicator.o Build\Startup_gnu.o Build\M5223X.o Build\eth_drv.o Build\Driver.o Build\uMalloc.o Build\uTasker.o Build\Tty_drv.o Build\uFile.o Build\watchdog.o Build\GlobalTimer.o Build\low_power.o Build\Ethernet.o Build\arp.o Build\dhcp.o Build\dns.o Build\ftp.o Build\http.o Build\icmp.o Build\ip_utils.o Build\ip.o Build\pop3.o Build\smtp.o Build\tcp.o Build\telnet.o Build\tftp.o Build\udp.o Build\webutils.o
c:/program files/codesourcery/sourcery g++/bin/../lib/gcc/m68k-elf/4.2.0/../../../../m68k-elf/lib/m5208\libcf.a(cf-crt1.o): In function `__start1':
cf-crt1.c:(.text+0x9a): undefined reference to `_init'
cf-crt1.c:(.text+0xa0): undefined reference to `_fini'
c:/program files/codesourcery/sourcery g++/bin/../lib/gcc/m68k-elf/4.2.0/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fini.o): In function `__libc_fini_array':
fini.c:(.text+0x42): undefined reference to `_fini'
collect2: ld returned 1 exit status
cs-make: *** [uTaskerV1.3.elf] Error 1
cs-make: Target `all' not remade because of errors.

 I was able to compile the Cambridge Imaging example hello world project with no problem. The updated loader script did clear up the _region array reference error in cf-crt1.c

 Thanks for any ideas,

Pages: 1 ... 5 6 [7]