On Tue, Apr 21, 2015 at 8:15 PM, Gordon Findlay <[email protected]> wrote:
> > On Mon, Apr 20, 2015 at 11:20 PM, Fernando de Oliveira < > [email protected]> wrote: > >> On 20-04-2015 04:55, Gordon Findlay wrote: >> > Using LFS 7.7, I have run into a problem building >> > vorbis-tools-1.4.0 using the instructions in the svn version of the BLFS >> > book. >> > >> > I get this error building in the ogg123 directory: >> > >> >> First command line: >> >> > /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -ffast-math >> > -fsigned-char -g -O2 -o ogg123 audio.o buffer.o callbacks.o >> > cfgfile_options.o cmdline_options.o file_transport.o format.o >> > http_transport.o ogg123.o oggvorbis_format.o playlist.o status.o >> > remote.o transport.o vorbis_comments.o vgfilter.o ../share/libutf8.a >> > ../share/libgetopt.a -lvorbisfile -lvorbis -logg -lao -lnsl >> > -lcurl -lpthread >> >> Second command line: >> >> > libtool: link: gcc -O2 -Wall -ffast-math -fsigned-char -g -O2 -o >> > ogg123 audio.o buffer.o callbacks.o cfgfile_options.o >> > cmdline_options.o file_transport.o format.o http_transport.o ogg123.o >> > oggvorbis_format.o playlist.o status.o remote.o transport.o >> > vorbis_comments.o vgfilter.o ../share/libutf8.a ../share/libgetopt.a >> > /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so >> > /usr/lib/libao.so -lnsl /usr/lib/libcurl.so -lpthread >> >> I believe the command line ended there. And following is the error >> message: >> >> > /usr/bin/ld: vgfilter.o: undefined reference to symbol >> > '__pow_finite@@GLIBC_2.15' >> > /lib64/libm.so.6: error adding symbols: >> > DSO missing from command line >> > > [Elided] >> > > >> >> Sorry, we need somebody else helping, you shouldn't need LDFLAGS=-lm. >> >> I think libvorbis and libao are installed. >> >> Thanks for checking that out Fernando. Yes, those libraries are > definitely installed. > > FWIW, I get exactly the same issue when building vorbis-tools in openSUSE > 13.2, so it probably isn't a tool-chain issue. I've found a lot > > of similar issues from Google, but the solution is always "add -lm to the > linker flags or options". > > > For the record: an autoreconf (I used autoreconf -i -f) fixed the issue. Slainte Gordon
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
