Hi Magnus and others,
I am unable to build loader as per the directions provided by randyc in
posting.php?mode=quote&f=29&p=1074. I am getting "could not find -lc" error.
Can you tell which might cause this problem? LTIB, that i am using is linux-2.6.22.6 (as suggested by magnus, in "yet another linux thread" forum
linux-xfm5:/home/sr/linux_new/bootloader/bootloader # vi Makefile
linux-xfm5:/home/sr/linux_new/bootloader/bootloader # make
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -c bootloaderstg2.c -I./include
bootloaderstg2.c: In function 'setup_tags':
bootloaderstg2.c:223: warning: passing argument 1 of 'setup_core_tag' makes pointer from integer without a cast
bootloaderstg2.c: In function 'main':
bootloaderstg2.c:250: warning: assignment makes pointer from integer without a cast
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld -o loader bootloaderstg2.o -static -T config.lds -lc -L /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueab/lib
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld: cannot find -lc
make: *** [loader] Error 1
- Srini[/quote]
Hi,
I could resolve this issue. For the benefit of others, I could resolve this by following the lib path mentioned in the following thread
viewtopic.php?f=29&t=1445
Thanks everyone
Srini