Hi, while building GNU radio on beagleboard , i encountered libstdc++ error, At first it was Cannot find libstdc++.so in /lib/ i copied libstdc++.so from /usr/lib/ to lib/ but the file was 0 bytes. I didnt see this error again but then after doing make i got following error:
*****Error Log ************************************************************** libtool: link: ( cd ".libs" && rm -f "libgnuradio-core-qa.la" && ln -s "../libgnuradio-core-qa.la" "libgnuradio-core-qa.la" ) g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include - I/home/root/gnuradio/gnuradio-core/src/lib/runtime - I/home/root/gnuradio/gnuradio-core/src/lib/general c mv -f .deps/gnuradio-config-info.Tpo .deps/gnuradio-config-info.Po /bin/sh ../../../libtool --tag=CXX --mode=link g++ -Wall -Woverloaded-virtual -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -pthread -o libtool: link: g++ -Wall -Woverloaded-virtual -march=armv7-a -mtune=cortex-a8 - mfpu=neon -mfloat-abi=softfp -pthread -o .libs/gnuradio-config-info gnuradio-b /usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../crt1.o: In function `_start': init.c:(.text+0x2c): undefined reference to `__libc_csu_fini' init.c:(.text+0x34): undefined reference to `__libc_csu_init' ./.libs/libgnuradio-core.so: undefined reference to `fstat' ./.libs/libgnuradio-core.so: undefined reference to `stat' collect2: ld returned 1 exit status make[5]: *** [gnuradio-config-info] Error 1 make[5]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/lib' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/root/gnuradio/gnuradio-core/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/root/gnuradio/gnuradio-core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/root/gnuradio' make: *** [all] Error 2 ******************************************************************************* doing rm /usr/lib/*.la solved the above error. Then i encountered another error: *****Error Log **************************************************************** Making all in io make[5]: Entering directory `/home/root/gnuradio/gnuradio-core/src/lib/io' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/lib/io' Making all in hier make[5]: Entering directory `/home/root/gnuradio/gnuradio-core/src/lib/hier' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/lib/hier' Making all in . make[5]: Entering directory `/home/root/gnuradio/gnuradio-core/src/lib' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -Wall -Woverloaded-virtual -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -pthread -o libtool: link: cannot find the library `/usr/lib/libstdc++.la' or unhandled argument `/usr/lib/libstdc++.la' make[5]: *** [gnuradio-config-info] Error 1 make[5]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/lib' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/root/gnuradio/gnuradio-core/src/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/root/gnuradio/gnuradio-core/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/root/gnuradio/gnuradio-core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/root/gnuradio' make: *** [all] Error 2 ******************************************************************************* I checked if libtool was present , it was up to date. r...@beagleboard:~/gnuradio# opkg install libtool Package libtool (2.2.6b-r25.0.5) installed in root is up to date. Steps i followed while building GNU radio: 1. Installed prerequisites: opkg install libusb1-dev guile-dev fftwf-dev alsa-dev alsa-lib-dev jack-dev cppunit-dev swig python-devel python-numpy-dev python-textutils python-distutils python-re python-stringold python-lang python-threading python-unittest python-shell python-pickle python-pprint python-compiler python-pkgutil python-pydoc python-mmap python-netclient python-difflib python-compile python-cheetah boost-dev gsl-dev sdcc git util-linux-ng util-linux- ng- swaponoff 2. did ./bootstrap 3. then ./configure --disable-usrp2 --with-fusb-tech=libusb1 CFLAGS="- march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp" CXXFLAGS="- march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp" Here i got a output: The following components were skipped because you asked not to build them or they didn't pass configuration tests usrp2 gr-usrp2 gr-utils grc and the audio osx and windows packages .. I went over the config.log file it said didnt build gr-wxgui because it cannot find wxpython, then it didnt build grc because of gr-wxgui and xdg-mime. Is it possible to build grc on beagleboard? 4. Make gave me the above listed errors. I am stuck at this point and not able to go ahead. Plz help. Thanks in advance. sorry that was a long post but will make it shorter and in chunks. Charles R.
