Hi,
I’ve just built the head of the Git repo on two different machines. On
one
of them it builds OK, however on my laptop I get the error shown below.
I
had installed all dependencies for Karmic (or I believe I have) however
this
must be related to my build environment in some way I guess. Does anyone
have any clues?
Thanks
Richard
./.libs/libgnuradio-core.so: undefined reference to
gruel::msg_accepter::~msg_accepter()' ./.libs/libgnuradio-core.so: undefined reference to
pmt::intrusive_ptr_release(pmt::pmt_base*)’
./.libs/libgnuradio-core.so: undefined reference to typeinfo for gruel::msg_accepter' ./.libs/libgnuradio-core.so: undefined reference to
pmt::intrusive_ptr_add_ref(pmt::pmt_base*)’
collect2: ld returned 1 exit status
make[5]: *** [gnuradio-config-info] Error 1
make[5]: Leaving directory
/home/richard/gnuradio/source/git_gnuradio-trunk/gnuradio/gnuradio-core/src/lib' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory
/home/richard/gnuradio/source/git_gnuradio-trunk/gnuradio/gnuradio-core/src/lib’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
/home/richard/gnuradio/source/git_gnuradio-trunk/gnuradio/gnuradio-core/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/home/richard/gnuradio/source/git_gnuradio-trunk/gnuradio/gnuradio-core’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/richard/gnuradio/source/git_gnuradio-trunk/gnuradio’
make: *** [all] Error 2
On Mon, Feb 22, 2010 at 13:48, Richard C. [email protected]
wrote:
I’ve just built the head of the Git repo on two different machines. On one
of them it builds OK, however on my laptop I get the error shown below. I
had installed all dependencies for Karmic (or I believe I have) however this
must be related to my build environment in some way I guess. Does anyone
have any clues?
For some reason, the linker cannot find libgruel.so when trying to
link libgnuradio-core.so.
Could you post the output of your ./configure run, the part that shows
which modules will get built and which wont?
Johnathan
On 23 February 2010 11:00, Johnathan C.
[email protected]wrote:
For some reason, the linker cannot find libgruel.so when trying to
link libgnuradio-core.so.
Could you post the output of your ./configure run, the part that shows
which modules will get built and which wont?
Johnathan
Hi Johnathan,
the part of interest from the configure run is shown below. Everything
appeared to be in order.
Thanks for your help.
Richard
config.status: executing depfiles commands
The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:
usrp2-firmware
These components will not be built.
The following GNU Radio components have been successfully configured:
config
gruel
omnithread
gnuradio-core
mblock
usrp
usrp2
vrt
gr-usrp
gr-usrp2
gr-msdd6000
gr-audio-alsa
gr-audio-oss
gr-atsc
gr-cvsd-vocoder
gr-gpio
gr-gsm-fr-vocoder
gr-noaa
gr-pager
gr-radar-mono
gr-radio-astronomy
gr-trellis
gr-video-sdl
gr-wxgui
gr-qtgui
gr-sounder
gr-utils
gnuradio-examples
grc
docs
You my now run the make command to build these components.
The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:
gcell
gr-gcell
gr-audio-jack
gr-audio-osx
gr-audio-portaudio
gr-audio-windows
gr-comedi
These components will not be built.
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Hi Alex,
interesting you should say that. I do indeed have 3.2.2 installed
(though I
use the symlink method to support multiple version installs). However
the
same is true of the other PC (where the build succeeded) , although it’s
current working installed copy of gnuradio is a git HEAD as of 8 Feb.
However that machine had 3.2.3svn version installed prior to the 8th Feb
Git
HEAD version being compiled and installed. I’m not terribly experienced
at
managing the build tools under Linux, so when you talk about the Linker
path, how do I go about modifying that?
Thanks very much.
Cheers
Richard
OK I think I have it. I modified the LD_LIBRARY_PATH to remove reference
to
my currently installed version of GNU Radio and now the build appears to
be
proceeding. Thanks for the tip.
Cheers
Richard
On 22 February 2010 22:48, Richard C. [email protected] wrote:
make[5]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/richard/gnuradio/source/git_gnuradio-trunk/gnuradio’
make: *** [all] Error 2
I believe I’ve seen the same error message when I tried to build from
git while 3.2.2 was still installed. Removing 3.2.2 from the linker
path solved the problem for me.
Alex
Yes, this is what I meant by “removing it from the linker path”
I don’t know if this is possible if a previous version is installed in
a standard path like /usr or /usr/local
Glad it worked!
Alex