Re: reg: GNU RADIO BUILD PROBLEM

Well, if you want to use automake-1.10.x series (which is default on
Gentoo Linux ATM) you can add the line
AM_PROG_AS
somewhere in the configure.ac, ./bootstrap and ./configure

Tomasz

Did that Exactly that and the problem with the ./bootstrap went away and
./configure went successfully for minimal gnuradio build. But in the
“make” I now get a new error…

/local/lib/libcppunit.dll.a(d000535.o):(.text+0x0): first defined here
/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(misc-inst.o):(.text$_ZStlsIcSt11ch
raitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E[std::basic_ostream
r, std::char_traits >& std::operator<< <char,
std::char_traits,
:allocator >(std::basic_ostream<char, std::char_traits >&,
std::
c_string<char, std::char_traits, std::allocator >
const&)]+0x0):
tiple definition of `std::basic_ostream<char, std::char_traits >&
std:
rator<< <char, std::char_traits, std::allocator

(std::basic_ost
<char, std::char_traits >&, std::basic_string<char,
std::char_traits<c
, std::allocator > const&)’
/local/lib/libcppunit.dll.a(d000671.o):(.text+0x0): first defined here
: resolving vtable for CppUnit::TestSuiteBuilderContextBaseby linking to
__i
_ZTVN7CppUnit27TestSuiteBuilderContextBaseE (auto-import)
: resolving gr_fxpt::s_sine_table by linking to
_imp___ZN7gr_fxpt12s
_tableE (auto-import)
ting library file: .libs/libgnuradio-core-qa.dll.a
ect2: ld returned 1 exit status
[5]: *** [libgnuradio-core-qa.la] Error 1
[5]: Leaving directory /cygdrive/d/gnuradio/gnuradio-core/src/lib' [4]: *** [all-recursive] Error 1 [4]: Leaving directory/cygdrive/d/gnuradio/gnuradio-core/src/lib’
[3]: *** [all-recursive] Error 1
[3]: Leaving directory /cygdrive/d/gnuradio/gnuradio-core/src' [2]: *** [all-recursive] Error 1 [2]: Leaving directory/cygdrive/d/gnuradio/gnuradio-core’
[1]: *** [all-recursive] Error 1
[1]: Leaving directory `/cygdrive/d/gnuradio’
: *** [all] Error 2
69@GDYTIS154627 /cygdrive/d/gnuradio

I have no idea what’s going on…Please help to get it up and
running…

Thanks,
Shriram

To me it seems like a cppunit ABI mismatch… Try getting the most
recent source for cppunit and build it…

but, I never used cygwin, I might be wrong.

Tomasz

To me it seems like a cppunit ABI mismatch… Try getting the most
recent source for cppunit and build it…

but, I never used cygwin, I might be wrong.

Tomasz

The cpp unit i’m using is 1.12.0 (as instructed in the build guide) and
that seems to be the last release (on 30 June 2006). But when I do a
cygcheck , the list displays a cppunit version…

cppunit 1.9.14-1 OK

Is this allright??

Thanks,

Shriram KV

Yes. Chances are, however, that your cppunit has been compield with a
different compiler version than the one used to build gnuradio. In
such cases, linking may result in such mismatches.

I’d try compiling 1.12.0 from scratch, without using cygwin prebuilt
packages.

Tomasz