I am currently working on a board (sbc6000x, linux 2.6.24) and would like to make a little application for it.
When i recieved the board, i got a cd with some source and a toolchain ( arm-linux-gcc-3.4.5-glibc-2.3.6-linux ). I installed the toolchain correctly (a little "hello world" script can be compiled to an exec without issue). The board come with a little exec to test the board/lcd display. I was thinking of compiling the source of it, to test the toolchain and be sure that nothing was wrong. So i open my terminal, export the path to the compiler, type "make" but it gives me an error.
Does anyone here work with this kind of device and know a toolchain working ?
Code: Select all
make: Entering directory `/home/spi/Bureau/appsbc' linking ... arm-linux-gcc -L ./lib -lts -lpthread -o appsbc init/main.o driver/key/key.o driver/keypad/keypad.o driver/lcd/lcd.o driver/rtc/rtc.o driver/gpio/gpio.o driver/com/com.o driver/usb/usb.o driver/sd/sd.o driver/eeprom/eeprom.o app/fb/fbutils.o app/font/font_8x16.o app/font/font_8x8.o init/main.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [appsbc] Error 1 make: Leaving directory `/home/spi/Bureau/appsbc' make: *** [all] Error 2 spi@spi-HP-Compaq-dc7800-Convertible-Minitower:~/Bureau/appsbc$