mplayer compile on Solaris 10 x86 11/06 on Fujitsu notebook

From: Steven Sim (steven.sim@faplccc.net)
Date: Tue Jan 16 2007 - 06:52:36 EST


Gurus;

My mplayer compile on my Fujitsu Lifebook S series with Solaris 10 11/06
is ending with the following errors;

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement
-fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include -I/usr/sfw/include/freetype2 -I/usr/sfw/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include
-I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -c -o msmpeg4.o msmpeg4.c
msmpeg4.c: In function `msmpeg4_decode_block':
msmpeg4.c:663: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'
gmake[1]: *** [msmpeg4.o] Error 1
gmake[1]: Leaving directory
`/export/home/steven/msc/MPlayer-1.0rc1/libavcodec'
gmake: *** [libavcodec/libavcodec.a] Error 2

I would appreciate some pointers...

gcc version is

$ gcc -dumpversion
3.4.3

PATH statement as follows;

/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/sbin:/opt/Acrobat4/bin:/usr/local/bin:/opt/sfw/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin:/opt/Acrobat4/bin:/usr/local/bin:/opt/sfw/bin:/usr/sfw/bin:/opt/csw/bin:/usr/ccs/bin

ar used is /usr/ccs/bin/ar

Sun Studio 11 December 2006 is installed but not used.

My configure output is as follows;

$ ./configure --enable-gui --prefix=/usr/sfw/mplayer
Detected operating system: SunOS
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... 3.4.3, ok
Checking for host cc ... gcc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:9:5)
Checking for CPU type ... Intel(R) Pentium(R) M processor
1500MHz
Checking for GCC & CPU optimization abilities ... pentium-m
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... 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
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (/usr/sfw/bin/gas ) ... ok
Checking for .align is a power of two ... no
Checking for MPlayer binary name ... mplayer
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... 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 ... yes
Checking for posix4 ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lsocket -lnsl)
Checking for inet_pton() ... yes (using -lsocket -lnsl)
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 ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using )
Checking for rpath ... no
Checking for iconv ... yes
Checking for sys/soundcard.h ... no
Checking for soundcard.h ... no
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... yes
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for userspace SCSI headers (Solaris) ... yes
Checking for termcap ... yes (using -ltermcap)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... no
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 setenv() ... yes
Checking for sysi86() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/include)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... no
Checking for XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... yes
Checking for DGA ... no
Checking for OpenGL ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no
Checking for DVB HEAD ... no
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... no
Checking for libfame ... no
Checking for OSS Audio ... no
Checking for aRts ... no
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... yes
Checking for Sun mediaLib ... no
Checking for VCD support ... yes
Checking for DVD support (libdvdnav) ... no
Checking for DVD support (libmpdvdkit2) ... yes
Checking for DVD support (libdvdread) ... no (disabled by libmpdvdkit2)
Checking for cdparanoia ... no
Checking for libcdio ... no
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 RTC ... no
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for Toolame ... no
Checking for Twolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... no
Checking for XAnim DLL ... no (no suitable directory found - see
DOCS/HTML/en/codecs.html)
Checking for RealPlayer DLL ... no (tested only on
Linux/FreeBSD/NetBSD/Cygwin/MinGW/Darwin
)
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for md5sum support ... yes
Checking for AMR narrowband ... no
Checking for AMR narrowband, fixed point ... no
Checking for AMR wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... no
Checking for nut ... no
Checking for libmp3lame (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 Video 4 Linux TV interface ... no
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 ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for QuickTime codecs ... auto
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... no
Checking for gethostbyname2 ... no
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for GTK+ version ... 2.4.9
Checking for glib version ... 2.4.1
Checking for iconv program ... yes
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... yes
Checking for compiler support for noexecstack ... no
Checking for ftello() ... yes
Checking for VIDIX (internal) ... no
Checking for VIDIX (external) ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h

Config files successfully generated by ./configure !

Install prefix: /usr/sfw/mplayer
Data directory: /usr/sfw/mplayer/share/mplayer
Config direct.: /usr/sfw/mplayer/etc/mplayer

Byte order: little-endian
Optimizing for: pentium-m mmx mmxext sse sse2 mtrr

Languages:
Messages/GUI: en
-n Manual pages: en

Enabled optional drivers:
Input: ftp network tv mpdvdkit2 vcd smb
Codecs: libavcodec faad2 libmpeg2 liba52 mp3lib tremor(internal)
Audio output: sun esd mpegpes(file)
Video output: md5sum pnm jpeg png mpegpes(file) x11 xover tga
Audio filters:
Disabled optional drivers:
Input: vstream pvr radio tv-v4l2 tv-v4l1 live555 cdda dvdread dvdnav dvb
Codecs: qtx x264 xvid libdv amr_wb amr_nb real xanim win32 faac musepack
libdts libtheo
ra speex twolame toolame libmad liblzo gif
Audio output: alsa openal jack polyp arts oss ivtv dxr2 nas sdl
Video output: xvidix winvidix cvidix bl zr zr2 ivtv dxr3 dxr2 sdl vesa
gif89a fbdev svg
a caca aa ggi xmga mga opengl dga xvmc xv dfbmga directfb tdfx_vid s3fb
tdfxfb 3dfx
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)

Failed to find a Win32 codecs directory! (default:
/usr/local/lib/codecs/)
Create it and copy the DLL files there! You can download the codecs from
our
homepage at http://www.mplayerhq.hu/MPlayer/releases/codecs/

Check configure.log if you wonder why an autodetection failed (check
whether
the development headers/packages are installed).
Do not report compilation errors if you used any of the --enable-*
options
(except --enable-gui and maybe --enable-debug).

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

Warmest Regards
Steven Sim

Fujitsu Asia Pte. Ltd.
_____________________________________________________

This e-mail is confidential and may also be privileged. If you are not
the intended recipient, please notify us immediately. You should not copy
or use it for any purpose, nor disclose its contents to any other person.

Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:27 EDT