Problems with 5282evb
Tien Truong
pixievn at gmail.com
Wed Jan 17 10:43:05 UTC 2007
Hi All,
I'm using the Sourcery G++ 4.1-32 for ColdFire Released to implement the eembc benchmark running on 5282evb board.
But I got an issue below when linking. Do I need to re-build the libraries? and the linker command file that I used is not correct?
Could you please give me some instructions?
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/thal.o ../th/gnucoldfire/al/thal.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/anytoi.o ../th/src/anytoi.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/crc.o ../th/src/crc.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/heap.o ../th/src/heap.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/memmgr.o ../th/src/memmgr.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/printfe.o ../th/src/printfe.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/ssubs.o ../th/src/ssubs.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/therror.o ../th/src/therror.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/thfl.o ../th/src/thfl.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/thlib.o ../th/src/thlib.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -o gnucol
dfire/obj/uuencode.o ../th/src/uuencode.c
m68k-elf-ar scr gnucoldfire/obj/thobjs.a gnucoldfire/obj/thal.o gnucoldfire/obj
/anytoi.o gnucoldfire/obj/crc.o gnucoldfire/obj/heap.o gnucoldfire/obj/memmgr.o
gnucoldfire/obj/printfe.o gnucoldfire/obj/ssubs.o gnucoldfire/obj/therror.o gnuc
oldfire/obj/thfl.o gnucoldfire/obj/thlib.o gnucoldfire/obj/uuencode.o
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -Ittsprk0
1 -DITERATIONS=1 -I. -I../th/gnucoldfire/al -I../th/src -o gnucoldfire/obj/ttsp
rk01/algotst.o ttsprk01/algotst.c
m68k-elf-gcc -c -mcpu=5282 -I. -I../th/gnucoldfire/al -I../th/src -Ittsprk0
1 -DITERATIONS=1 -I. -I../th/gnucoldfire/al -I../th/src -o gnucoldfire/obj/ttsp
rk01/bmark.o ttsprk01/bmark.c
m68k-elf-gcc -mcpu=5282 -T"C:\cvs_test\validation_suites\Benchmarks\eembc_1_1\to
plevel\th\gnucoldfire\al\m5282evb-ram-hosted.ld" -g -o gnucoldfire/bin/ttsprk0
1.elf gnucoldfire/obj/ttsprk01/algotst.o gnucoldfire/obj/ttsprk01/bmark.o gnuco
ldfire/obj/thobjs.a
c:/program files/codesourcery/sourcery g++/bin/../lib/gcc/m68k-elf/4.1.1/../../.
./../m68k-elf/lib/m5208\libcf.a(cf-crt1.o): In function `__start1':
cf-crt1.c:(.text+0xaa): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [gnucoldfire/bin/ttsprk01.elf] Error 1
Thanks,
Tien Truong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070117/4568afb7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m5282evb-ram-hosted.ld
Type: application/octet-stream
Size: 2732 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070117/4568afb7/attachment.obj>
More information about the coldfire-gnu-discuss
mailing list