[MPlayer-users] mplayer from FreeBSD ports fails to build/compile
Antonio Olivares
olivares14031 at yahoo.com
Sat Jul 30 00:52:58 CEST 2011
> > sub/subreader.c:2512: undefined reference to `subassconvert_subrip'
>
> The line number is suspicious (should be 2524), could you confirm that the
> problem also happens if you use current svn head and try "./configure && make"?
>
/**** downloaded with svn *******/
U mplayer/libdvdnav
> Checked out external at revision 1228.
>
> Checked out revision 33936.
> [olivares at tricorehome ~/Downloads/mplayer]$ uname -a
> FreeBSD tricorehome 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #0: Sat Apr 2 15:06:58 UTC 2011 root at hybrid.freebsdgr.org:/usr/obj/usr
> _______________________________________________
Installed git and successfull configure:
[olivares at tricorehome ~/Downloads/mplayer/mplayer]$ ./configure
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort
Cloning into ffmpeg...
remote: Counting objects: 5560, done.
remote: Compressing objects: 100% (4425/4425), done.
remote: Total 5560 (delta 3166), reused 2493 (delta 1023)
Receiving objects: 100% (5560/5560), 8.45 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (3166/3166), done.
Checking for cc version ... 4.2.1
Checking for working compiler ... yes
Detected operating system: FreeBSD
Detected host architecture: x86_64
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... AuthenticAMD (16:2:3)
Checking for CPU type ... AMD Phenom(tm) 8250e Triple-Core Processor
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for ebx availability ... yes
Checking for yasm ... yasm
Checking for bswap ... yes
Checking for xmm clobbers ... no
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: 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 exp2 ... yes
Checking for exp2f ... yes
Checking for llrint ... yes
Checking for llrintf ... yes
Checking for log2 ... no
Checking for log2f ... no
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for trunc ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... yes
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... yes
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for networking ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for sys/poll.h ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... no
Checking for memalign() ... no
Checking for posix_memalign() ... yes
Checking for alloca.h ... no
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
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 termcap ... yes (using -lncurses)
Checking for termios ... yes (using termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... no
Checking for sys/sysinfo.h ... no
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... yes
Checking for /dev/mga_vid ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/local/include)
Checking for X11 ... yes
Checking for Xss screensaver extensions ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for VDPAU ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for xmga ... no
Checking for 3dfx ... no
Checking for VIDIX ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... no
Checking for DVB ... yes
Checking for PNG support ... yes
Checking for MNG support ... yes
Checking for JPEG support ... yes
Checking for OpenJPEG (JPEG2000) support ... yes
Checking for PNM support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... no
Checking for SDL ... yes
Checking for OpenGL ... yes (backends: x11 sdl)
Checking for MatrixView ... yes
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... gnome-config: not found
no
Checking for JACK ... gnome-config: not found
no
Checking for OpenAL ... no
Checking for ALSA audio ... no (alloca missing)
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for Blu-ray support ... no
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... yes
Checking for libcdio ... no (using cdparanoia)
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for bzlib ... yes
Checking for RTC ... no
Checking for liblzo2 support ... yes
Checking for mad support ... yes
Checking for Twolame ... yes
Checking for Toolame ... no (disabled by twolame)
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes
Checking for libgsm ... no
Checking for OggTheora support ... yes
Checking for mp3lib support ... yes
Checking for mpg123 support ... no
Checking for liba52 support ... yes
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... yes
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... gnome-config: not found
no
Checking for Win32 codecs ... no
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... auto
Checking for Nemesi Streaming Media libraries ... gnome-config: not found
no
Checking for LIVE555 Streaming Media libraries ... yes (using /usr/local/live)
Checking for RTMPDump Streaming Media library ... yes
Checking for FFmpeg ... yes
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... yes
Checking for CrystalHD ... no
Checking for Xvid ... yes
Checking for Xvid two pass plugin ... yes
Checking for x264 ... yes (in FFmpeg: yes)
Checking for libdirac ... gnome-config: not found
no
Checking for libschroedinger ... yes
Checking for libvpx ... yes
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in FFmpeg: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for *BSD BT848 bt8xx header ... yes (using dev/bktr/ioctl_bt848.h)
Checking for *BSD ioctl_meteor.h ... yes (using dev/bktr/ioctl_meteor.h)
Checking for *BSD BrookTree 848 TV interface ... yes
Checking for DirectShow TV interface ... auto
Checking for Video 4 Linux TV interface ... auto
Checking for Video 4 Linux 2 TV interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... auto
Checking for Video 4 Linux Radio interface ... auto
Checking for Video 4 Linux 2 MPEG PVR interface ... auto
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Creating config.mak
Creating config.h
Config files successfully generated by ./configure !
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer
Byte order: little-endian
Optimizing for: native
Languages:
Messages/GUI: en
Manual pages: en
Documentation: en
Enabled optional drivers:
Input: dvdnav(internal) ftp tv-bsdbt848 tv librtmp live555 cddb cdda libdvdcss(internal) dvdread(internal) vcd dvb smb networking
Codecs: libvpx libschroedinger x264 xvid libdv ffmpeg(internal) real xanim faad2 libdca libmpeg2(internal) liba52 mp3lib(internal) libtheora speex tremor(internal) twolame libmad liblzo gif OpenJPEG
Audio output: oss sdl mpegpes(dvb)
Video output: matrixview opengl sdl gif89a pnm jpeg mng mpegpes(dvb) svga caca aa dga vdpau xv x11 xover yuv4mpeg md5sum tga
Disabled optional drivers:
Input: vstream pvr radio tv-v4l2 tv-v4l1 tv-dshow nemesi bluray
Codecs: libdirac crystalhd libopencore_amrwb libopencore_amrnb qtx win32 faac musepack mpg123 libgsm toolame
Audio output: sun alsa openal jack pulse nas esd arts v4l2 ivtv dxr2
Video output: zr zr2 v4l2 ivtv dxr3 dxr2 vesa fbdev ggi xvidix winvidix cvidix 3dfx xmga xvmc directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga
'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)
NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (FreeBSD). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.
Check config.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).
NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.
If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
[olivares at tricorehome ~/Downloads/mplayer/mplayer]$
It fials somewhere else now :
l/include/orc-0.4 -c -o stream/stream_cdda.o stream/stream_cdda.c
stream/stream_cdda.c:97: warning: initialization discards qualifiers from pointer target type
stream/stream_cdda.c:99: warning: initialization discards qualifiers from pointer target type
stream/stream_cdda.c:123: warning: initialization discards qualifiers from pointer target type
stream/stream_cdda.c: In function 'open_cdda':
stream/stream_cdda.c:357: warning: format '%d' expects type 'int', but argument 4 has type 'long int'
stream/stream_cdda.c:424: error: implicit declaration of function 'paranoia_cachemodel_size'
gmake: *** [stream/stream_cdda.o] Error 1
Thanks,
Antonio
More information about the MPlayer-users
mailing list