[Mplayer-users] cant compilöe MPlayer

Nima upbg at rz.uni-karlsruhe.de
Sun Aug 5 02:58:50 CEST 2001


hi list,
i got MPlayer 0.18pre5 tonight. but i cant compile.
i copied DOCS/inittypes.h to . (project root dir)
but i still get a lot of errors.

here i ll send the config.log, make.log config.h config.mak and
libvo/config.mak

maybe someone has a good idea.

thanks  
-- 
Ciao 
       Nima

                      "I think it would be a good idea."
Mahatma Ghandi (1869-1948), when asked what he thought of Western civilisation
-------------- next part --------------
You can get detailed help on configure with: ./configure --help
Please wait while ./configure discovers your software and hardware environment!
Checking version of gcc ... 2.95.2, ok
GL includes not found!
Checking assembler (as) ... 2.9.1, ok
Checking Linux kernel version ... 2.2.19ext3, ok
Install prefix: /usr/local
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
Checking for GGI ... no
Checking for OpenGL ... no
Checking for Xv ... no
Checking for X11 ... yes
Checking for DGA ... yes
Checking for DGA 2.0 .. no
Checking for Xf86VM ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... yes
Checking for OSS Audio ... yes
Checking for ALSA Audio ... no
Checking for ESD Audio ... no
Checking for Sun Audio ... no
Checking for DeCSS support ... no
Checking for PNG support ... no
Checking for DirectShow ... yes
Checking for libavcodec ... yes
Checking for fastmemcpy ... yes
Extra libs : -L/usr/local/lib
Extra headers : -I/usr/local/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!

Please check mtrr settings at /proc/mtrr (see DOCS/MTRR)

Ok, found Win32 codecs directory at /usr/lib/win32.
-------------- next part --------------
./version.sh
make distclean
make[1]: Entering directory `/TMP/MPlayer-0.18pre5'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/mp3lib'
rm -f *~ *.o *.a Makefile.bak .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/mp3lib'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libac3'
rm -f Makefile.bak *.o *.a *~ downmix/*.o downmix/*~ .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libac3'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libmpeg2'
rm -f Makefile.bak *.o *.a *~ .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libmpeg2'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/opendivx'
rm -f Makefile.bak *.o *.a *~ .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/opendivx'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/encore'
rm -f Makefile.bak *.o *.a *~ .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/encore'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libvo'
rm -f Makefile.bak *.o *.a *~ .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libvo'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libao2'
rm -f Makefile.bak *.o *.a *~ .depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libao2'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/loader'
rm -f *.o libloader.a
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/loader'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/loader/DirectShow'
rm -f Makefile.bak *.o *.a *~ .depend test test.raw
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/loader/DirectShow'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/drivers'
rm -f *.o *~
rm -f mga_vid_test
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/drivers'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/drivers/syncfb'
rm -f *.o
rm -f syncfb_test syncfbtv syncfb_off
rm -f *~
rm -f *.bak
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/drivers/syncfb'
rm -f *~ mplayer fibmap_mplayer mplayerHQ aviparse tvision find_sub.o aviprint.o dll_init.o dec_audio.o dec_video.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  *.o *.a .depend
make[1]: Leaving directory `/TMP/MPlayer-0.18pre5'
make depend
make[1]: Entering directory `/TMP/MPlayer-0.18pre5'
./version.sh
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -Iloader -Ilibvo  -I/usr/local/include  mplayer.c find_sub.c aviprint.c dll_init.c dec_audio.c dec_video.c aviwrite.c aviheader.c asfheader.c demux_avi.c demux_asf.c demux_mpg.c demuxer.c stream.c codec-cfg.c subreader.c linux/getch2.c linux/timer-lx.c linux/shmem.c xa/xa_gsm.c lirc_mp.c cfgparser.c mixer.c dvdauth.c spudec.c  1>.depend
In file included from mplayer.c:44:
libvo/video_out.h:9: warning: No include path in which to find inttypes.h
In file included from mplayer.c:51:
libac3/ac3.h:25: warning: No include path in which to find inttypes.h
In file included from find_sub.c:7:
libvo/video_out.h:9: warning: No include path in which to find inttypes.h
In file included from dec_audio.c:25:
libac3/ac3.h:25: warning: No include path in which to find inttypes.h
In file included from dec_video.c:26:
libvo/video_out.h:9: warning: No include path in which to find inttypes.h
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/mp3lib'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I/usr/local/include sr1.c d_cpu.s decode_i586.s decode_MMX.s dct64_MMX.s tabinit_MMX.s dct36_3dnow.s dct64_3dnow.s 1>.depend
In file included from bswap.h:2,
                 from sr1.c:27:
../libac3/bswap.h:12: warning: No include path in which to find inttypes.h
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/mp3lib'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libac3'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I.. -I/usr/local/include -DHAVE_CONFIG_H bit_allocate.c bitstream.c coeff.c crc.c debug.c decode.c dither.c exponent.c imdct.c parse.c rematrix.c sanity_check.c srfft.c stats.c downmix/downmix_3dnow.S 1>.depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libac3'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libmpeg2'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I../libvo -I.. -I/usr/local/include -DMPG12PLAY header.c idct.c idct_mmx.c motion_comp.c motion_comp_mmx.c slice.c stats.c decode.c 1>.depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libmpeg2'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libvo'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I.. -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT  -I/usr/local/include -DMPG12PLAY aclib.c osd.c font_load.c rgb15to16mmx.c yuv2rgb_mmx.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_odivx.c x11_common.c vo_sdl.c vo_x11.c vo_svga.c vo_dga.c vo_fbdev.c 1>.depend
x11_common.c:92: warning: #warning Better local display detection method is needed. 
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libvo'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/libao2'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I.. -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -I/usr/local/include audio_out.c ao_null.c ao_pcm.c ao_oss.c ao_sdl.c 1>.depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/libao2'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/opendivx'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I.. -I../libmpeg2 -I/usr/local/include -D_DECORE -DO_BINARY=0 -DLINUX  basic_prediction.c decore.c getbits.c idct.c mp4_block.c mp4_decoder.c mp4_header.c mp4_mblock.c mp4_picture.c mp4_predict.c mp4_recon.c mp4_vld.c postprocess.c 1>.depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/opendivx'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/encore'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I/usr/local/include encore.c mom_access.c bitstream.c mom_util.c mot_code.c mot_est_comp.c mot_est_mb.c mot_util.c putvlc.c rc_hist.c rc_q2.c rgb2yuv.c text_bits.c text_code.c text_code_mb.c text_dct.c vop_code.c 1>.depend
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/encore'
make[2]: Entering directory `/TMP/MPlayer-0.18pre5/loader/DirectShow'
gcc -MM -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -I. -I.. -I../wine -I/usr/local/include -fexceptions  DS_AudioDec.cpp DS_VideoDec.cpp DS_Filter.cpp allocator.cpp cmediasample.cpp guids.cpp inputpin.cpp outputpin.cpp 1>.depend
In file included from interfaces.h:12,
                 from DS_AudioDec.cpp:36:
