Hello Francisco,
did you do a "make clean" after you configured the toolchain to use uclibc instead of eglibc? If not, do it now and start-over. If that still does not work start with a fresh copy of OpenWrt.
Kind regards, Johannes
Am 31.03.2014 16:20, schrieb Francisco Cuesta:
Hi Johannnes,
I changed the toolchain to the uclibc one, but now I cannot crosscompile the ibrdtn tools as can be seen below, I need to add something more ?
Regards and thanks again
make[1]: Leaving directory `/home/t/ibrdtnOpenWRT_rPi/ibrdtn/ibrdtn-tools-0.10.2' t@t-VirtualBox:~/ibrdtnOpenWRT_rPi/ibrdtn/ibrdtn-tools-0.10.2$ make Making all in src make[1]: Entering directory `/home/t/ibrdtnOpenWRT_rPi/ibrdtn/ibrdtn-tools-0.10.2/src' make all-am make[2]: Entering directory `/home/t/ibrdtnOpenWRT_rPi/ibrdtn/ibrdtn-tools-0.10.2/src' CXX dtnping.o CXXLD dtnping /home/t/openwrt/attitude_adjustment_rPi/staging_dir/toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.6.3/../../../../arm-openwrt-linux-uclibcgnueabi/bin/ld: /home/t/openwrt/attitude_adjustment_rPi/staging_dir/toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.6.3/../../../../arm-openwrt-linux-uclibcgnueabi/lib/librt.so: undefined reference to symbol 'pthread_cancel' /home/t/openwrt/attitude_adjustment_rPi/staging_dir/toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.6.3/../../../../arm-openwrt-linux-uclibcgnueabi/bin/ld: note: 'pthread_cancel' is defined in DSO /home/t/openwrt/attitude_adjustment_rPi/staging_dir/toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/arm-openwrt-linux-uclibcgnueabi/bin/../../../toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libpthread.so.0 so try adding it to the linker command line /home/t/openwrt/attitude_adjustment_rPi/staging_dir/toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/arm-openwrt-linux-uclibcgnueabi/bin/../../../toolchain-arm_v6_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [dtnping] Error 1 make[2]: Leaving directory `/home/t/ibrdtnOpenWRT_rPi/ibrdtn/ibrdtn-tools-0.10.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/t/ibrdtnOpenWRT_rPi/ibrdtn/ibrdtn-tools-0.10.2/src' make: *** [all-recursive] Error 1