Hi,
I write a simple C program with arm-linux-gnueabihf-gcc. This is done as the descriptions from sitara-linuxsdk-sdg-06.00.00.00.pdf. The build process succeeds.
Now, I want to write C code calling NE10 library (which has been compiled as: libNE10.a) function. The library option is set as below.
but, the linker has the error:
Building target: GNU_hello0
Invoking: Cross GCC Linker
arm-linux-gnueabihf-gcc -L/home/robert/projectNe10-Ne10-4167142/build/modules -o "GNU_hello0" ./NE10_example0.o -llibNE10.a
/home/robert/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -llibNE10.a
collect2: error: ld returned 1 exit status
make: *** [GNU_hello0] Error 1
It seems that the linker looks for -llibNE10.a lib. I don't know how to solve this.
Thanks,