[MPlayer-users] Error compiling mplayer, SVN revision: 23364

Alexander Godumov hellfire7 at gmail.com
Thu May 24 15:23:22 CEST 2007


2007/5/22, Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Alexander Godumov wrote:
>
> [...]
>
> > cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
> > -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
> > -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> > -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
> > -I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
> > -I/usr/include/freetype2 -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> > -I/usr/include/libpng12   -fno-omit-frame-pointer
> > -mno-omit-leaf-frame-pointer   -c -o vfl.o vfl.c
> > In file included from win32.h:13,
> >                  from vfl.c:15:
> > wine/winbase.h:544: warning: 'packed' attribute ignored for field of
> > type 'CHAR[8]'
> > cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
> > -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
> > -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> > -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
> > -I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
> > -I/usr/include/freetype2 -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> > -I/usr/include/libpng12   -fno-omit-frame-pointer
> > -mno-omit-leaf-frame-pointer   -c -o ldt_keeper.o ldt_keeper.c
> > ldt_keeper.c:39:24: error: operator '>=' has no left operand
> > ldt_keeper.c: In function 'Setup_LDT_Keeper':
> > ldt_keeper.c:194: error: storage size of 'array' isn't known
> > ldt_keeper.c:226: error: invalid application of 'sizeof' to incomplete
> > type 'struct modify_ldt_ldt_s'
> > make[1]: *** [ldt_keeper.o] Error 1
> > make[1]: Leaving directory `/home/hellfire/Desktop/mplayer/loader'
> > make: *** [loader/libloader.a] Error 2
> >
> >
> > This error ocurs on debian unstable with kernel 2.6.20-1-686. I found
> > reference to this error here -
> > http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-May/067226.html
> > - but it didn`t help me solve my problem.
>
> Not using Debian, I think it's this bug:
> http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/1b1b367b2dc82423/44784f7abbfa77f6?lnk=raot
>
> As a workaround, try to remove lines 41 (#endif) and 39 (#if
> LINUX_VERSION_CODE) from loader/ldt_keeper.c.
>
> Carl Eugen
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>

Your advice helped me. Thanks. Now it compiles fine.



More information about the MPlayer-users mailing list