[MPlayer-users] CVS compile probs

Meino Christian Cramer Meino.Cramer at gmx.de
Sat Jul 31 17:00:17 CEST 2004


Hi,

 while trying to compile mplayer/ffmpeg from a recent cvs snapshot I
 got these compile time errors:

   cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mtune=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fexpensive-optimizations -fschedule-insns2 -Wall -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 mplayer/gtk/fs.o mplayer/gtk/fs.c
   mplayer/gtk/fs.c: In function `ShowFileSelect':
   mplayer/gtk/fs.c:316: warning: unused variable `hist'
   mplayer/gtk/fs.c: In function `fs_Ok_released':
   mplayer/gtk/fs.c:504: warning: dereferencing type-punned pointer will break strict-aliasing rules
   mplayer/gtk/fs.c: In function `create_FileSelect':
   mplayer/gtk/fs.c:557: warning: unused variable `FSFrame'
   mplayer/gtk/fs.c:558: warning: unused variable `frame2'
   mplayer/gtk/fs.c:559: warning: unused variable `frame3'
   mplayer/gtk/fs.c:560: warning: unused variable `frame4'
   mplayer/gtk/fs.c:564: warning: unused variable `hseparator1'
   mplayer/gtk/fs.c:567: warning: unused variable `label1'
   mplayer/gtk/fs.c:568: warning: unused variable `hseparator2'
   mplayer/gtk/fs.c:569: warning: unused variable `hseparator3'
   cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mtune=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fexpensive-optimizations -fschedule-insns2 -Wall -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 mplayer/gtk/opts.o mplayer/gtk/opts.c
   mplayer/gtk/opts.c: In function `HidePreferences':
   mplayer/gtk/opts.c:459: warning: implicit declaration of function `HideDXR3Config'
   mplayer/gtk/opts.c: In function `prButton':
   mplayer/gtk/opts.c:543: warning: dereferencing type-punned pointer will break strict-aliasing rules
   mplayer/gtk/opts.c:593: warning: dereferencing type-punned pointer will break strict-aliasing rules
   mplayer/gtk/opts.c:594: warning: dereferencing type-punned pointer will break strict-aliasing rules
   mplayer/gtk/opts.c:613: warning: implicit declaration of function `ShowDXR3Config'
   mplayer/gtk/opts.c: In function `create_Preferences':
   mplayer/gtk/opts.c:1161: warning: implicit declaration of function `get_video_quality_max'
   mplayer/gtk/opts.c:749: warning: unused variable `hbuttonbox2'
   mplayer/gtk/opts.c:757: warning: unused variable `hbox3'
   mplayer/gtk/opts.c: In function `audioButton':
   mplayer/gtk/opts.c:1449: warning: passing arg 1 of `gfree' from incompatible pointer type
   mplayer/gtk/opts.c:1451: warning: passing arg 1 of `gfree' from incompatible pointer type
   mplayer/gtk/opts.c:1453: warning: passing arg 1 of `gfree' from incompatible pointer type
   mplayer/gtk/opts.c:1459: warning: passing arg 1 of `gfree' from incompatible pointer type
   mplayer/gtk/opts.c:1461: warning: passing arg 1 of `gfree' from incompatible pointer type
   mplayer/gtk/opts.c:1463: warning: passing arg 1 of `gfree' from incompatible pointer type
   mplayer/gtk/opts.c: At top level:
   mplayer/gtk/opts.c:1614: error: conflicting types for 'ShowDXR3Config'
   mplayer/gtk/opts.c:613: error: previous implicit declaration of 'ShowDXR3Config' was here
   mplayer/gtk/opts.c:1633: error: conflicting types for 'HideDXR3Config'
   mplayer/gtk/opts.c:459: error: previous implicit declaration of 'HideDXR3Config' was here
   mplayer/gtk/opts.c: In function `dxr3Button':
   mplayer/gtk/opts.c:1645: warning: dereferencing type-punned pointer will break strict-aliasing rules
   mplayer/gtk/opts.c: In function `create_DXR3Config':
   mplayer/gtk/opts.c:1687: error: `MSGTR_PREFERENCES_OSS_Device' undeclared (first use in this function)
   mplayer/gtk/opts.c:1687: error: (Each undeclared identifier is reported only once
   mplayer/gtk/opts.c:1687: error: for each function it appears in.)
   make[1]: *** [mplayer/gtk/opts.o] Error 1
   make[1]: Leaving directory `/tmp/mplayer/main/Gui'
   make: *** [Gui/libgui.a] Error 2

 What did I wrong ?

 Kind regards,
 Meino




More information about the MPlayer-users mailing list