jameswalmsley / bitthunder

BitThunder - Reliable, real time, portable, scalable, embedded operating system, RTOS.
http://bitthunder.org
Other
168 stars 48 forks source link

Make Issue about multiple derifition #39

Closed KeunwooPark closed 8 years ago

KeunwooPark commented 9 years ago

I followed 'quick start' in bitthunder page.(bitthunder.org) But I got errors like below.

some_directory/bitthunder/build/arch/arm/common/crtinit.o: In function `_start':
(.text+0x10): multiple definition of `_start'
/usr/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/crt0.o:(.text+0x0): first defined here
/usr/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/crt0.o: In function `_start':
(.text+0x104): undefined reference to `__bss_start__'
/usr/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/crt0.o: In function `_start':
(.text+0x108): undefined reference to `__bss_end__'
/usr/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
/usr/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0x18): undefined reference to `_sbrk'
collect2: error: ld returned 1 exit status
make: *** [/home/keunwoo/Documents/warehouse404/bitthunder/vmthunder.elf] Error 1

I set the arm-none-eabi path correctly, but got conflict with code of bitthunder. Am I doing something wrong? Please help me out with this problem. Thanks

jameswalmsley commented 9 years ago

Hi,

In case you are still interested in making this work, then please try to follow the updated guide. http://blog.richardweiss.org/2015/06/27/raspberry-pi-bitthunder.html

James