mplayer fails to compile on amd64 machine

Bill Tillman btillman99 at yahoo.com
Sat Jan 21 22:20:10 UTC 2012




From: Antonio Olivares <olivares14031 at gmail.com>
To: FreeBSD Questions <freebsd-questions at freebsd.org> 
Sent: Thursday, January 19, 2012 9:07 PM
Subject: mplayer fails to compile on amd64 machine

Dear kind folks,

Running Amd64 FreeBSD 8.0 updated

....
l/live/groupsock/libgroupsock.a                  -lm
-rpath=/usr/lib:/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc46
-liconv /usr/lib/libncurses.so -lpng -lz -ljpeg -lungif
-L/usr/local/lib -lfreetype -lz -lbz2 -lfontconfig  -lz
/usr/lib/libbz2.so -llzo2 -lmad -lspeex -L/usr/local/lib -ltheora
-logg    -lstdc++  -L/usr/local/lib -lrtmp -lz -lssl -lcrypto  -ldv
-pthread  -rdynamic -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-lv4l1 -lv4l2 -lrtmp -lXext -lX11 -pthread -lXss -lXv -lvdpau
-lXinerama -lXxf86vm -lXxf86dga -laa -lcaca -lvga -lSDL -lGL -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-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
gmake: *** [mplayer] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.

===>>> make failed for multimedia/mplayer
===>>> Aborting update

===>>> Update for multimedia/mplayer failed
===>>> Aborting update

Terminated

/usr/src/UPDATING shows nothing relevant.

ideas/suggestions/advice/comments are welcome and appreciated.

Regards,

Antonio
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


The mplayer port has been broken before. Now doubt it's in need of fixing again. I have found over the years that once you get a working version of it in place, don't try to reinstall it. I'm sure the port maintainer does their best, afterall this is a Linux program ported to run on FreeBSD and all the subtle changes can never be thought completely through. Send an e-mail to the port maintainer, they'll get it fixed in the next round.


More information about the freebsd-questions mailing list