[MPlayer-users] Can't compile cvs mplayer
Heine Laursen
maillist at gozar.dynu.com
Sat Mar 5 13:18:50 CET 2005
Hi.
Is there somthing wrong with the current cvs mplayer, ore is it just me
who can't compile the cvs version?
I run ./configure, then make
If more info is needed, please tell as I don't know what to include!
Here's the last entryes of make!
dvd_input.c: In function `DVDInputSetup':
dvd_input.c:135: warning: assignment from incompatible pointer type
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o
dvd_reader.o dvd_reader.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o dvd_udf.o
dvd_udf.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o error.o
error.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o
ifo_print.o ifo_print.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o ifo_read.o
ifo_read.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o ioctl.o
ioctl.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o
libdvdcss.o libdvdcss.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o
nav_print.o nav_print.c
cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MPLAYER
-DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o nav_read.o
nav_read.c
ar rc libmpdvdkit.a css.o device.o dvd_input.o dvd_reader.o dvd_udf.o
error.o ifo_print.o ifo_read.o ioctl.o libdvdcss.o nav_print.o nav_read.o
true libmpdvdkit.a
make[1]: Leaving directory `/home/hl/cvsmplayer/main/libmpdvdkit2'
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o
codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o
subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o
m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o
libvo/libvo.a libao2/libao2.a vidix/libvidix.a
libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a
loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a
input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
-lmpdvdkit libavcodec/libavcodec.a -lmad -ldv -ldivxdecore
-lmp3lame -lxvidcore -lm -lpng -lz -lz -ljpeg -lasound -ldl -lpthread
-lfreetype -lz -ltermcap -lnsl -lfontconfig
libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
tremor/libvorbisidec.a -laa -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -lSDL -lpthread
-lvgagl -lvga -lm -L/usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl
-lgthread-2.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -laudio -lXt
-L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -ldl -rdynamic -lm
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-4 -mcpu=athlon-4 -pipe-ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include -o mencoder.o mencoder.c
In file included from libmpdemux/dvbin.h:5,
from cfg-common.h:387,
from cfg-mencoder.h:6,
from mencoder.c:274:
libmpdemux/dvb_defaults.h:69:10: warning: #warning No DVB-T country
defined in dvb_defaults.h, defaulting to UK. Ignore this if using
Satellite or Cable.
In file included from mencoder.c:274:
cfg-mencoder.h:75: error: parse error before '<<' token
cfg-mencoder.h:226: error: `ovc_conf' undeclared here (not in a function)
cfg-mencoder.h:226: error: initializer element is not constant
cfg-mencoder.h:226: error: (near initialization for `mencoder_opts[12].p')
cfg-mencoder.h:226: error: initializer element is not constant
cfg-mencoder.h:226: error: (near initialization for `mencoder_opts[12]')
cfg-mencoder.h:229: error: initializer element is not constant
cfg-mencoder.h:229: error: (near initialization for `mencoder_opts[13]')
cfg-mencoder.h:232: error: initializer element is not constant
cfg-mencoder.h:232: error: (near initialization for `mencoder_opts[14]')
cfg-mencoder.h:235: error: initializer element is not constant
cfg-mencoder.h:235: error: (near initialization for `mencoder_opts[15]')
cfg-mencoder.h:237: error: initializer element is not constant
cfg-mencoder.h:237: error: (near initialization for `mencoder_opts[16]')
cfg-mencoder.h:238: error: initializer element is not constant
cfg-mencoder.h:238: error: (near initialization for `mencoder_opts[17]')
cfg-mencoder.h:240: error: initializer element is not constant
cfg-mencoder.h:240: error: (near initialization for `mencoder_opts[18]')
cfg-mencoder.h:241: error: initializer element is not constant
cfg-mencoder.h:241: error: (near initialization for `mencoder_opts[19]')
cfg-mencoder.h:242: error: initializer element is not constant
cfg-mencoder.h:242: error: (near initialization for `mencoder_opts[20]')
cfg-mencoder.h:244: error: initializer element is not constant
cfg-mencoder.h:244: error: (near initialization for `mencoder_opts[21]')
cfg-mencoder.h:245: error: initializer element is not constant
cfg-mencoder.h:245: error: (near initialization for `mencoder_opts[22]')
cfg-mencoder.h:247: error: initializer element is not constant
cfg-mencoder.h:247: error: (near initialization for `mencoder_opts[23]')
cfg-mencoder.h:248: error: initializer element is not constant
cfg-mencoder.h:248: error: (near initialization for `mencoder_opts[24]')
cfg-mencoder.h:250: error: initializer element is not constant
cfg-mencoder.h:250: error: (near initialization for `mencoder_opts[25]')
cfg-mencoder.h:251: error: initializer element is not constant
cfg-mencoder.h:251: error: (near initialization for `mencoder_opts[26]')
cfg-mencoder.h:254: error: initializer element is not constant
cfg-mencoder.h:254: error: (near initialization for `mencoder_opts[27]')
cfg-mencoder.h:257: error: initializer element is not constant
cfg-mencoder.h:257: error: (near initialization for `mencoder_opts[28]')
cfg-mencoder.h:260: error: initializer element is not constant
cfg-mencoder.h:260: error: (near initialization for `mencoder_opts[29]')
cfg-mencoder.h:263: error: initializer element is not constant
cfg-mencoder.h:263: error: (near initialization for `mencoder_opts[30]')
cfg-mencoder.h:270: error: initializer element is not constant
cfg-mencoder.h:270: error: (near initialization for `mencoder_opts[31]')
cfg-mencoder.h:273: error: initializer element is not constant
cfg-mencoder.h:273: error: (near initialization for `mencoder_opts[32]')
cfg-mencoder.h:276: error: initializer element is not constant
cfg-mencoder.h:276: error: (near initialization for `mencoder_opts[33]')
cfg-mencoder.h:282: error: parse error before '<<' token
cfg-mencoder.h:283: warning: initialization from incompatible pointer type
cfg-mencoder.h:283: error: incompatible types in initialization
cfg-mencoder.h:283: error: initializer element is not constant
cfg-mencoder.h:283: error: (near initialization for `mencoder_opts[34].max')
cfg-mencoder.h:283: error: initializer element is not constant
cfg-mencoder.h:283: error: (near initialization for `mencoder_opts[34]')
cfg-mencoder.h:284: error: parse error before '{' token
mencoder.c: In function `main':
mencoder.c:394: error: parse error before '<<' token
mencoder.c:397: error: parse error before '==' token
mencoder.c:499: error: `curfile' undeclared (first use in this function)
mencoder.c:499: error: (Each undeclared identifier is reported only once
mencoder.c:499: error: for each function it appears in.)
mencoder.c:679: error: structure has no member named `osh'
mencoder.c:680: error: structure has no member named `osh'
mencoder.c:681: error: `vsh' undeclared (first use in this function)
mencoder.c:681: error: structure has no member named `osh'
mencoder.c:831: error: structure has no member named `osh'
mencoder.c:832: error: structure has no member named `osh'
mencoder.c:833: error: structure has no member named `osh'
mencoder.c:1201: error: `timer_start' undeclared (first use in this
function)
mencoder.c:1577: error: parse error before '<<' token
mencoder.c:1580: error: parse error before '==' token
mencoder.c:1604: error: `skip_flag' undeclared (first use in this function)
mencoder.c:1636: error: `a_pts' undeclared (first use in this function)
mencoder.c:1641: error: `v_pts' undeclared (first use in this function)
mencoder.c: At top level:
mencoder.c:1757: error: parse error before "if"
mencoder.c:1760: error: invalid type argument of `->'
mencoder.c:1760: error: parse error before ')' token
mencoder.c:1766: warning: initialization makes integer from pointer
without a cast
mencoder.c:1766: warning: data definition has no type or storage class
mencoder.c:1766: error: parse error before '}' token
mencoder.c:1770: error: redefinition of `at_eof'
mencoder.c:336: error: `at_eof' previously defined here
mencoder.c:1770: warning: data definition has no type or storage class
mencoder.c:1772: warning: parameter names (without types) in function
declaration
mencoder.c:1772: error: conflicting types for `m_config_pop'
m_config.h:47: error: previous declaration of `m_config_pop'
mencoder.c:1772: warning: data definition has no type or storage class
mencoder.c:1773: error: parse error before "goto"
mencoder.c:1780: error: parse error before "vf_instance_t"
mencoder.c:1788: error: parse error before "MPEGLAYER3WAVEFORMAT"
mencoder.c:1794: error: parse error before '(' token
mencoder.c:1799: error: parse error before '(' token
mencoder.c:1801: error: initializer element is not constant
mencoder.c:1801: warning: data definition has no type or storage class
mencoder.c:1802: error: parse error before '(' token
mencoder.c:1803: error: parse error before numeric constant
mencoder.c:1803: warning: data definition has no type or storage class
mencoder.c:1807: error: parse error before numeric constant
mencoder.c:1814: error: parse error before '(' token
mencoder.c:1815: error: parse error before '(' token
mencoder.c:1816: error: parse error before '(' token
mencoder.c:1817: error: parse error before '(' token
mencoder.c:1818: error: parse error before '(' token
mencoder.c:1821: error: parse error before '(' token
mencoder.c:1827: error: redefinition of `sh_video'
mencoder.c:1766: error: `sh_video' previously defined here
mencoder.c:1827: warning: initialization makes integer from pointer
without a cast
mencoder.c:1827: warning: data definition has no type or storage class
mencoder.c:1827: error: parse error before '}' token
{standard input}: Assembler messages:
{standard input}:1727: Error: symbol `at_eof' is already defined
{standard input}:1733: Error: symbol `sh_video' is already defined
make: *** [mencoder.o] Error 1
--
Sincerley
Heine Laursen
More information about the MPlayer-users
mailing list