How to compile blinker under linux? - General Discussion and Assistance - CHDK Forum

How to compile blinker under linux?

  • 0 Replies
  • 2552 Views
How to compile blinker under linux?
« on: 25 / March / 2008, 07:21:30 »
Advertisements
Hi. I tried to compile blinker, but without any success.

First I run ./Make in blinker/fw directory, it gives error:
Code: [Select]
root@gusty-laptop:/home/gusty/Desktop/blinker/fw# ./Make
arm-elf-gcc: lib/crc16.o: No such file or directory
arm-elf-objcopy: 'main.exec': No such file
arm-elf-objdump: 'main.exec': No such file

Then I try to compile lib/crc16.c file (cd lib && arm-elf-gcc crc16.c):
Code: [Select]
/root/arm-elf/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

*Actualy that compiler complained that crt0.o file is not found. I downloaded it from http://www.devrs.com/gp32/files/gcc/libs/crt0.o and put it in /root/arm-elf/lib/gcc/arm-elf/4.1.2/ directory.
**My arm-elf root directory is /root/arm-elf

What am I doing wrong?
Thanks for any help.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal