On 02/25/2017 07:56 AM, Bradley Conn (RIT Student) wrote: > Hello, > > I am trying to add Gnu Radio as a static library to a Xilinx SDSoC > project. SDSoC uses a special compiler and linker which is based off of > gcc 4.9. The issue is when it goes to link there are a bunch of errors > like this > / > / > /undefined reference to `std::__cxx11:: /.../ > / > / > / > because when I cross compiled GnuRadio it used gcc 5.2 which includes > the __cxx11 namespace to be more compatible with the c++ 11 standard. I > was wondering if there was a way to compile the library (and its > dependencies) with gcc 4.9. Or possibly some other workaround anyone > knew about?
Possible work around: 1) build the gcc 4.9 cross compiler from source on your machine - see http://wiki.osdev.org/Building_GCC 2) use a VM and install Debian Jessie 8 which uses gcc-4.9. I presume you're using Ubuntu - which is a fork of Debian - and very similar to Ubuntu. > > When I compiled I used the openembedded environments provided here. > http://gnuradio.org/data/sdk/ When I went to this URL it indicated there were no matching records found. > > Thank you! > > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
