On 02/08/2013 04:18 AM, Ralph A. Schmid, dk5ras wrote: > Hi, > > I got the error by installing the latest release, should be 3.6.3, although > in the output sometimes the 3.6.4 repository was mentioned. And as I have > told there already is a partial install of 3.4.2 that is necessary for the > openbts package. So I just may remove this and install the newer version
I think this partial install is just the usrp component, not gnuradio runtime or anything. However, If thats not the case, you might want to uninstall/move the installed headers temporarily just in case to confirm if thats causing the issue or not. -josh > Ralph. > >> -----Original Message----- >> From: discuss-gnuradio-bounces+ralph=schmid....@gnu.org >> [mailto:discuss-gnuradio-bounces+ralph=schmid....@gnu.org] On Behalf Of >> Josh Blum >> Sent: Friday, February 08, 2013 9:49 AM >> To: discuss-gnuradio@gnu.org >> Subject: Re: [Discuss-gnuradio] Build fails >> >> >> >> On 02/08/2013 02:08 AM, Ralph A. Schmid, dk5ras wrote: >>> Hi, >>> >>> On a relatively fresh installed Kubuntu 12.04 LTS 32bit x86 with all >>> updates the build of gnuradio fails. I am using the build script, but >>> also the manual build fails in a similar way. Already installed on the >>> machine is a partial gnuradio 3.4.2 for OpenBTS support, together with >>> USRP1 drivers, yate PBX. This stuff built without problems and works > just >> fine. >>> >>> See the messages at the bottom of the mail. >>> >>> I am normally a Win user and far from being a linux pro, but I do not >>> fear the command line and editing files. Reminds me a bit of good old >>> Amiga times >>> :-) >>> >>> Any ideas what I should do? >>> >> >> Someone had this exact same error in a private email but we never got to > the >> bottom of it. >> >> Was there a previous install of gnuradio by any chance (in case something > is >> accidentally building against installed headers)? >> >> It may be the case that a recent change is adding an extra typdef or > template >> to a swig .i file and swig is being dumb and exporting it twice. >> >> Or maybe its one of those things that shows up on an x86 machine vs x64 > due >> to how integer types map to fixed width typedefs... So many ways to fail > :-) >> >> So, what version of gnuradio produced the errors below? It wasnt the > 3.4.2, >> right? >> >> Can you attach the culprit gnuradio_core_generalPYTHON_wrap.cxx >> >> -josh >> >>> Thanks a lot, and with best regards >>> >>> Ralph. >>> >>> These are the scripts last words: >>> >>> [ 39%] Building CXX object >>> gnuradio- >> core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/gnuradio_co >>> re_generalPYTHON_wrap.cxx.o >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:6067:22: error: redefinition of ‘struct >>> swig::traits<unsigned >>> int>’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:5493:22: error: previous definition of ‘struct >>> swig::traits<unsigned int>’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:6071:23: error: redefinition of ‘struct >>> swig::traits_asval<unsigned int>’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:5497:23: error: previous definition of ‘struct >>> swig::traits_asval<unsigned int>’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:6077:23: error: redefinition of ‘struct >>> swig::traits_from<unsigned int>’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:5503:23: error: previous definition of ‘struct >>> swig::traits_from<unsigned int>’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:6087:22: error: redefinition of ‘struct >>> swig::traits<std::vector<unsigned int> >’ >>> /home/ras/gnuradio/build/gnuradio- >> core/src/lib/swig/gnuradio_core_gene >>> ralPYT >>> HON_wrap.cxx:5513:22: error: previous definition of ‘struct >>> swig::traits<std::vector<unsigned int> >’ >>> make[2]: *** >>> [gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/gnur >>> adio_c >>> ore_generalPYTHON_wrap.cxx.o] Error 1 >>> make[1]: *** >>> [gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/all] >>> Error >>> 2 >>> make: *** [all] Error 2 >>> make failed >>> Exiting Gnu Radio build/install >>> >>> >>> -- >>> >>> Ralph A. Schmid >>> Mondstr. 10 >>> 90762 Fürth >>> +49-171-3631223 >>> ra...@schmid.xxx >>> http://www.bclog.de/ >>> >>> >>> >>> _______________________________________________ >>> 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 > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio