Closed jtkim-lab closed 10 years ago
Hi,
Which compiler are you using? Is it a codesourcery compiler or a ubuntu package? You can also try to use the latest BTDK compiler: https://github.com/bitthunder-toolchain/btdk/releases/download/btdk-0.6.1/btdk-0.6.1-linux-x64.tar.lzma
For which device are you compiling? The Pi?
James
I am compiling for Raspberry Pi on Ubuntu 14.04.
I will try to use BTDK compiler.
Thank you for comment.
It compiled well.
Thank you!
Thats great. I haven't run the code on RPi for a long time, but I might try to connect the debugger and fix any problems this week. Let me know how you get on.
Adding a basic UART driver for the Pi would be useful. But I also need to test the MMU code for ARMv6 also.
Thanks for trying BitThunder out.
James
Hello, I am trying to compile bitthunder.. But I got some error.
I have done the process before "make". After I commanded make, I got this error..
/home/jungtaek/workspace/bitthunder/build/arch/arm/common/crtinit.o: In function
_start': (.text+0x10): multiple definition of
_start' /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/crt0.o:/build/buildd/newlib-2.1.0/build/arm-none-eabi/libgloss/arm/../../../../libgloss/arm/crt0.S:173: first defined here /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/crt0.o: In function_start': (.text+0xf8): undefined reference to
__bss_start__' /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/crt0.o: In function_start': (.text+0xfc): undefined reference to
bss_end' /usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In functionexit': /build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70: undefined reference to
_exit' collect2: error: ld returned 1 exit status make: *\ [/home/jungtaek/workspace/bitthunder/vmthunder.elf] Error 1Can you give some advices? Actually, I am confused because of the above paths such as buildd, newlib-2.1.0 and etc.
Thank you for reading.