[vorbis] Vorbis 1.0.1 release compile errors (libvorbis, vorbistools)

Greg Wooledge greg at wooledge.org
Thu Nov 20 18:20:27 PST 2003


Page (grayson.page at maine.edu) wrote:

> Well, I grabbed the tarballs this morning and found that of the three 
> new releases, only libogg1.1 would compile without and issue. I had to 
> recompile my flac1.1.0 for ogg support, and it gave me a new error (or 
> I wasnt paying attention, anyway...) it will finish compiling and 
> install, but I only ran make check on the original compile, not the new 
> one with OggFLAC attached and stuff... libvorbis1.0.1 died because it 
> couldnt find a file, and vorbis-tools1.0.1 quit when it got to oggenc 
> (and I then did it where it only did oggenc to shorten the log file) 
> and would try and incorperate oggflac. Previous versions have all 
> compiled fine (just for the record).

I got some 1.0.1 tarballs yesterday, before the official announcement.
I tried building them on my Debian unstable i386 system.  libogg and
libvorbis built without any issues for me, but vorbis-tools died
in the same way for me as it did for you.  (I also reported this in
the IRC channel at the time.)

Here's what I came up with:

 * Link of oggenc fails with undefined symbol "flac_id" and others.
 * These symbols are defined in oggenc/flac.c, not in libFLAC.
 * oggenc/flac.o and oggenc/easyflac.o were not generated.
 * flac.o and easyflac.o were not present as input files on the link
   command.

I tried several "quick and dirty" fix attempts, such as running my own
versions of aclocal/automake/autoconf, all to no avail.  I also attempted
to configure vorbis-tools --without-flac, to no avail.

I finally got oggenc to build by doing this:

  cd oggenc
  make flac.o
  make easyflac.o
  /bin/sh ../libtool --mode=link gcc  -O20 -ffast-math -fsigned-char   -o oggenc  flac.o easyflac.o oggenc.o audio.o encode.o platform.o resample.o ../share/libutf8.a ../share/libgetopt.a                -L/home/greg/lib -lvorbisenc -L/home/greg/lib -lvorbis -lm  -L/home/greg/lib -logg                -lOggFLAC -lFLAC -lm -L/home/greg/lib -logg

That final monstrosity is the automatically generated link command with
"flac.o easyflac.o" stuck in the middle of it.  After that, the rest of
vorbis-tools built without issues.



More information about the Vorbis mailing list