[MPlayer-users] can't compile CVS version

Волосёнков Дмитрий billy at pioneer.pp.ru
Wed Nov 7 11:26:21 CET 2001


billy at billy 13:00:44 main$ ./configure 

You can get detailed help on configure with: configure --help

Please wait while ./configure discovers your software and hardware environment!

Detected operating system: Linux
Detected host architecture: i386
Checking version of gcc ... 2.95.3, ok
Checking for language ... ru
Using ... help_mp-ru.h file
iconv(3) function not detected!
Checking assembler (as) ... 2.10.90, ok
Checking mmx support in Kernel ... ok
Checking 3dnow support in Kernel ... ok
Checking Linux kernel version ... 2.2.19, ok
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Checking for cpu vendor ... AuthenticAMD ( 5:8:12 )
Checking for cpu type ...  AMD-K6(tm) 3D processor
Optimizing to ... k6
Checking for mmx support ... yes
Checking for mmx2 support ... no
Checking for 3dnow support ... yes
Checking for 3dnowex support ... no
Checking for sse support ... no
Checking for mtrr support ... yes
Screen size ... 1x1
Checking for X11 libs ... -L/usr/X11R6/lib
Checking for X11 headers ... 
Checking mga_vid device ... no
Checking for xmga ... no
Checking for SDL ... yes (with sdl-config)
Checking for AA ... no
Checking for GGI ... no
Checking for OpenGL ... yes
Checking for Xv ... yes
Checking for Xinerama ... 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 DVB ... no
Checking for DXR3/H+ ... no
Checking for OSS Audio ... yes
Checking for ALSA Audio ... no
Checking for ESD Audio ... yes
Checking for Sun Audio ... no
Checking for Sun mediaLib ... no
Checking for SGI Audio ... no
Checking for DeCSS support ... no
Checking for DVDread support ... no
Checking for PNG support ... yes
Checking for mad support ... no
Checking for OggVorbis support ... yes
Checking for Win32 DLL support ... yes
Checking for XAnim DLL support ... yes
Checking for DirectShow ... yes
Checking for iconv function ... no
Checking for zlib ... yes
Checking if your compiler 'gcc' supports C++ ... yes
Checking for proper C++ runtime enviroment ... yes
Checking for libavcodec ... yes
Checking for libffmpeg.so ... no
Checking for divx4linux ... yes
Checking for fastmemcpy ... yes
Extra libs : -L/usr/lib
Extra headers : -I/usr/include
Creating config.h

