[MPlayer-users] Compilation problems on cvs 2003-04-03

Meino Christian Cramer mccramer at s.netic.de
Fri Apr 4 09:19:15 CEST 2003


Hi,

 compiling mplayer cvs (2003-04-03) with the following flags:

 ./configure --prefix=/usr --enable-menu --disable-sdl \
   --enable-gui --enable-linux-devfs --enable-shared-pp \
   --disable-xvid --cc=gcc --enable-dxr3 && make

 (gcc is gcc-2.95.3) 

 produces the following compilation error:

 gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fexpensive-optimizations -fschedule-insns2 -Wall -malign-double -I. -I../loader -I./wm -I./skin -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -DDEBUG  -o interface.o interface.c
 interface.c: In function `guiGetEvent':
 interface.c:579: `vcd_track' undeclared (first use in this function)
 interface.c:579: (Each undeclared identifier is reported only once
 interface.c:579: for each function it appears in.)
 interface.c: In function `gtkSet':
 interface.c:1034: warning: passing arg 2 of pointer to function makes pointer from integer without a cast
 interface.c:1065: warning: passing arg 2 of pointer to function makes pointer from integer without a cast
 interface.c:1073: warning: passing arg 2 of pointer to function makes pointer from integer without a cast
 interface.c: At top level:
 ../cfg-mplayer-def.h:1: warning: `default_config' defined but not used
 make[1]: *** [interface.o] Error 1
 make[1]: Leaving directory `/home/mccramer/data/pool2/ARCHIVE/compiles/MPlayer-20030403/Gui'


 I saw this bug in previous cvs snapshots, also.

 Switching to gcc-3.2.2. does not solve the problem.

 I included the directory "libavcodec" of a cvs snapshot of ffmpeg of
 the same date into the source tree before configuring/compiling.

 What did I wrong? How can I circumvent the problem?

 Thank you very much for any hint / help in advance !

 Kind regards,
 Meino Cramer 

 PS: ffmpeg cvs as such does compile without problems...



More information about the MPlayer-users mailing list