discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Master build failure for ARM when building cross


From: Philip Balister
Subject: Re: [Discuss-gnuradio] Master build failure for ARM when building cross
Date: Tue, 23 Apr 2013 16:10:07 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 04/22/2013 09:59 PM, Tom Rondeau wrote:
> On Mon, Apr 22, 2013 at 7:13 PM, Tim Newman <address@hidden> 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.

I tracked the source of my issue to this commit:

71803b9ae55e688476f24637713a89ab6bd2cf17

The prior commit:

ce52bd370c0b13ed4de11df08168768dec327497

builds fine.

I believe these commits are on the maint branch. I'm going to confirm
that head of maint will fail for me.

I'll poke at this more later. Apparently, we are having spring today in
Blacksburg, so I am going to ride :)

Philip




> 
> Tom
> 
> 
>> On Mon, Apr 22, 2013 at 7:08 PM, Almohanad Fayez <address@hidden>
>> 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 <address@hidden>
>>> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]