[MPlayer-users] bugreport: current cvs on solaris

Goetz Waschk waschk at informatik.uni-rostock.de
Mon Aug 26 16:33:02 CEST 2002


Hi,
the current cvs doesn't build on Solaris 7 (SPARC), it gives me this error
message:

gcc -c -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -I../loader   -o ai_oss.o ai_oss.c
ai_oss.c:8: linux/soundcard.h: No such file or directory
ai_oss.c: In function `ai_oss_set_samplerate':
ai_oss.c:21: `SNDCTL_DSP_SPEED' undeclared (first use in this function)
ai_oss.c:21: (Each undeclared identifier is reported only once
ai_oss.c:21: for each function it appears in.)
ai_oss.c: In function `ai_oss_set_channels':
ai_oss.c:35: `SNDCTL_DSP_CHANNELS' undeclared (first use in this function)
ai_oss.c:46: `SNDCTL_DSP_STEREO' undeclared (first use in this function)
ai_oss.c: In function `ai_oss_init':
ai_oss.c:73: `SNDCTL_DSP_GETFMTS' undeclared (first use in this function)
ai_oss.c:76: `AFMT_S16_LE' undeclared (first use in this function)
ai_oss.c:81: `SNDCTL_DSP_SETFMT' undeclared (first use in this function)
ai_oss.c:91: `SNDCTL_DSP_SPEED' undeclared (first use in this function)
ai_oss.c:100: `SNDCTL_DSP_GETTRIGGER' undeclared (first use in this function)
ai_oss.c:102: `PCM_ENABLE_INPUT' undeclared (first use in this function)
ai_oss.c:104: `SNDCTL_DSP_SETTRIGGER' undeclared (first use in this function)
ai_oss.c:113: `SNDCTL_DSP_GETBLKSIZE' undeclared (first use in this function)
make[1]: *** [ai_oss.o] Error 1
make[1]: Leaving directory `/users/ra04/waschk/cvs/MPlayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

MPlayer CVS-020813-10:56-2.95.2 built fine.

Here's the desired bugreport information:
/users/ra04/waschk/cvs/MPlayer -> uname -a
SunOS sake 5.7 Generic_106541-17 sun4u sparc
/users/ra04/waschk/cvs/MPlayer -> gcc -v
Reading specs from /opt/p.egcs/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/users/ra04/waschk/cvs/MPlayer -> ld -v
GNU ld version 2.10.1 (with BFD 2.10.1)

/users/ra04/waschk/cvs/MPlayer -> as -V
as: WorkShop Compilers 5.0 Alpha 03/27/98 Build
as: error: no input filename given
usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
	  [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
	  [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
	  [-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusc] [-xarch=v9] [-xarch=v9a] [-xarch=v9b] file.s...

-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--
-------------- next part --------------
/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* use GNU internationalization */
#undef USE_I18N

/* use setlocale() function */
#define USE_SETLOCALE 1

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* "restrict" keyword */
#define restrict __restrict

#define PREFIX "/users/ra04/waschk"

/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* Toggles debugging informations */
#undef MP_DEBUG

/* Indicates that Ogle's libdvdread is available for DVD playback */
#undef USE_DVDREAD

/* Indicates that dvdread is from libmpdvdkit */
#undef USE_MPDVDKIT

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#undef DVD_STRUCT_IN_LINUX_CDROM_H
#define DVD_STRUCT_IN_SYS_CDIO_H 1
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H


#define SOLARIS_USCSI 1
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define DATADIR "/users/ra04/waschk/share/mplayer"
#define CONFDIR "/users/ra04/waschk/share/mplayer"
#define LIBDIR "/users/ra04/waschk/lib"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#undef USE_DIVX

/* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */
/* You have to change DECORE_LIBS in config.mak, too! */
#undef NEW_DECORE

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* Define if you are using XviD library */
#undef HAVE_XVID

/* Define if you have divx4.h in place of decore.h */
#undef HAVE_DIVX4_H

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#undef HAVE_DIVX4ENCORE

/* Indicates if libmp3lame is available
   Note: for mencoder */
#undef HAVE_MP3LAME

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your sound card driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use RTC (/dev/rtc) for video timers (LINUX only) */
#undef HAVE_RTC

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#undef HAVE_SYS_SOUNDCARD_H

/* Define this if your system has the header file for the OSS sound interface
 * in /usr/include */
#undef HAVE_SOUNDCARD_H

/* Define this if your system has the sysinfo header */
#define HAVE_SYS_SYSINFO_H 1

/* Define this if your system uses ftello() for off_t seeking */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
# define ftello(a) ftell(a)
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#define HAVE_LIBKSTAT 1

/* Define this if you have zlib */
#undef HAVE_ZLIB

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has strsep */
#undef HAVE_STRSEP

/* Define this if your system has vsscanf */
#undef HAVE_VSSCANF

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

/* DVD navigation support using libdvdnav */
#undef USE_DVDNAV


/* Define this to enable MPEG 1/2 image postprocessing (requires a FAST CPU!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#undef USE_WIN32DLL

/* DirectShow support */
#undef USE_DIRECTSHOW

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#undef USE_XANIM
/* Default search path */
#undef XACODEC_PATH

/* RealPlayer DLL support */
#undef USE_REALCODECS
/* Default search path */
#undef REALCODEC_PATH

/* LIVE.COM Streaming Media library support */
#undef STREAMING_LIVE_DOT_COM

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI

/* Audio output drivers */
#undef USE_OSS_AUDIO
#define PATH_DEV_DSP ""
#define PATH_DEV_MIXER ""
#undef HAVE_ALSA5
#undef HAVE_ALSA9

#undef HAVE_SYS_ASOUNDLIB_H
#undef HAVE_ALSA_ASOUNDLIB_H
#define USE_SUN_AUDIO 1
#undef USE_SGI_AUDIO
#undef HAVE_NAS

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable Video 4 Linux TV interface support */
#undef HAVE_TV_V4L

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#define WORDS_BIGENDIAN 1

#define ARCH_SPARC 1

/* Define this for Cygwin build for win32 */


/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ sparc

#undef TARGET_LINUX

#define HAVE_VCD 1

#ifdef sun
#define	DEFAULT_CDROM_DEVICE	"/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
#elif defined(HPUX)
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom:"
#define DEFAULT_DVD_DEVICE     "/dev/dvd"
#elif defined(WIN32)
#define DEFAULT_CDROM_DEVICE    "D:"
#define DEFAULT_DVD_DEVICE	"D:"
#else
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom"
#define DEFAULT_DVD_DEVICE	"/dev/dvd"
#endif


/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
**       --enable/--disable options of the ./configure script!
**       See ./configure --help for details.
**
*---------------------------------------------------------------------------*/

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#undef HAVE_PNG

/* enable JPEG support */
#undef HAVE_JPEG

/* enable GIF support */
#undef HAVE_GIF
#undef HAVE_GIF_4

/* libmad support */
#undef USE_LIBMAD

/* enable OggVorbis support */
#undef HAVE_OGGVORBIS

/* enable FAAD (AAC) support */
#undef HAVE_FAAD

/* enable streaming */
#define STREAMING 1

/* enables / disables cdparanoia support */
#undef HAVE_CDDA

/* enables / disables vidix usage */
#undef CONFIG_VIDIX

/* enables / disables new input */
#define HAVE_NEW_INPUT 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* Extension defines */
#undef HAVE_3DNOW	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#undef HAVE_3DNOWEX	// only define if you have 3DNOWEX (AMD Athlon, etc.)
#undef HAVE_MMX	// only define if you have MMX (newer x86 chips, not P54C/PPro)
#undef HAVE_MMX2	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2	// only define if you have SSE2 (Intel Pentium 4)

#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif

#undef HAVE_MLIB  // Sun mediaLib, available only on solaris

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#undef HAVE_XV
#undef HAVE_XF86VM
#undef HAVE_XINERAMA
#undef HAVE_GL
#undef HAVE_DGA
#undef HAVE_DGA2
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#define BUGGY_SDL
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB

#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA

#undef HAVE_FBDEV
#undef USE_CONVERT2FB
#undef HAVE_DXR2
#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#undef HAVE_VESA
#define HAVE_XDPMS 1
#undef HAVE_AA

/* used by GUI: */


#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif

-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
TARGET_OS = SunOS
DESTDIR =
prefix = $(DESTDIR)/users/ra04/waschk
DATADIR = $(DESTDIR)/users/ra04/waschk/share/mplayer
CONFDIR = $(DESTDIR)/users/ra04/waschk/share/mplayer
LIBDIR = $(DESTDIR)/users/ra04/waschk/lib
#AR = ar
CC = gcc
AWK = 
# OPTFLAGS = -O4    -mcpu=v8 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer
EXTRA_INC =  
WIN32_PATH = -DWIN32_PATH=\"\"
STRIPBINARIES = yes



STREAMING = yes
STREAMING_LIVE_DOT_COM = no
STREAMING_LIB = -lsocket -lnsl -lresolv 
VIDIX = no

OPENDIVX = no

VO2 = no

PNG = no
JPEG = no
GIF = no

EXTRA_LIB = 
Z_LIB =   
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = 
X11DIR = -L/usr/openwin/lib -lX11 -lXext -lsocket -lnsl -lresolv

# for libavcodec:
SRC_PATH=.

# video output
X_LIB = -L/usr/openwin/lib -lX11 -lXext -lsocket -lnsl -lresolv       -lsocket -lnsl -lresolv
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
DXR2_INC = 
DVB_INC = 
PNG_LIB = 
JPEG_LIB = 
GIF_LIB = 
SDL_LIB = -L/opt/p.lib/lib -R/opt/p.lib/lib -lSDL -lpthread -lposix4 -lpspell
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = 
NAS_LIB = 
MAD_LIB = 
ARTS_LIB = 
ARTS_INC = 
VORBIS_LIB = 
FAAD_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = 
DVDKIT = no
DVDKIT2 = 
DVDKIT_SHARED = no
SDL_INC = -I/opt/p.lib/include -I/opt/p.lib/include/SDL -D_REENTRANT
W32_DEP = 
W32_LIB = 
DS_DEP = 
DS_LIB = 
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
FAME = no
FAME_LIB = 
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =  -lposix4 -lkstat  -lpthread -ldl  
DIVX4LINUX = no
XVID = no
XVID_LIB = 
DECORE_LIB =  
MENCODER = yes
ENCORE_LIB =   
DIRECTFB_INC = 
DIRECTFB_LIB = 
NEW_INPUT_LIB = -Linput -linput
CDPARANOIA_INC = 
CDPARANOIA_LIB = 

# --- Some stuff for autoconfigure ----
TARGET_ARCH_SPARC = yes
TARGET_CYGWIN = no
TARGET_CPU=sparc
TARGET_MMX = 
TARGET_MMX2 = 
TARGET_3DNOW = 
TARGET_3DNOWEX = 
TARGET_SSE = 

# --- GUI stuff ---
GTKLIB =  
GLIBLIB =   
GTK_LIBS =   
GUI = no
DEBUG = -DDEBUG

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  x11_common.c vo_x11.c vo_sdl.c
OPTIONAL_OBJS = x11_common.o vo_x11.o vo_sdl.o


More information about the MPlayer-users mailing list