[vorbis-dev] problem building vorbis-tools-1.0rc3
Rick Bunke
rbunke at helios.acomp.usf.edu
Tue Jan 1 12:37:39 PST 2002
I download all the tarballs for rc3. I compiled
and installed all the libraries successfully, but I wan't able to compile
the vorbis tools (1.0rc3) package succesfully.
I can run configure successfully, but when I run make it dies with this
make[2]: Entering directory `/usr/local/src/vorbis-tools-1.0rc3/oggenc'
/bin/sh ../libtool --mode=link gcc -O20 -ffast-math -fsigned-char -o
oggenc oggenc.o audio.o encode.o platform.o -lvorbisenc -lvorbis -lm
-logg ../share/libutf8.a ../share/libgetopt.a
gcc -O20 -ffast-math -fsigned-char -o oggenc oggenc.o audio.o encode.o
platform.o /usr/lib/libvorbisenc.so -L/lib /usr/lib/libvorbis.so -lm
/usr/lib/libogg.so ../share/libutf8.a ../share/libgetopt.a
encode.o: In function `oe_encode':
encode.o(.text+0x90): undefined reference to `vorbis_encode_init_vbr'
encode.o(.text+0x342): undefined reference to `vorbis_bitrate_addblock'
encode.o(.text+0x362): undefined reference to `vorbis_bitrate_flushpacket'
collect2: ld returned 1 exit status
make[2]: *** [oggenc] Error 1
make[2]: Leaving directory `/usr/local/src/vorbis-tools-1.0rc3/oggenc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vorbis-tools-1.0rc3/oggenc'
make: *** [all-recursive] Error 1
the line that reads:
gcc -O20 -ffast-math -fsigned-char -o oggenc oggenc.o audio.o encode.o
platform.o /usr/lib/libvorbisenc.so -L/lib /usr/lib/libvorbis.so -lm
/usr/lib/libogg.so ../share/libutf8.a ../share/libgetopt.a
I believe it should have read:
gcc -O20 -ffast-math -fsigned-char -o oggenc oggenc.o audio.o encode.o
platform.o -lvorbisenc -L/lib -lvorbis -lm -logg ../share/libutf8.a
../share/libgetopt.a
that is say
"-lvorbis" instead of "/usr/lib/libvorbis.so"
"-lvorbisenc" instead of "/usr/lib/libvorbisenc.so"
"-logg" instead of "/usr/lib/libogg.so"
it runs correctly for me when I make these changes manually on the command
line. I'm not familiar whith the all the make and configure scripts
so I don't know where to make the changes that would straighten
this out for the whole build process, but hope I gave someone more
knowledgeable then me enough information that they can fix it.
Rick
"The net is too big, too important, too political to be treated as something
for only a band of talented engineers to preside over."
- ICANN
Whenever there is a conflict between human rights and property rights,
human rights must prevail.
- Abraham Lincoln
Information is the currency of democracy.
- Thomas Jefferson
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list