Hello, 

I compiled gd for the foxboard,
then I tried to compile a c programm,
where I am simply including some gd headerfiles,
nothing else is done in that programm.

But I don't know what to do with that error message,
can anyone give me a hint, what might be wrong here?


gcc-cris  -isystem
/home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/include
-mlinux -mno-mul-bug-workaround 
-L/home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/lib
-Wl,-rpath-link,/home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/lib
 test.o testbtbd   -o test
testbtbd: In function `_init':
/home/cii/DIST/tools/cris-dist/junk/install-cris-tools.5961/glibc/csu/crti.S:32:
multiple definition of `_init'
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crti.o:/home/cii/DIST/tools/cris-dist/junk/install-cris-tools.5961/glibc/csu/crti.S:13:
first defined here
testbtbd: In function `_start':
testbtbd(.text+0x0): multiple definition of `_start'
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crt1.o(.text+0x0):
first defined here
testbtbd: In function `main':
/home/bnielsen/workspace/btbutler/test.c:14: multiple definition of `main'
test.o:/home/bnielsen/workspace/btbutler/test.c:14: first defined here
testbtbd: In function `_fini':
/home/cii/DIST/tools/cris-dist/junk/install-cris-tools.5961/glibc/csu/crti.S:52:
multiple definition of `_fini'
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crti.o:/home/cii/DIST/tools/cris-dist/junk/install-cris-tools.5961/glibc/csu/crti.S:13:
first defined here
testbtbd(*ABS*+0x84678): multiple definition of `_GLOBAL_OFFSET_TABLE_'
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crti.o:/home/cii/DIST/tools/cris-dist/junk/install-cris-tools.5961/glibc/csu/crti.S:13:
first defined here
testbtbd(.rodata+0x0): multiple definition of `_IO_stdin_used'
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crt1.o(.rodata+0x0):
first defined here
testbtbd: In function `__data_start':
testbtbd(.data+0x0): multiple definition of `__data_start'
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crt1.o(.data+0x0):
first defined here
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-axis-linux-gnu/lib/crti.o:/home/cii/DIST/tools/cris-dist/junk/install-cris-tools.5961/glibc/csu/crti.S:13:
multiple definition of `_DYNAMIC'
collect2: ld returned 1 exit status
make: *** [test] Fehler 1


Reply via email to