Bug#555383: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Mon Nov 9 11:41:34 UTC 2009


Source: libvorbis
Version: 1.2.3-3
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../libtool --tag=CC   --mode=link gcc  -O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -Wall -g -O2 -DUSE_MEMORY_H   -o decoder_example decoder_example.o ../lib/libvorbis.la  
mkdir .libs
gcc -O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement -Wall -g -O2 -DUSE_MEMORY_H -o .libs/decoder_example decoder_example.o  ../lib/.libs/libvorbis.so 
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:77: error: undefined reference to 'ogg_sync_init'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:89: error: undefined reference to 'ogg_sync_buffer'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:91: error: undefined reference to 'ogg_sync_wrote'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:94: error: undefined reference to 'ogg_sync_pageout'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:105: error: undefined reference to 'ogg_page_serialno'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:105: error: undefined reference to 'ogg_stream_init'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:117: error: undefined reference to 'ogg_stream_pagein'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:123: error: undefined reference to 'ogg_stream_packetout'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:149: error: undefined reference to 'ogg_sync_pageout'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:154: error: undefined reference to 'ogg_stream_pagein'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:158: error: undefined reference to 'ogg_stream_packetout'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:176: error: undefined reference to 'ogg_sync_buffer'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:182: error: undefined reference to 'ogg_sync_wrote'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:211: error: undefined reference to 'ogg_sync_pageout'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:217: error: undefined reference to 'ogg_stream_pagein'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:220: error: undefined reference to 'ogg_stream_packetout'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:176: error: undefined reference to 'ogg_sync_buffer'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:182: error: undefined reference to 'ogg_sync_wrote'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:304: error: undefined reference to 'ogg_stream_clear'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:281: error: undefined reference to 'ogg_page_eos'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:285: error: undefined reference to 'ogg_sync_buffer'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:287: error: undefined reference to 'ogg_sync_wrote'
/usr/bin/ld: decoder_example.o: in function main:../../examples/decoder_example.c:310: error: undefined reference to 'ogg_sync_clear'
collect2: ld returned 1 exit status
make[3]: *** [decoder_example] Error 1
make[3]: Leaving directory `/home/peter/rebuild/build/libvorbis/libvorbis-1.2.3/obj-x86_64-linux-gnu/examples'





More information about the pkg-xiph-maint mailing list