[MPlayer-users] mplayer update on FreeBSD ports

Raimund Steger rs at mytum.de
Sat Jan 21 15:15:12 CET 2012


Hi,

On 01/21/12 04:35, Antonio Olivares wrote:
 >> [...]
>> -lgthread-2.0 -lglib-2.0 -lglib-2.0
>> ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function
>> `find_best_state':
>> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/ffv1.c:243:
>> undefined reference to `log2'
>> ffmpeg/libavcodec/libavcodec.a(aacsbr.o): In function
>> `sbr_make_f_master':
>> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:428:
>> undefined reference to `log2f'
>> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:456:
>> undefined reference to `log2f'
>> ffmpeg/libavcodec/libavcodec.a(aacsbr.o): In function
>> `sbr_make_f_derived':
>> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:580:
>> undefined reference to `log2f'
>> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:580:
>> undefined reference to `log2f'
>> collect2: ld returned 1 exit status
> [...]
> I am thinking, should I rebuild ffmpeg? I am running 8.2 amd64
> release
> and have successfully built new version from ports on another 8.2 amd64
> machine and a 9.0 STABLE amd64 machine as well. But on this machine it
> fails.
>

If the two 8.2 boxes are supposed to be otherwise identical, you could 
compare the config.log's and the build logs (log 'make distclean all' 
output in /usr/ports/multimedia/mplayer with script(1)).

In case log2/log2f is the problem: I do notice that these were only 
merged into 8-STABLE in 2011, see 
http://www.freebsd.org/cgi/query-pr.cgi?pr=83845&cat=

E. g., on my 8.2 box,

   nm -D /usr/lib/libm.so | grep log

yields no log2.

Now in this case the question is why the builtin log2/log2f weren't used 
in your case. But maybe the build log could give you some clues there.

Raimund
-- 
Worringer Str 31 Duesseldorf 40211 Germany +49-179-2981632 icq 16845346


More information about the MPlayer-users mailing list