From owner-freebsd-ports@FreeBSD.ORG Fri Apr 1 02:02:49 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BA2216A4CF; Fri, 1 Apr 2005 02:02:49 +0000 (GMT) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F6443D39; Fri, 1 Apr 2005 02:02:47 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (65-182-39-46.biltmorecomm.com [65.182.39.46]) (user=hopet@META mech=LOGIN bits=0) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id j3122hmh006215 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 1 Apr 2005 04:02:45 +0200 From: "Petr Holub" To: , Date: Fri, 1 Apr 2005 04:02:44 +0200 Message-ID: <002c01c5365e$e4e2c620$2e27b641@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Muni-Spam-TestIP: 65.182.39.46 X-Muni-Virus-Test: Clean cc: ports@FreeBSD.org Subject: compile error for mplayer with faad - lrintf missing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 02:02:49 -0000 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