Make fails on new svn

This is my first attempt building from the svn.
After:

$ svn co http://gnuradio.utah.edu/svn/gnuradio/trunk gnuradio_svn
$ cd gnuradio_svn
$ ./bootstrap
$ ./configure

I get:


The following GNU Radio components have been successfully configured:

config
gnuradio-core
gnuradio-examples
usrp
gr-usrp
gr-audio-alsa
gr-audio-oss
gr-atsc
gr-error-correcting-codes
gr-gsm-fr-vocoder
gr-radar
gr-radio-astronomy
pmt
gr-video-sdl
gr-wxgui

However, the following components did not configure successfully due to
missing dependencies:

gr-audio-jack
gr-audio-osx
gr-audio-portaudio
gr-audio-windows
gr-comedi

You may still run the make command to build the successfully configured
components.

Fine so far.
However, make fails at usrp:

make[2]: Entering directory /home/anastas/gnuradio_svn/gr-usrp' Making all in src make[3]: Entering directory/home/anastas/gnuradio_svn/gr-usrp/src’
make all-am
make[4]: Entering directory /home/anastas/gnuradio_svn/gr-usrp/src' /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o _usrp1.la -rpath /usr/local/lib/python2.3/site-packages/gnuradio -module -avoid-version usrp1.lo usrp1_sink_base.lo usrp1_sink_c.lo usrp1_sink_s.lo usrp1_source_base.lo usrp1_source_c.lo usrp1_source_s.lo -L../../gnuradio-core/src/lib/.libs -lgnuradio-core -lfftw3f -lm -L../../usrp/host/lib/.libs -lusrp -lstdc++ -lasound -lm -ldl -lpthread libtool: link: warning:/usr/lib/gcc/i386-redhat-linux/3.4.3/…/…/…//libusb.la’ seems to be
moved
g++ -shared -nostdlib
/usr/lib/gcc/i386-redhat-linux/3.4.3/…/…/…/crti.o
/usr/lib/gcc/i386-redhat-linux/3.4.3/crtbeginS.o .libs/usrp1.o
.libs/usrp1_sink_base.o .libs/usrp1_sink_c.o .libs/usrp1_sink_s.o
.libs/usrp1_source_base.o .libs/usrp1_source_c.o .libs/usrp1_source_s.o
-Wl,–rpath
-Wl,/home/anastas/gnuradio_svn/gnuradio-core/src/lib/.libs/.libs
-Wl,–rpath -Wl,/home/anastas/gnuradio_svn/usrp/host/lib/.libs/.libs
-Wl,–rpath -Wl,/usr/local/lib
-L/usr/lib/gcc/i386-redhat-linux/3.4.3/…/…/…/ -L/usr/local/lib
-pthread -L/home/anastas/gnuradio_svn/gnuradio-core/src/lib/.libs
/home/anastas/gnuradio_svn/gnuradio-core/src/lib/.libs/.libs/libgnuradio-core.so
-lfftw3f -L/home/anastas/gnuradio_svn/usrp/host/lib/.libs
/home/anastas/gnuradio_svn/usrp/host/lib/.libs/.libs/libusrp.so -lasound
-ldl -lpthread -L/usr/lib/gcc/i386-redhat-linux/3.4.3
-L/usr/lib/gcc/i386-redhat-linux/3.4.3/…/…/… -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/i386-redhat-linux/3.4.3/crtendS.o
/usr/lib/gcc/i386-redhat-linux/3.4.3/…/…/…/crtn.o -Wl,-soname
-Wl,_usrp1.so -o .libs/_usrp1.so
g++:
/home/anastas/gnuradio_svn/gnuradio-core/src/lib/.libs/.libs/libgnuradio-core.so:
No such file or directory
g++: /home/anastas/gnuradio_svn/usrp/host/lib/.libs/.libs/libusrp.so: No
such file or directory
make[4]: *** [_usrp1.la] Error 1
make[4]: Leaving directory /home/anastas/gnuradio_svn/gr-usrp/src' make[3]: *** [all] Error 2 make[3]: Leaving directory/home/anastas/gnuradio_svn/gr-usrp/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/anastas/gnuradio_svn/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/anastas/gnuradio_svn’
make: *** [all] Error 2

Any thoughts?
Achilleas

Achilleas A. wrote:

Any thoughts?

For some reason there is an extra ‘.libs’ added to the path to where
it’s looking for libgnuradio-core.so and for libusrp.so; I don’t know
why. But it’s very likely a bug and not anything you are doing.

Can you log in to Trac as guest (password ‘gnuradio’) and file a bug in
component ‘build’? Assign it to me.

Thanks.

-Johnathan

Achilleas A. wrote:

However, make fails at usrp:

Can you please check out the following branch:

http://gnuradio.utah.edu/svn/gnuradio/branches/developers/jcorgan/ticket-11

…and try it again? I’ve disabled all the components except
gnuradio-core, usrp, and gr-usrp, so it should take much time. Also,
can you confirm your gcc version?

-Johnathan

Johnathan ,

everything seems to work fine now.
make and make check succeed.

btw, my gcc version is

gcc --version
gcc (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)
Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Thanks
Achilleas

Jonathan,

The full tree compiles succesfully with gcc 3.4.3 now !

Cheers,
Achilleas

Achilleas A. wrote:

The full tree compiles succesfully with gcc 3.4.3 now !

Thanks for testing this out.

-Johnathan

Eric B. wrote:

FYI, the .libs should have never been in the path.
The .la file, which libtool looks for, is contained in foo, not foo/.libs

Correct. For some reason the extra .libs I put in there was being
“overlooked” when compiling with the combination of libtool & gcc on our
machines, but on Achilleas’.

-Johnathan

Achilleas A. wrote:

everything seems to work fine now.
make and make check succeed.

Ok, thanks.

btw, my gcc version is

gcc --version
gcc (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)

For what it’s worth, gcc 3.4.3 seems to interact differently with
libtool than gcc 4.x. I haven’t pinned it down but the change I made
now works with both.

If you still have that branch checked out, can you svn update it? I
reenabled the remaining components; I’d like if you could test the full
tree now on your machine.

Thanks,

-Johnathan

On Fri, Aug 04, 2006 at 09:33:00PM -0700, Johnathan C. wrote:

Thanks.
-Johnathan

FYI, the .libs should have never been in the path.
The .la file, which libtool looks for, is contained in foo, not
foo/.libs

Eric

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs