Date: Fri, 1 Apr 2005 04:02:44 +0200 From: "Petr Holub" <hopet@ics.muni.cz> To: <ahze@FreeBSD.org>, <riggs@rrr.de> Cc: ports@FreeBSD.org Subject: compile error for mplayer with faad - lrintf missing Message-ID: <002c01c5365e$e4e2c620$2e27b641@KLOBOUCEK>
next in thread | raw e-mail | index | archive | help
Hi, I was compiling mplayer from ports on 5.3-RELEASE and got the following problem: cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O -pipe -O3 -ffast-m ath -fomit-frame-pointer -march=athlon-tbird -mtune=athlon-tbird -D_LARGEFILE_S OURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/ usr/X11R6/include -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr /local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/ local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/inc lude/SDL11 -I/usr/local/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/i nclude -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o code c-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o su b_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/li bvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/ libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdki t libavcodec/libavcodec.a libavformat/libavformat.a -lmad -lvorbis -logg -ldv - ltheora -logg -lmp3lame -lvorbis -logg -lxvidcore -lm -ldts -lm -lpng -lz -lz -ljpeg /usr/X11R6/lib/libxmms.so -export-dynamic -lx264 -lm -L/usr/local/lib -W l,--rpath -Wl,/usr/local/lib -lfreetype -lz -ltinfo -lcdda_interface -lcdda_para noia /usr/local/live/liveMedia/libliveMedia.a /usr/local/live/groupsock/libgroup sock.a /usr/local/live/UsageEnvironment/libUsageEnvironment.a /usr/local/live/Ba sicUsageEnvironment/libBasicUsageEnvironment.a -lstdc++ -lungif -lsmbclient - L/usr/local/lib -lfribidi -L/usr/X11R6/lib -lfontconfig libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a -L/usr/X11R6/lib -L/usr/X11R 6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXi - lXext -lX11 -lm -L/usr/local/lib -lglib12 -laa -lGL -lXxf86dga -lXv -lXxf86vm - lXinerama -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -Wl,-rpath,/usr/local /lib -lSDL-1.1 -pthread -lvgagl -lvga -lm -L/usr/local/lib -lesd -laudiofi le -lm -laudio -lXt -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -L/usr/lo cal/lib -pthread -rdynamic -liconv -lintl -lm libfaad2/libfaad2.a(output.o)(.text+0x2ca): In function `output_to_PCM': : undefined reference to `lrintf' libfaad2/libfaad2.a(output.o)(.text+0x429): In function `output_to_PCM': : undefined reference to `lrintf' libfaad2/libfaad2.a(output.o)(.text+0x598): In function `output_to_PCM': : undefined reference to `lrintf' libfaad2/libfaad2.a(output.o)(.text+0x786): In function `output_to_PCM': : undefined reference to `lrintf' libfaad2/libfaad2.a(output.o)(.text+0x8a2): In function `output_to_PCM': : undefined reference to `lrintf' libfaad2/libfaad2.a(output.o)(.text+0x946): more undefined references to `lrintf ' follow gmake: *** [mplayer] Error 1 *** Error code 2 Stop in /usr/ports/multimedia/mplayer. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade84360.0 mak e WITH_OPTIMIZED_CFLAGS=1 WITHOUT_RUNTIME_CPUDETECTION=1 WITH_GTK2=1 WITH_DVD_DE VICE=/dev/acd0 WITH_LIBDVDNAV=1 WITH_LIBDV=1 WITH_SDL=1 WITH_ESOUND=1 WITH_VORBI S=1 WITH_XVID=1 The lrintf is present in -CURRENT only AFAIK and it shouldn't be required and used on -STABLE perhaps. See e.g. http://lists.freebsd.org/pipermail/freebsd-ports/2005-March/021313.html Cheers, Petr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c5365e$e4e2c620$2e27b641>