On 07/10/2013 11:30 AM, Weigel, Sebastian wrote: > Hi GNURadio-Community, > > I tried to install GNU-Radio 3.7 on Ubuntu 13.04. After getting all the > dependencies with the instructions from > http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall "cmake" > worked, > but when I tried "make" I got an error message: >
You cant be the only one who has compiled 3.7 w/ 13.04. Anyone else have success w/ 13.04. Unfortunately I have not upgraded my system yet :-) If 13.04 gcc is really going to complain like this: recompile with -fPIC , then FWIW, the CMakeLists.txt could look like this to fix the issue: https://github.com/guruofquality/Theron/blob/master/TheronSetup.cmake#L40 -josh > Scanning dependencies of target _pmt_swig > [ 12%] Building CXX object > gnuradio-runtime/swig/CMakeFiles/_pmt_swig.dir/pmt_swigPYTHON_wrap.cxx.o > /home/gs/code/gnuradio-3.7.0/gnuradio-runtime/swig/pmt_swigPYTHON_wrap.cxx: > In function 'void SWIG_InitializeModule(void*)': > /home/gs/code/gnuradio-3.7.0/gnuradio-runtime/swig/pmt_swigPYTHON_wrap.cxx:41174:21: > warning: statement has no effect [-Wunused-value] > Linking CXX shared module _pmt_swig.so > /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation > R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a > shared object; recompile with -fPIC > /usr/local/lib/libpython2.7.a: could not read symbols: Bad value > collect2: error: ld returned 1 exit status > make[2]: *** [gnuradio-runtime/swig/_pmt_swig.so] Error 1 > make[1]: *** [gnuradio-runtime/swig/CMakeFiles/_pmt_swig.dir/all] Error 2 > make: *** [all] Error 2 > > I attached the cmake-messages as a .txt-file. Do you know what is the reason > for the error and how it can be solved? > > Thank you very much for your help! > > Cheers, > Sebastian > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio