Nils Roos wrote:You need to tell the linker to use the librp.so library with the "-lrp" directive. Additionally, the path to librp.so has to be known to the linker, so either copy or symlink it to one of the standard library search locations or tell the linker to look in another directory with "-L...".
Hi Nils Ros
I want to edit led bar in bode.c but i didnot found rp_DpinSetState and another LED declaration.
its difficult for me to operate it
To have a full set of symbols, you'll need to set these include paths:
<linaro>/arm-linux-gnueabi/include
<linaro>/arm-linux-gnueabi/libc/usr/include
<linaro>/arm-linux-gnueabi/libc/usr/include/arm-linux-gnueabi
<linaro>/lib/gcc/arm-linux-gnueabi/4.6.3/include
<linaro>/lib/gcc/arm-linux-gnueabi/4.6.3/include-fixed
and remove the MinGW reference.
But you don't need to set these manually. If you create a new project and select "Cross GCC" in the "Toolchains:" list, you will be prompted for the "Cross compiler prefix:" and the "Cross compiler path:". Enter "arm-linux-gnueabi-" and the path to linaro's install directory here and eclipse CDT will fill in the correct includes all by itself.