ports/78870: mplayer-0.99.6_1 compile fails
Michael Kuhn
mkuhn.nw at web.de
Tue Mar 15 14:50:03 UTC 2005
>Number: 78870
>Category: ports
>Synopsis: mplayer-0.99.6_1 compile fails
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 15 14:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Michael Kuhn
>Release: FreeBSD 5.3-RELEASE-p5
>Organization:
>Environment:
FreeBSD xxx 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Mar 12 05:26:07 CET 2005 root at xxx:/usr/obj/usr/src/sys/xxx i386
>Description:
mplayer-0.99.6_1 compile fails with:
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O -pipe -O3 -ffast-math -fomit-frame-pointer -march=pentium4 -mtune=pentium4 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/freetype2 -I/usr/local/include -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_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/libvidix.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 -lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat.a -lmad -lv
orbis -logg -lmp3lame -lvorbis -logg -lxvidcore -lm -ldts -lm -lpng -lz -lz -ljpeg -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -ltinfo -lcdda_interface -lcdda_paranoia -L/usr/local/lib -lfribidi -L/usr/X11R6/lib -lfontconfig libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a -laa -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -lesd -laudiofile -lm -L/usr/local/lib -L/usr/local/lib -pthread -rdynamic -liconv -lintl -lm
/usr/bin/ld: warning: libm.so.2, needed by /usr/X11R6/lib/libGL.so, may conflict with libm.so.3
/usr/bin/ld: warning: libm.so.2, needed by /usr/X11R6/lib/libGL.so, may conflict with libm.so.3
/usr/bin/ld: warning: libm.so.2, needed by /usr/X11R6/lib/libGL.so, may conflict with libm.so.3
/usr/bin/ld: warning: libm.so.2, needed by /usr/X11R6/lib/libGL.so, may conflict with libm.so.3
libfaad2/libfaad2.a(output.o)(.text+0x2ea): In function `output_to_PCM':
: undefined reference to `lrintf'
libfaad2/libfaad2.a(output.o)(.text+0x459): In function `output_to_PCM':
: undefined reference to `lrintf'
libfaad2/libfaad2.a(output.o)(.text+0x5d1): In function `output_to_PCM':
: undefined reference to `lrintf'
libfaad2/libfaad2.a(output.o)(.text+0x7da): In function `output_to_PCM':
: undefined reference to `lrintf'
libfaad2/libfaad2.a(output.o)(.text+0x900): In function `output_to_PCM':
: undefined reference to `lrintf'
libfaad2/libfaad2.a(output.o)(.text+0x9ae): more undefined references to `lrintf' follow
gmake: *** [mplayer] Error 1
*** Error code 2
Stop in /usr/ports/multimedia/mplayer.
----------
configure said it was there:
===> Configuring for mplayer-esound-0.99.6_1
Detected operating system: FreeBSD
Detected host architecture: i386
Checking for cc version ... 3.4.2, ok
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (15:2:9)
Checking for CPU type ... Intel(R) Pentium(R) 4 CPU 2.80GHz
Checking for GCC & CPU optimization abilities ... pentium4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... yes
Unknown parameter: --x-libraries=/usr/X11R6/lib (ignoring).
Unknown parameter: --x-includes=/usr/X11R6/include (ignoring).
Unknown parameter: i386-portbld-freebsd5.3 (ignoring).
Checking for assembler (/usr/bin/as 2.15) ... ok
Checking for mplayer binary name ... mplayer
Checking for awk ... nawk
Checking for extra headers ... -I/usr/local/include/freetype2 -I/usr/local/include
Checking for extra libs ... -L/usr/local/lib -L/usr/local/lib
Checking for -lposix ... no
Checking for -lm ... yes
Checking for i18n ... yes (using -lintl)
Checking for setlocale() ... yes
Checking for iconv ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
>How-To-Repeat:
cd /usr/ports/multimedia/mplayer && make WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes WITHOUT_GUI=yes WITHOUT_3DNOW=yes WITHOUT_DSP=yes WITH_DVD=yes WITH_DVD_DEVICE=/dev/acd1 WITH_CDROM_DEVICE=/dev/acd1 WITH_VORBIS=yes WITH_XVID=yes WITH_ESOUND=yes WITH_MATROSKA=yes
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
>>> Checking for lrintf ... yes <<<
Checking for nanosleep ... yes
Checking for socklib ... no
Checking for inet_pton() ... yes (using )
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... no
Checking for memalign() ... no
Checking for alloca.h ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -pthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... yes
Checking for sys/cdio.h ... yes
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes (using -ltinfo)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... yes
Checking for strlcat() ... yes
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... no
Checking for Mac OS X APIs ... no
Checking for Mac OS X Finder Support ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using -I/usr/X11R6/include)
Checking for X11 libs presence ... yes (using -L/usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... yes
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for md5sum support ... yes
Checking for GIF support ... no
Checking for VESA support ... no (not supported on this OS/architecture)
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libdvdread) ... disabled by libmpdvdkit2
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... yes
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... no
Checking for external liblzo support ... no
Checking for mad support ... yes
Checking for Toolame ... no
Checking for OggVorbis support ... yes
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... yes
Checking for libmpeg2 support ... yes
Checking for Matroska support ... yes
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for FAAD2 version ... 2.1 beta
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/lib/win32)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (using )
Checking for RealPlayer DLL ... yes (using /usr/local/lib/win32)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... yes
Checking for DivX4 compatibility in XviD ... no
Checking for x264 ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... yes
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... yes
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for byte order ... little-endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... yes
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... no
MPlayer compilation will use the CFLAGS set by you, but:
*** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** ***
It is strongly recommended to let MPlayer choose the correct CFLAGS!
To do so, execute 'CFLAGS= ./configure <options>'
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... yes
Checking for ftello() ... yes
Checking for VIDIX ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating libaf/config.mak
Config files successfully generated by ./configure !
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/share/mplayer
Byte order: little-endian
Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr
Languages:
Messages/GUI: en
Manual pages: en
Enabled optional drivers:
Input: ftp network tv-bsdbt848 edl tv matroska cdda mpdvdkit2 vcd
Codecs: qtx xvid libavcodec real dshow/dmo win32 faad2(internal) libmpeg2 libdts liba52 mp3lib libvorbis libmad
Audio output: esd oss mpegpes(file)
Video output: xvidix cvidix md5sum pnm jpeg png mpegpes(file) aa opengl dga xv x11 xover tga
Audio filters:
Disabled optional drivers:
Input: tv-v4l2 tv-v4l live.com dvdread dvb smb
Codecs: opendivx x264 libdv xanim libtheora toolame liblzo gif
Audio output: sgi sun alsa jack polyp arts dxr2 nas dsound win32 sdl macosx
Video output: winvidix bl zr zr2 dxr3 dxr2 directx sdl vesa gif89a fbdev svga caca ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx quartz
Audio filters: ladspa
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)
Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
More information about the freebsd-ports-bugs
mailing list