[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gcc4
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] gcc4 |
Date: |
Tue, 17 May 2005 16:06:21 -0700 |
User-agent: |
Mutt/1.5.6i |
On Mon, May 16, 2005 at 03:52:19PM -0400, cswiger wrote:
> the README suggests gcc 3.2 and 3.4. The latest Fedora Redhat Linux
> has gcc4. Is that supposed to work?
Both should work fine. I use 3.4.1 on a daily basis.
> Looks like something with banchmark_dotproc.cc has compiler version
> issues, then something else gets
> undefined reference to `gr_fxpt::TWO_TO_THE_31'
> and gr_fxpt::PI and that's all folks.
Will check this out.
> -------8<--------
>
> make[3]: Entering directory `/usr/src/gnuradio-core/src/tests'
> if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib/runtime
> -I../../src/lib/general -I../../src/lib/filter -I../../src/lib/io
> -I../../src/lib/g72x -I../../src/lib/atsc -I../../src/lib/omnithread
> -I../../src/lib/general -I../../src/lib/filter -I/usr/local/include
> -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -pthread -MT
> benchmark_dotprod.o -MD -MP -MF ".deps/benchmark_dotprod.Tpo" -c -o
> benchmark_dotprod.o benchmark_dotprod.cc; \
> then mv -f ".deps/benchmark_dotprod.Tpo" ".deps/benchmark_dotprod.Po";
> else rm -f ".deps/benchmark_dotprod.Tpo"; exit 1; fi
> In file included from /usr/include/boost/config.hpp:35,
> from /usr/include/boost/shared_ptr.hpp:17,
> from ../../src/lib/runtime/gr_types.h:26,
> from ../../src/lib/filter/gr_fir_util.h:47,
> from benchmark_dotprod.cc:27:
> /usr/include/boost/config/compiler/gcc.hpp:92:7: warning: #warning
> "Unknown compiler version - please run the configure tests and report the
> results"
> /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall
> -Woverloaded-virtual -pthread -o benchmark_dotprod benchmark_dotprod.o
> ../../src/lib/libgnuradio-core.la
The warning is not our problem. Looks like boost was configured with
the other version of the compiler and it's whining.
> mkdir .libs
> g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o .libs/benchmark_dotprod
> benchmark_dotprod.o ../../src/lib/.libs/libgnuradio-core.so -lrt
> -L/usr/local/lib /usr/local/lib/libcppunit.so -ldl
> /usr/local/lib/libfftw3f.so -Wl,--rpath -Wl,/usr/local/lib
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `gr_fxpt::TWO_TO_THE_31'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `gr_fxpt::PI'
This is our problem...
Eric