On 04/22/2013 09:59 PM, Tom Rondeau wrote: > On Mon, Apr 22, 2013 at 7:13 PM, Tim Newman <tim.new...@gmail.com> wrote: >> I had problems similar to this using swig < 2.0. Swig 2.0.4 helped. > > May well be fixed by an update to SWIG. This is a problem with all the > areas we're using SWIG and defining types. Swig doesn't understand (or > keep track of) when we're defining typedefs, so its getting conflicts > in various places for various reasons. It was a huge pain to diagnose > and figure out because a fix on 32-bit machines broke the 64-bit, and > vice versa. Frankly, I was just hoping that by keeping silent and > ignoring it, the problem would go away.... > > The solution is in commit 8088f125a9a (on Mar. 29). I'm not sure why > it really started, honestly, but it seems related to the removal of > gruel and some delicate balance we had working beforehand. Why it's > happening again, I'm not sure. With luck, though, upgrading SWIG to > > 2.0 wll fix it.
Already using swig 2.0.9 and Python 2.7.3. Philip > > Tom > > >> On Mon, Apr 22, 2013 at 7:08 PM, Almohanad Fayez <almohanad.fa...@gmail.com> >> wrote: >>> >>> Philip, this is problem of no help but I ran into this issue when I was >>> still using ubuntu 10.04, I found a reference where Marcus was having the >>> same problem but on ubuntu 12.04 >>> >>> http://lists.gnu.org/archive/html/discuss-gnuradio/2013-02/msg00178.html >>> >>> where I applied the recommended changes and added some other mods >>> recommended by Josh but I couldn't fix it I ended up upgrading from 10.04 to >>> 12.04 and everything worked. >>> >>> My suspicion, and again I'm probably the wrong person to comment on this, >>> is that it was a swig/python version issue 10.04 was running Python 2.6 I >>> don't remember what swig version and 12.04 is running Python 2.7 and swig >>> 2.0.4. I would recommend experimenting with alternative swig versions and >>> see if the problem goes away. >>> >>> al fayez >>> >>> >>> On Thu, Apr 18, 2013 at 9:38 PM, Philip Balister <phi...@balister.org> >>> wrote: >>>> >>>> Any ideas? I haven't looked at it hard yet. >>>> >>>> Philip >>>> >>>> eglibc/sysroots/ettus-e200/usr/include -fvisibility=hidden >>>> -Wsign-compare -Wall -Wno-uninitialized -o >>>> CMakeFiles/test-gr-blocks.dir/qa_gr_block.cc.o -c >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-blocks/lib/qa_gr_block.cc >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build/gr-blocks/swig/blocks_swig0PYTHON_wrap.cxx:7083:22: >>>> error: redefinition of 'struct swig::traits<unsigned int>' >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build/gr-blocks/swig/blocks_swig0PYTHON_wrap.cxx:6345:22: >>>> error: previous definition of 'struct swig::traits<unsigned int>' >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build/gr-blocks/swig/blocks_swig0PYTHON_wrap.cxx:7087:23: >>>> error: redefinition of 'struct swig::traits_asval<unsigned int>' >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build/gr-blocks/swig/blocks_swig0PYTHON_wrap.cxx:6349:23: >>>> error: previous definition of 'struct swig::traits_asval<unsigned int>' >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build/gr-blocks/swig/blocks_swig0PYTHON_wrap.cxx:7093:23: >>>> error: redefinition of 'struct swig::traits_from<unsigned int>' >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/build/gr-blocks/swig/blocks_swig0PYTHON_wrap.cxx:6355:23: >>>> error: previous definition of 'struct swig::traits_from<unsigned int>' >>>> >>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueab: > > _______________________________________________ > 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