[MPlayer-users] Problem compiling svn libmpdemux/demux_nut.c

Giacomo Comes comes at naic.edu
Mon Nov 13 18:51:28 CET 2006


A couple of days ago the file nut.h has been added to libavformat and this cause an 
error during the compilation of demux_nut.c because libavformat/nut.h is included 
instead of the standard nut.h
I use --with-extraincdir=/local/auxmp/include in order to specify the location of 
where the nut include files is and this directory is included after libavformat 
during the compilation.

gcc -c -I.. -I../stream -I../loader  -I../libavutil -I../libavcodec -I../libavformat -Wdeclaration-after-statement -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/local/auxmp/include -I/usr/include/directfb -I/usr/X11/include -I/usr/local/include/  -I/usr/include/SDL -D_REENTRANT -I/opt/kde3/include/artsc -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include  -o demux_nut.o demux_nut.c

Oded tryed to fix the issue a day ago, but his fix works only if you have nut.h
in a standard place (/usr/include, /usr/local/include, etc,).

Suggestions?

Giacomo



More information about the MPlayer-users mailing list