[MPlayer-users] Error compiling SVN Revision: 23304
jebrhansen at gmail.com
Mon May 14 00:15:39 CEST 2007
Well I updated my svn and did a make distclean, and it failed
compiling h264 with debug, so i used
sed -i '/^CFLAGS/s/$/ -fomit-frame-pointer/' libavcodec/Makefile
and I was able to pass that.
But then it errors out on libloader.a
actual error is below:
make: Entering directory `/home/jbhansen/program-downloads/mplayer/loader'
cc -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS -I../libavcodec
-I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil
-W -Wall -Wno-unused-parameter -O2 -march=pentium-m -mtune=pentium-m
-g3 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/X11/include -I/usr/include/
-I/usr/include/SDL -D_REENTRANT -I/opt/kde/include/artsc -pthread
-I/usr/include/freetype2 -I/usr/local/include -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/X11R6/include -I/usr/include/libpng12 -I/usr/local/include
-mno-omit-leaf-frame-pointer -c -o ldt_keeper.o ldt_keeper.c
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
ldt_keeper.c:194: warning: unused variable `array'
make: *** [ldt_keeper.o] Error 1
make: Leaving directory `/home/jbhansen/program-downloads/mplayer/loader'
make: *** [loader/libloader.a] Error 2
I was reading some previous mails about this and someone had
determined it was the persons kernel headers, because he was running a
64bit kernel. But I have a 32bit kernel 22.214.171.124 self-compiled with
the original Slackware include directory. I then changed that to point
to my current kernel's include directory
(/usr/src/linux-126.96.36.199/include/) and make distclean and reconfigured
with my above configure and it still fails in the same spot.
I am using svn r23307.
More information about the MPlayer-users