[Mplayer-users] compile problem.

Martin Herrman m.herrman at student.tue.nl
Wed May 16 20:57:15 CEST 2001


Hope one can tell me what's wrong and how to fix it :-)


Martin

-- 
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Debian GNU/Linux 2.4.3 Toshiba 320CDT P233 MHz, 64 Mb RAM
20:50:02 up 1 day, 23:50, 2 users, load average: 0.17, 0.35, 0.45
Western Civilization, that would be a good idea!
-------------- next part --------------
m.herrman at student.tue.nl

kernel 2.4.3
Debian Unstable
gcc version: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
             gcc version 2.95.4 20010506 (Debian prerelease)


######################## CONFIGURE ##########################

You can get detailed help on configure with: ./configure --help
Please wait while ./configure discovers your software and hardware environment!
GL includes not found!
Using C compiler: gcc
Checking for cpu vendor ... GenuineIntel ( 5:8:1 )
Checking for cpu type ...  Mobile Pentium MMX
Optimizing to ... pentium
Checking for mmx support ... yes
Checking for mmx2 support ... no
Checking for 3dnow support ... no
Checking for sse support ... no
Checking for mtrr support ... no
Screen size ... 1x1
Checking for X11 libs ... -L/usr/X11R6/lib
Checking mga_vid device ... no
Checking for xmga ... no
Checking for SDL ... yes
Checking for OpenGL ... no
Checking for Xv ... yes
Checking for X11 ... yes
Checking for DGA ... yes
Checking for DGA 2.0 .. yes
Checking for Xf86VM ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... yes
Checking for DeCSS support ... no
Checking for PNG support ... yes
Checking for DirectShow ... yes
Checking for fastmemcpy ... yes

Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libac3/config.mak
Creating mp3lib/config.mak

Config files successfully generated by ./configure !
Please check config.h and config.mak files, tune CPU
and optimization flags if you don't like these defaults.
You can compile the program with 'make dep;make' and
install with  'make install'. Good luck!

Ok, Win32 codecs directory at /usr/lib/win32 already exists.

######################## MAKE ############################################

gcc -O4 -march=pentium -mcpu=pentium -pipe -ffast-math  -Iloader -Ilibvo  -o mplayer mplayer.o find_sub.o aviprint.o dll_init.o dec_audio.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o demux_mpg.o demuxer.o stream.o codec-cfg.o subreader.o linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o   -Lmp3lib -lMP3 -Llibac3 -lac3 -lm -ltermcap -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -ldl -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore -Llibvo -lvo -L/usr/X11R6/lib  -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng  -Lencore -lencore -lpthread
linux/getch2.o: In function `load_termcap':
linux/getch2.o(.text+0x2a): undefined reference to `tgetent'
linux/getch2.o(.text+0x79): undefined reference to `tgetnum'
linux/getch2.o(.text+0x8b): undefined reference to `tgetnum'
linux/getch2.o(.text+0xd3): undefined reference to `tgetstr'
linux/getch2.o(.text+0x180): undefined reference to `tgetstr'
linux/getch2.o(.text+0x22d): undefined reference to `tgetstr'
linux/getch2.o(.text+0x2da): undefined reference to `tgetstr'
linux/getch2.o(.text+0x387): undefined reference to `tgetstr'
linux/getch2.o(.text+0x434): more undefined references to `tgetstr' follow
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1


#################### CONFIG.H ############################

/* -------- Generated by ./configure ----------- */

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)    */
#undef AVI_SYNC_BPS

/* Undefine this if you want soundcard-only timing by default:
   You can still change this with the -alsa or -noalsa command-line option!
   (This function was originally impemented to solve ALSA driver's big
   buffer problems, but it seems to be useful for every soundcard drivers) */
#define ALSA_TIMER

/* Undefine this if your soundcard 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

/* You have a choice for MP3 decoding: mp3lib(mpg123) or Win32(l3codeca.acm)
   #define this if you prefer mpg123 (with 3Dnow! support) than l3codeca.acm
   (with mmx/sse optimizations)
   You can still change it runtime using -afm 1 (mpg123) or -afm 4 (l3codeca)*/
#undef DEFAULT_MPG123

/* XMMP support: (test code) */
#undef USE_XMMP_AUDIO
#define LIBDIR "/usr/local/lib"
#define PLUGINDIR LIBDIR "/xmmp/Plugins"
#define XMMP_AUDIO_DRIVER PLUGINDIR "/Sound/oss.so"

/* set up audio OUTBURST. Do not change this! */
#ifdef USE_XMMP_AUDIO
#define OUTBURST 4096
#else
//#define OUTBURST 1024
#define OUTBURST 512
#endif

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

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

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

/* DirectShow support */
#define USE_DIRECTSHOW

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

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

#define ARCH_X86

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

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

/* Extension defines */
#undef HAVE_MLIB     // available only on solaris
#undef HAVE_3DNOW   // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#define HAVE_MMX      // only define if you have MMX
#undef HAVE_MMX2     // only define if you have MMX2
#undef HAVE_SSE     // only define if you have SSE (Intel Pentium III or Celeron II)

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11
#define HAVE_XV
#define HAVE_XF86VM
#undef HAVE_GL
#define HAVE_DGA
#define HAVE_DGA2
#define HAVE_SDL
#undef HAVE_3DFX
#undef HAVE_MGA
#undef HAVE_SYNCFB
#define HAVE_FBDEV
#define HAVE_SVGALIB

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


######################## CONFIG.MAK ###########################

# -------- Generated by ./configure -----------

AR=ar
CC=gcc
X11DIR=-L/usr/X11R6/lib
# OPTFLAGS=-O4 -march=pentium -mcpu=pentium -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS=-O4 -march=pentium -mcpu=pentium -pipe -ffast-math
# LIBS=-L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib  -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv
X_LIBS=-L/usr/X11R6/lib  -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng
TERMCAP_LIB=-ltermcap
XMM_LIBS = 
LIRC_LIBS = 
CSS_LIB = 
CSS_INC = 
WIN32_PATH=-DWIN32_PATH=\"/usr/lib/win32\"
DS_DEP = loader/DirectShow/libDS_Filter.a
DS_LIB = -Lloader/DirectShow -lDS_Filter -lstdc++



More information about the MPlayer-users mailing list