Creating config.mak
Creating libvo/config.mak
Creating libao2/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' and install with  'make install'. Good
luck!

Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Creating help_mp.h
Please check mtrr settings at /proc/mtrr (see DOCS/video.html#2.2.1.1)

Ok, found Win32 codecs directory at /usr/lib/win32.
billy at billy 13:01:01 main$ make
./version.sh
make distclean
make[1]: Entering directory `/usr/src/main'
rm -f *~ mplayer fibmap_mplayer mplayerHQ aviparse tvision  mencoder *.o *.a
.depend
make[2]: Entering directory `/usr/src/main/libmpdemux'
rm -f test Makefile.bak *.o *.a *~ .depend
make[2]: Leaving directory `/usr/src/main/libmpdemux'
make[2]: Entering directory `/usr/src/main/mp3lib'
rm -f *~ *.o *.a Makefile.bak .depend

==skip==

gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -I. -I.. -I/usr/include  -DNOAVIFILE_HEADERS -fexceptions
DS_AudioDec.cpp DS_AudioDecoder.cpp DS_VideoDec.cpp DS_Filter.cpp
DS_VideoDecoder.cpp allocator.cpp cmediasample.cpp guids.cpp inputpin.cpp
outputpin.cpp 1>.depend
DS_VideoDecoder.cpp:498: warning: #warning NOT SURE
DS_VideoDecoder.cpp:513: warning: #warning FIXME
make[2]: Leaving directory `/usr/src/main/loader/DirectShow'
make[1]: Leaving directory `/usr/src/main'

==skip==

In file included from dec_video.c:73:
/usr/local/include/decore.h:50: warning: `BIG_ENDIAN' redefined
/usr/include/endian.h:45: warning: this is the location of the previous
definition
dec_video.c: In function `decode_video':
dec_video.c:697: warning: assignment from incompatible pointer type

==skip==

gcc -I. -I.. -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -I/usr/include  -Wmissing-prototypes
-Wimplicit-function-declaration -fno-omit-frame-pointer
-DWIN32_PATH=\"/usr/lib/win32\" -D__WINE__ -Ddbg_printf=__vprintf
-DTRACE=__vprintf  -c win32.c
win32.c:1408: warning: #warning FIXME
win32.c:1101: warning: no previous prototype for `critsecs_get_pos'
win32.c:1111: warning: no previous prototype for `critsecs_get_unused'
win32.c:1124: warning: no previous prototype for `critsecs_get_unix'
win32.c:2328: warning: no previous prototype for `expstrncmp'
win32.c:2997: warning: no previous prototype for
`expCoCreateFreeThreadedMarshaler'

==skip==

gcc -c -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -I. -I.. -I/usr/include  -DNOAVIFILE_HEADERS -fexceptions  -o
DS_VideoDecoder.o DS_VideoDecoder.cpp
DS_VideoDecoder.cpp:498: warning: #warning NOT SURE
DS_VideoDecoder.cpp:513: warning: #warning FIXME

==skip==

gcc -rdynamic -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -Ilibmpdemux -Iloader -Ilibvo -I/usr/include    -o mplayer
mplayer.o ima4.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o find_sub.o
dec_audio.o dec_video.o codec-cfg.o subreader.o lirc_mp.o cfgparser.o mixer.o
spudec.o dll_init.o -Llibmpdemux -lmpdemux   -Lloader -lloader
-Lloader/DirectShow -lDS_Filter -lstdc++ -Llibavcodec -lavcodec -Llibmpeg2
-lmpeg2 -Llibao2 -lao2 -Lmp3lib -lMP3 -Llibac3 -lac3     -Llibvo -lvo
-L/usr/X11R6/lib -L/usr/lib -lGL   -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng -lz
-lnsl  -lvorbis -lm -lXinerama  -lz   -ldl -lpthread  -Llinux -losdep
-Lpostproc -lpostproc -Lxa -lxa -ldivxdecore -ldivxencore
opendivx/postprocess.o -ltermcap -lm
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o): In function
`DS_VideoDecoder::DS_VideoDecoder(CodecInfo const &, BITMAPINFOHEADER const &,
int)':
DS_VideoDecoder.o(.text+0x44b): undefined reference to `cerr'
DS_VideoDecoder.o(.text+0x450): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x45c): undefined reference to `endl(ostream &)'
DS_VideoDecoder.o(.text+0x791): undefined reference to `cout'
DS_VideoDecoder.o(.text+0x796): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x7a6): undefined reference to `hex(ios &)'
DS_VideoDecoder.o(.text+0x7af): undefined reference to
`ostream::operator<<(int)'
DS_VideoDecoder.o(.text+0x7bf): undefined reference to `dec(ios &)'
DS_VideoDecoder.o(.text+0x7c8): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x7d4): undefined reference to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o): In function
`DS_VideoDecoder::DecodeInternal(void *, unsigned int, int, CImage *)':
DS_VideoDecoder.o(.text+0x9b3): undefined reference to `cerr'
DS_VideoDecoder.o(.text+0x9b8): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x9c4): undefined reference to `endl(ostream &)'
DS_VideoDecoder.o(.text+0x9f1): undefined reference to `cout'
DS_VideoDecoder.o(.text+0x9f6): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0xa02): undefined reference to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o): In function
`DS_VideoDecoder::SetDestFmt(int, unsigned int)':
DS_VideoDecoder.o(.text+0xfc9): undefined reference to `cerr'
DS_VideoDecoder.o(.text+0xfce): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0xfda): undefined reference to `endl(ostream &)'
DS_VideoDecoder.o(.text+0x1121): undefined reference to `cerr'
DS_VideoDecoder.o(.text+0x1126): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x1135): undefined reference to `hex(ios &)'
DS_VideoDecoder.o(.text+0x113e): undefined reference to
`ostream::operator<<(long)'
DS_VideoDecoder.o(.text+0x114d): undefined reference to `dec(ios &)'
DS_VideoDecoder.o(.text+0x1159): undefined reference to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o): In function
`DS_VideoDecoder::GetValue(char const *, int &)':
DS_VideoDecoder.o(.text+0x1303): undefined reference to `cerr'
DS_VideoDecoder.o(.text+0x1308): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x1314): undefined reference to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o): In function
`DS_VideoDecoder::SetValue(char const *, int)':
DS_VideoDecoder.o(.text+0x1612): undefined reference to `cerr'
DS_VideoDecoder.o(.text+0x1617): undefined reference to
`ostream::operator<<(char const *)'
DS_VideoDecoder.o(.text+0x1623): undefined reference to `endl(ostream &)'
loader/DirectShow/libDS_Filter.a(allocator.o): In function
`__malloc_alloc_template<0>::_S_oom_malloc(unsigned int)':
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x1a): undefined reference to `cerr'
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x1f): undefined reference to `ostream::operator<<(char const *)'
allocator.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned
int)+0x2b): undefined reference to `endl(ostream &)'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
billy at billy 13:05:09 main$ 



what's wrong?


-- 
С уважением, Волосёнков Дмитрий.
E-mail: billy at pioneer.pp.ru, ICQ# 33429798




More information about the MPlayer-users mailing list