[Vorbis-dev] libvorbis build errors when using configure
Matthew Witherwax
matthew at ubergeekultd.com
Tue May 9 16:52:55 PDT 2006
First my environment
MinGW and MYSYS with gcc 3.4.2 under Windows XP pro.
I configured and built libbogg with out a problem. I configured
libvorbis and it finds libogg. When I type make it dies with:
gcc -shared .libs/mdct.o .libs/smallft.o .libs/block.o .libs/envelope.o
.libs/window.o .libs/lsp.o .libs/lpc.o .libs/analysis.o
.libs/synthesis.o .libs/psy.o .libs/info.o .libs/floor1.o .libs/floor0.o
.libs/res0.o .libs/mapping0.o .libs/registry.o .libs/codebook.o
.libs/sharedbook.o .libs/lookup.o .libs/bitrate.o
-LC:/lib/ogg-vorbis/libogg-1.1.3/lib
C:/lib/ogg-vorbis/libogg-1.1.3/lib/.libs/libogg.dll.a -lm -o
.libs/libvorbis-0.dll -Wl,--image-base=0x10000000
-Wl,--out-implib,.libs/libvorbis.dll.a
gcc.exe: C:/lib/ogg-vorbis/libogg-1.1.3/lib/.libs/libogg.dll.a: No such
file or directory
The problem lies in the path it is using. I told it to use the path
C:/lib/ogg-vorbis/libogg-1.1.3/lib//libogg.dll.a: and it is using
C:/lib/ogg-vorbis/libogg-1.1.3/lib/.libs/libogg.dll.a: with the extra
.libs directory included. I do not know why it added it or where it
added it. I opened the libtool file and change \$deplibs to be the
proper link for libogg.dll.a. Then this compiled with out a problem
until it got to gcc -shared .libs/vorbisfile.o
-LC:/lib/ogg-vorbis/libogg-1.1.3/lib/.libs
-LC:/lib/ogg-vorbis/libogg-1.1.3/lib ./.libs/libvorbis.dll.a -o
.libs/libvorbisfile-3.dll -Wl,--image-base=0x10000000
-Wl,--out-implib,.libs/libvorbisfile.dll.a where it told me
Creating library file: .libs/libvorbisfile.dll.a
.libs/vorbisfile.o(.text+0x73):vorbisfile.c: undefined reference to
`ogg_sync_pageseek'
.libs/vorbisfile.o(.text+0xb8):vorbisfile.c: undefined reference to
`ogg_sync_buffer'
.libs/vorbisfile.o(.text+0xec):vorbisfile.c: undefined reference to
`ogg_sync_wrote'
.libs/vorbisfile.o(.text+0x237):vorbisfile.c: undefined reference to
`ogg_page_serialno'
and this goes on for some time. Again it is not finding the libogg file
for linking.
Any idea as to why it is not working?
More information about the Vorbis-dev
mailing list