default.h:6: warning: No include path in which to find stdint.h
In file included from interfaces.h:12,
                 from DS_VideoDec.cpp:37:
default.h:6: warning: No include path in which to find stdint.h
In file included from interfaces.h:12,
                 from DS_Filter.h:4,
                 from DS_Filter.cpp:3:
default.h:6: warning: No include path in which to find stdint.h
In file included from interfaces.h:12,
                 from allocator.h:4,
                 from allocator.cpp:2:
default.h:6: warning: No include path in which to find stdint.h
In file included from interfaces.h:12,
                 from cmediasample.h:4,
                 from cmediasample.cpp:3:
default.h:6: warning: No include path in which to find stdint.h
In file included from interfaces.h:12,
                 from inputpin.h:3,
                 from inputpin.cpp:1:
default.h:6: warning: No include path in which to find stdint.h
In file included from interfaces.h:12,
                 from outputpin.h:5,
                 from outputpin.cpp:6:
default.h:6: warning: No include path in which to find stdint.h
make[2]: Leaving directory `/TMP/MPlayer-0.18pre5/loader/DirectShow'
make[1]: Leaving directory `/TMP/MPlayer-0.18pre5'
gcc -c -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -Iloader -Ilibvo  -I/usr/local/include  -o mplayer.o mplayer.c
In file included from mplayer.c:44:
libvo/video_out.h:9: inttypes.h: Datei oder Verzeichnis nicht gefunden
In file included from mplayer.c:51:
libac3/ac3.h:25: inttypes.h: Datei oder Verzeichnis nicht gefunden
In file included from mplayer.c:44:
libvo/video_out.h:42: parse error before `uint32_t'
libvo/video_out.h:42: warning: no semicolon at end of struct or union
libvo/video_out.h:50: parse error before `*'
libvo/video_out.h:50: parse error before `format'
libvo/video_out.h:50: `uint32_t' declared as function returning a function
libvo/video_out.h:50: warning: data definition has no type or storage class
libvo/video_out.h:63: parse error before `*'
libvo/video_out.h:63: parse error before `*'
libvo/video_out.h:63: `uint32_t' declared as function returning a function
libvo/video_out.h:63: warning: data definition has no type or storage class
libvo/video_out.h:73: parse error before `*'
libvo/video_out.h:73: parse error before `*'
libvo/video_out.h:73: `uint32_t' declared as function returning a function
libvo/video_out.h:73: warning: data definition has no type or storage class
libvo/video_out.h:91: parse error before `}'
libvo/video_out.h:91: warning: data definition has no type or storage class
libvo/video_out.h:95: parse error before `*'
libvo/video_out.h:95: warning: data definition has no type or storage class
In file included from mplayer.c:51:
libac3/ac3.h:35: parse error before `uint32_t'
libac3/ac3.h:35: warning: no semicolon at end of struct or union
libac3/ac3.h:37: parse error before `*'
libac3/ac3.h:39: parse error before `num_output_ch'
libac3/ac3.h:39: warning: data definition has no type or storage class
libac3/ac3.h:41: parse error before `dual_mono_ch_sel'
libac3/ac3.h:41: warning: data definition has no type or storage class
libac3/ac3.h:42: warning: data definition has no type or storage class
libac3/ac3.h:44: parse error before `ac3_config'
libac3/ac3.h:44: warning: data definition has no type or storage class
libac3/ac3.h:48: parse error before `uint32_t'
libac3/ac3.h:48: warning: no semicolon at end of struct or union
libac3/ac3.h:49: warning: data definition has no type or storage class
libac3/ac3.h:51: parse error before `}'
libac3/ac3.h:51: warning: data definition has no type or storage class
libac3/ac3.h:54: parse error before `*'
libac3/ac3.h:54: warning: data definition has no type or storage class
In file included from mplayer.c:52:
libmpeg2/mpeg2.h:30: parse error before `uint32_t'
libmpeg2/mpeg2.h:30: warning: no semicolon at end of struct or union
libmpeg2/mpeg2.h:41: parse error before `*'
libmpeg2/mpeg2.h:41: warning: data definition has no type or storage class
libmpeg2/mpeg2.h:43: parse error before `*'
libmpeg2/mpeg2.h:43: warning: data definition has no type or storage class
libmpeg2/mpeg2.h:45: parse error before `code'
libmpeg2/mpeg2.h:45: warning: data definition has no type or storage class
libmpeg2/mpeg2.h:49: parse error before `}'
libmpeg2/mpeg2.h:49: warning: data definition has no type or storage class
libmpeg2/mpeg2.h:54: parse error before `*'
In file included from mplayer.c:53:
libmpeg2/mpeg2_internal.h:49: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:49: warning: no semicolon at end of struct or union
libmpeg2/mpeg2_internal.h:52: parse error before `}'
libmpeg2/mpeg2_internal.h:52: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:55: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:55: warning: no semicolon at end of struct or union
libmpeg2/mpeg2_internal.h:56: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:62: parse error before `}'
libmpeg2/mpeg2_internal.h:62: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:72: parse error before `uint32_t'
libmpeg2/mpeg2_internal.h:72: warning: no semicolon at end of struct or union
libmpeg2/mpeg2_internal.h:74: parse error before `*'
libmpeg2/mpeg2_internal.h:74: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:79: parse error before `b_motion'
libmpeg2/mpeg2_internal.h:79: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:80: parse error before `f_motion'
libmpeg2/mpeg2_internal.h:80: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:93: parse error before `intra_quantizer_matrix'
libmpeg2/mpeg2_internal.h:93: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:94: parse error before `non_intra_quantizer_matrix'
libmpeg2/mpeg2_internal.h:94: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:126: parse error before `*'
libmpeg2/mpeg2_internal.h:126: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:154: parse error before `}'
libmpeg2/mpeg2_internal.h:154: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:158: parse error before `uint32_t'
libmpeg2/mpeg2_internal.h:158: warning: no semicolon at end of struct or union
libmpeg2/mpeg2_internal.h:159: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:163: parse error before `config'
libmpeg2/mpeg2_internal.h:163: warning: data definition has no type or storage class
libmpeg2/mpeg2_internal.h:168: parse error before `*'
libmpeg2/mpeg2_internal.h:169: parse error before `*'
libmpeg2/mpeg2_internal.h:170: parse error before `*'
libmpeg2/mpeg2_internal.h:171: parse error before `*'
libmpeg2/mpeg2_internal.h:177: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:178: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:181: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:182: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:183: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:184: parse error before `uint8_t'
libmpeg2/mpeg2_internal.h:192: parse error before `*'
libmpeg2/mpeg2_internal.h:193: parse error before `*'
libmpeg2/mpeg2_internal.h:211: parse error before `*'
libmpeg2/mpeg2_internal.h:214: parse error before `code'
libmpeg2/mpeg2_internal.h:216: parse error before `*'
mplayer.c:212: parse error before `*'
mplayer.c:212: warning: data definition has no type or storage class
mplayer.c:230: parse error before `*'
mplayer.c:230: warning: data definition has no type or storage class
mplayer.c: In function `exit_player':
mplayer.c:358: request for member `uninit' in something not a structure or union
mplayer.c: At top level:
mplayer.c:397: parse error before `*'
mplayer.c: In function `main':
mplayer.c:497: request for member `get_info' in something not a structure or union
mplayer.c:543: request for member `get_info' in something not a structure or union
mplayer.c:1038: request for member `frame_rate_code' in something not a structure or union
mplayer.c:1046: request for member `frame_rate_code' in something not a structure or union
mplayer.c:1048: request for member `display_picture_width' in something not a structure or union
mplayer.c:1049: request for member `display_picture_height' in something not a structure or union
mplayer.c:1051: request for member `bitrate' in something not a structure or union
mplayer.c:1051: request for member `bitrate' in something not a structure or union
mplayer.c:1053: request for member `mpeg1' in something not a structure or union
mplayer.c:1055: request for member `aspect_ratio_information' in something not a structure or union
mplayer.c:1057: request for member `bitrate' in something not a structure or union
mplayer.c:1058: request for member `bitrate' in something not a structure or union
mplayer.c:1143: request for member `query_format' in something not a structure or union
mplayer.c:1227: request for member `get_info' in something not a structure or union
mplayer.c:1264: request for member `init' in something not a structure or union
mplayer.c:1548: request for member `frame_rate_code' in something not a structure or union
mplayer.c:1550: request for member `frame_rate_code' in something not a structure or union
mplayer.c:1552: request for member `frame_rate_code' in something not a structure or union
mplayer.c:1556: request for member `repeat_count' in something not a structure or union
mplayer.c:1557: request for member `repeat_count' in something not a structure or union
mplayer.c:1644: request for member `flip_page' in something not a structure or union
mplayer.c:1763: request for member `check_events' in something not a structure or union
mplayer.c:2050: request for member `bitrate' in something not a structure or union
mplayer.c:2053: request for member `bitrate' in something not a structure or union
mplayer.c: At top level:
libvo/video_out.h:95: warning: array `video_out_drivers' assumed to have one element
make: *** [mplayer.o] Error 1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20010805/676d5f10/attachment.asc>
-------------- next part --------------

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

prefix = /usr/local
AR=ar
CC=gcc
# OPTFLAGS=-O4   -march=k6 -mcpu=k6 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS=-O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer
EXTRA_INC=-I/usr/local/include
WIN32_PATH=-DWIN32_PATH=\"/usr/lib/win32\"

X11_INC=
X11DIR=-L/usr/X11R6/lib
X_LIBS=-L/usr/X11R6/lib -L/usr/local/lib   -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXdpms  -lXxf86vm -lvgagl -lvga   -lnsl

TERMCAP_LIB=
XMM_LIBS = 
LIRC_LIBS = 
CSS_LIB = 
CSS_INC = 
SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT
DS_DEP = loader/DirectShow/libDS_Filter.a libavcodec/libavcodec.a
DS_LIB = -Lloader/DirectShow -lDS_Filter -lstdc++ -Llibavcodec -lavcodec
ALSA_LIB = 
ESD_LIB = 
ARCH_LIBS = -ldl -lpthread
STREAM_SRCS = 

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86=yes
TARGET_CPU=586
TARGET_MMX=yes
TARGET_MMX2=no
TARGET_3DNOW=yes
TARGET_3DNOWEX=no
TARGET_SSE=no

BINUTILS=no
-------------- next part --------------

include ../config.mak

OPTIONAL_SRCS= vo_sdl.c vo_x11.c vo_svga.c vo_dga.c vo_fbdev.c
OPTIONAL_OBJS=vo_sdl.o vo_x11.o vo_svga.o vo_dga.o vo_fbdev.o



More information about the MPlayer-users mailing list