[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Build fails
From: |
Ralph A. Schmid, dk5ras |
Subject: |
Re: [Discuss-gnuradio] Build fails |
Date: |
Fri, 8 Feb 2013 20:28:50 +0100 |
Well, I am not a programmer but a RF guy, but why not just changing this
with search and replace?! :)
Ralph.
> -----Original Message-----
> From: Josh Blum [mailto:address@hidden On Behalf Of Josh Blum
> Sent: Friday, 08 February, 2013 19:18
> To: Ralph A. Schmid, dk5ras
> Cc: address@hidden
> Subject: Re: [Discuss-gnuradio] Build fails
>
> Well, thats probably the issue, size_t is an unsigned int
>
> namespace swig {
> template <> struct traits<unsigned int > {
> typedef value_category category;
> static const char* type_name() { return"unsigned int"; }
> };
>
> namespace swig {
> template <> struct traits<size_t > {
> typedef value_category category;
> static const char* type_name() { return"size_t"; }
> };
>
> Though thats not an answer for your issue yet...
>
> -josh
>
> On 02/08/2013 05:58 AM, Ralph A. Schmid, dk5ras wrote:
> > Here it is...600kB packed, so I put it onto my server...
> >
> > http://dk5ras.dyndns.org/tmp/gnuradio_core_generalPYTHON_wrap.zip
> >
> > Ralph.
> >
> >> -----Original Message-----
> >> From: address@hidden
> >> [mailto:address@hidden On Behalf
> >> Of Josh Blum
> >> Sent: Friday, February 08, 2013 9:49 AM
> >> To: address@hidden
> >> 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/gn
> >>> ur
> >>> adio_c
> >>> ore_generalPYTHON_wrap.cxx.o] Error 1
> >>> make[1]: ***
> >>> [gnuradio-core/src/lib/swig/CMakeFiles/_gnuradio_core_general.dir/al
> >>> l]
> >>> Error
> >>> 2
> >>> make: *** [all] Error 2
> >>> make failed
> >>> Exiting Gnu Radio build/install
> >>>
> >>>
> >>> --
> >>>
> >>> Ralph A. Schmid
> >>> Mondstr. 10
> >>> 90762 Fürth
> >>> +49-171-3631223
> >>> address@hidden
> >>> http://www.bclog.de/
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Discuss-gnuradio mailing list
> >>> address@hidden
> >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >>>
> >>
> >> _______________________________________________
> >> Discuss-gnuradio mailing list
> >> address@hidden
> >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >