Bug#768685: libtheora: FTBFS in jessie: ld: player_example-player_example.o: undefined reference to symbol 'rintf@@GLIBC_2.2.5'

Petter Reinholdtsen pere at hungry.com
Sun Nov 9 08:08:40 UTC 2014


[Lucas Nussbaum]
> Relevant part (hopefully):

>> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 \
>>   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall \
>>   -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer \
>>   -finline-functions -funroll-loops -g -O2 -fstack-protector-strong \
>>   -Wformat -Werror=format-security -c -o \
>>   player_example-player_example.o `test -f 'player_example.c' || echo \
>>   './'`player_example.c
>> /bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/SDL \
>>   -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wno-parentheses -O3 \
>>   -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops \
>>   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security \
>>   -Wl,-z,relro -o player_example player_example-player_example.o \
>>   ../lib/libtheoradec.la -logg -L/usr/lib/x86_64-linux-gnu -lSDL \
>>   -lvorbis
>> libtool: link: gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT \
>>   -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer \
>>   -finline-functions -funroll-loops -g -O2 -fstack-protector-strong \
>>   -Wformat -Werror=format-security -Wl,-z -Wl,relro -o \
>>   .libs/player_example player_example-player_example.o \
>>   ../lib/.libs/libtheoradec.so -logg -L/usr/lib/x86_64-linux-gnu \
>>   -lSDL /usr/lib/x86_64-linux-gnu/libvorbis.so \
>> /usr/bin/ld: player_example-player_example.o: undefined reference
>>   to symbol 'rintf@@GLIBC_2.2.5'
>> //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing
>>   from command line
>> collect2: error: ld returned 1 exit status

My best guess is that some -lm entry is missing, as rint() is in libm,
but I find it strange as this code built in unstable a few days ago.
Anyone got a clue what changed in the mean time?  Is this rebuild
using a different linker than the one used by the autobuilders?

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-xiph-maint mailing list