|
From: | Weigel, Sebastian |
Subject: | [Discuss-gnuradio] Linker error |
Date: | Wed, 10 Jul 2013 15:30:55 +0000 |
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: 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 |
cmake_gnuradio_message.txt
Description: cmake_gnuradio_message.txt
[Prev in Thread] | Current Thread | [Next in Thread] |