[MPlayer-users] Solaris 9_x86 and [g]mplayer compiles and runs (MPlayer-1.0pre3)
Mats Röjestål
mats.rojestal at bredband.net
Wed Jan 14 21:06:36 CET 2004
I managed to compile and run mplayer on Solaris 9_x86 the trick was to
add a line in loader/wrapper.h with a typdef.
This should probably be ifdef'ed, however i did not find any useful
switch for solaris.
*** wrapper.h ons jan 14 20:37:02 2004
--- /tmp/wrapper.h sön nov 24 22:45:23 2002
***************
*** 2,8 ****
#define _WRAPPER_H
#include <sys/types.h>
! typedef uint32_t u_int32_t; /* Added for Solaris x86 */
typedef struct {
u_int32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
} reg386_t;
--- 2,8 ----
#define _WRAPPER_H
#include <sys/types.h>
!
typedef struct {
u_int32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
} reg386_t;
Another problem is that "configure" has no way of detecting wich ld
that is used by gcc it always assumes gnu ld.
Hope this can be helpful...
Cheers,
Mats Röjestål
PS. output from: mplayer -vo help -ao help
MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Duron Spitfire 902.5 MHz (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading config file /usr/local/etc/mplayer/mplayer.conf: Det finns ingen
fil eller katalog med det namnet
Reading config file /home/matsro/.mplayer/config
Available video output drivers:
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable vo's
aa AAlib
png PNG file
jpeg JPEG file
null Null video output
pgm PGM file
md5 MD5 sum
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
tga Targa output
Available audio output drivers:
mpegpes Mpeg-PES audio output
sun Sun audio output
esd EsounD audio output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
plugin Plugin audio output
Output from:/usr/gnu/bin/gcc -v
Reading specs from /usr/gnu/lib/gcc-lib/i386-pc-solaris2.9/3.3.2/specs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --prefix=/usr/gnu
Thread model: posix
gcc version 3.3.2
More information about the MPlayer-users
mailing list