discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Trouble building gnuradio/next (Linux Mint 14/64)


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Trouble building gnuradio/next (Linux Mint 14/64)
Date: Sat, 23 Mar 2013 10:53:40 -0400

On Sat, Mar 23, 2013 at 10:48 AM, Alexandru Csete <address@hidden> wrote:
> On Sat, Mar 23, 2013 at 2:59 PM, Tom Rondeau <address@hidden> wrote:
>> On Sat, Mar 23, 2013 at 8:24 AM, Alexandru Csete <address@hidden> wrote:
>>> On Sat, Mar 23, 2013 at 1:22 PM, Alexandru Csete <address@hidden> wrote:
>>>> Greetings,
>>>>
>>>> I tried to build the current gnuradio/next (v3.6.4.1-946-g7f0d3777) on
>>>> Linux Mint 14 64 bit today and it fails with one of those "never
>>>> ending" error messages: http://pastebin.com/7pBSB0h
>>>> At the same time, it build fine on Linux Mint 13 also 64 bit).
>>>> Both distributions have the same Ice version 3.4.2, but different gcc
>>>> and cmake (gcc 4.6.3 / cmake 2.8.7 versus gcc 4.7.2 / cmake 2.8.9).
>>>> The distributions should correspond to Ubuntu 12.04 and 12.10 respectively.
>>>>
>>>> Anybody else seen this or has any ideas what to try? I'm very
>>>> interested in helping to make it build again.
>>>>
>>>
>>> The correct link is: http://pastebin.com/7pBSB0h0
>>>
>>>  Alex
>>
>> Can you try installing that latest GCC 4.6 version in Mint? There's a
>> known bug with GCC 4.7 and ICE, but I don't think those patches have
>> made it into the main distros, yet. At least, on Ubuntu 12.10, I've
>> had to go back to 4.6 to get ControlPort to build.
>>
>
> Tom,
>
> Thanks for the info. Is there a right way to switch to gcc 4.6?
> I installed gcc-4.6 and without doing anything, cmake seems to pick it
> up, but now I run into a different error, which suggests I should have
> done some configuration first.
>
> Linking CXX executable atsci_viterbi_gen
> CMakeFiles/atsci_viterbi_gen.dir/atsci_viterbi_gen.cc.o: In function
> `build_decode_structures(char*)':
> atsci_viterbi_gen.cc:(.text+0x619): undefined reference to `std::cerr'
> atsci_viterbi_gen.cc:(.text+0x61e): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, char const*)'
> atsci_viterbi_gen.cc:(.text+0x62e): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >::operator<<(int)'
> atsci_viterbi_gen.cc:(.text+0x63b): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, char const*)'
> atsci_viterbi_gen.cc:(.text+0x646): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >::operator<<(long)'
> atsci_viterbi_gen.cc:(.text+0x653): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, char const*)'
> atsci_viterbi_gen.cc:(.text+0x663): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >::operator<<(int)'
> CMakeFiles/atsci_viterbi_gen.dir/atsci_viterbi_gen.cc.o: In function 
> `usage()':
> atsci_viterbi_gen.cc:(.text+0x8b3): undefined reference to `std::cerr'
> atsci_viterbi_gen.cc:(.text+0x8b8): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, char const*)'
> atsci_viterbi_gen.cc:(.text+0x8c2): undefined reference to `std::cerr'
> atsci_viterbi_gen.cc:(.text+0x8c7): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, char const*)'
> atsci_viterbi_gen.cc:(.text+0x8d1): undefined reference to `std::cerr'
> atsci_viterbi_gen.cc:(.text+0x8d6): undefined reference to
> `std::basic_ostream<char, std::char_traits<char> >& std::operator<<
> <std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&, char const*)'
> CMakeFiles/atsci_viterbi_gen.dir/atsci_viterbi_gen.cc.o: In function
> `__static_initialization_and_destruction_0(int, int)':
> atsci_viterbi_gen.cc:(.text+0x97a): undefined reference to
> `std::ios_base::Init::Init()'
> atsci_viterbi_gen.cc:(.text+0x97f): undefined reference to
> `std::ios_base::Init::~Init()'
> collect2: ld returned 1 exit status
> make[2]: *** [gr-atsc/lib/atsci_viterbi_gen] Error 1
> make[1]: *** [gr-atsc/lib/CMakeFiles/atsci_viterbi_gen.dir/all] Error 2
> make: *** [all] Error 2
> address@hidden ~/sdr/gnuradio/v3.6.4.1-946-g7f0d3777-next/build $

That looks like we're not including some of the right headers in some
gr-atsc files. Probably something that will need a bit more time to
debug, and I'm kind of on vacation this weekend...

But, for now, just disable gr-atsc (-DENABLE_GR_ATSC=False); I'm
assuming you aren't using it?

Tom



reply via email to

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