<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [vlc] VLC 0.6.0-test2 - compile trouble and workaround</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I had difficulty getting this compiled, though it seems to be working now...</FONT>
</P>
<P><FONT SIZE=2>I'm using:</FONT>
<BR><FONT SIZE=2>Linux version 2.4.18-3 (bhcompile@daffy.perf.redhat.com) (gcc version 2.96 20000731 (</FONT>
<BR><FONT SIZE=2>Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 2002</FONT>
</P>
<P><FONT SIZE=2>Before I did anything I had to remove line 41 and 43 in modules/video_filter/osd_text.c as described on this list on 5/23/2003.</FONT></P>
<P><FONT SIZE=2>[root@tstmpegb1130 vlc6rc2]# ./configure --with-ffmpeg-tree=/root/vlc6rc2/ffmpeg</FONT>
<BR><FONT SIZE=2>-20030517</FONT>
<BR><FONT SIZE=2>...</FONT>
<BR><FONT SIZE=2>checking for X11/extensions/dpms.h... yes</FONT>
<BR><FONT SIZE=2>checking for DPMSInfo in X11/extensions/dpms.h... yes</FONT>
<BR><FONT SIZE=2>checking X11/Xlib.h usability... yes</FONT>
<BR><FONT SIZE=2>checking X11/Xlib.h presence... yes</FONT>
<BR><FONT SIZE=2>checking for X11/Xlib.h... yes</FONT>
<BR><FONT SIZE=2>checking X11/extensions/Xinerama.h usability... no</FONT>
<BR><FONT SIZE=2>checking X11/extensions/Xinerama.h presence... yes</FONT>
<BR><FONT SIZE=2>configure: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled</FONT>
<BR><FONT SIZE=2>configure: WARNING: X11/extensions/Xinerama.h: check for missing prerequisite he</FONT>
<BR><FONT SIZE=2>aders?</FONT>
<BR><FONT SIZE=2>configure: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor'</FONT>
<BR><FONT SIZE=2>s result</FONT>
<BR><FONT SIZE=2>configure: WARNING: ## ------------------------------------ ##</FONT>
<BR><FONT SIZE=2>configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##</FONT>
<BR><FONT SIZE=2>configure: WARNING: ## ------------------------------------ ##</FONT>
<BR><FONT SIZE=2>checking for X11/extensions/Xinerama.h... yes</FONT>
<BR><FONT SIZE=2>checking for XineramaQueryExtension in -lXinerama... yes</FONT>
<BR><FONT SIZE=2>checking X11/extensions/Xv.h usability... yes</FONT>
<BR><FONT SIZE=2>checking X11/extensions/Xv.h presence... yes</FONT>
<BR><FONT SIZE=2>checking for X11/extensions/Xv.h... yes</FONT>
<BR><FONT SIZE=2>...</FONT>
</P>
<P><FONT SIZE=2>[root@tstmpegb1130 vlc-0.6.0-test2]# rpm -q autoconf</FONT>
<BR><FONT SIZE=2>autoconf-2.13-17</FONT>
</P>
<P><FONT SIZE=2>[root@tstmpegb1130 vlc6rc2]#make</FONT>
<BR><FONT SIZE=2>...</FONT>
<BR><FONT SIZE=2>if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98</FONT>
<BR><FONT SIZE=2> -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLOCALEDIR=\"/usr/l</FONT>
<BR><FONT SIZE=2>ocal/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/l</FONT>
<BR><FONT SIZE=2>ib/vlc\" -D__VLC__ -D__PLUGIN__ -I/usr/X11R6/include -DMODULE_NAME=x11 -DMODULE_N</FONT>
<BR><FONT SIZE=2>AME_IS_x11 -DSYS_LINUX -O3 -ffast-math -funroll-loops -mcpu=pentiumpro -fomit-frame-p</FONT>
<BR><FONT SIZE=2>ointer -fPIC -I./include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SO</FONT>
<BR><FONT SIZE=2>URCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\</FONT>
<BR><FONT SIZE=2>" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -D__V</FONT>
<BR><FONT SIZE=2>LC__ -D__PLUGIN__ -I/usr/X11R6/include -DMODULE_NAME=x11 -DMODULE_NAME_IS_x11 -Winlin</FONT>
<BR><FONT SIZE=2>e -Wsign-compare -Wall -finline-limit-30000 -pipe -MT modules/video_output/x11/modul</FONT>
<BR><FONT SIZE=2>es_video_output_x11_libx11_plugin_a-xcommon.o -MD -MP -MF "modules/video_output/x11/.</FONT>
<BR><FONT SIZE=2>deps/modules_video_output_x11_libx11_plugin_a-xcommon.Tpo" \</FONT>
<BR><FONT SIZE=2> -c -o modules/video_output/x11/modules_video_output_x11_libx11_plugin_a-xcommon.o `</FONT>
<BR><FONT SIZE=2>test -f 'modules/video_output/x11/xcommon.c' || echo './'`modules/video_output/x11/xc</FONT>
<BR><FONT SIZE=2>ommon.c; \</FONT>
<BR><FONT SIZE=2>then mv -f "modules/video_output/x11/.deps/modules_video_output_x11_libx11_plugin_a-x</FONT>
<BR><FONT SIZE=2>common.Tpo" "modules/video_output/x11/.deps/modules_video_output_x11_libx11_plugin_a-</FONT>
<BR><FONT SIZE=2>xcommon.Po"; \</FONT>
<BR><FONT SIZE=2>else rm -f "modules/video_output/x11/.deps/modules_video_output_x11_libx11_plugin_a-x</FONT>
<BR><FONT SIZE=2>common.Tpo"; exit 1; \</FONT>
<BR><FONT SIZE=2>fi</FONT>
<BR><FONT SIZE=2>modules/video_output/x11/xcommon.c: In function `ManageVideo':</FONT>
<BR><FONT SIZE=2>modules/video_output/x11/xcommon.c:543: parse error before `*'</FONT>
<BR><FONT SIZE=2>modules/video_output/x11/xcommon.c:546: `p_playlist' undeclared (first use in this fu</FONT>
<BR><FONT SIZE=2>nction)</FONT>
<BR><FONT SIZE=2>modules/video_output/x11/xcommon.c:546: (Each undeclared identifier is reported only</FONT>
<BR><FONT SIZE=2>once</FONT>
<BR><FONT SIZE=2>modules/video_output/x11/xcommon.c:546: for each function it appears in.)</FONT>
<BR><FONT SIZE=2>modules/video_output/x11/xcommon.c:690: parse error before `*'</FONT>
<BR><FONT SIZE=2>make[2]: *** [modules/video_output/x11/modules_video_output_x11_libx11_plugin_a-xcomm</FONT>
<BR><FONT SIZE=2>on.o] Error 1</FONT>
<BR><FONT SIZE=2>make[2]: Leaving directory `/root/vlc6rc2/vlc-0.6.0-test2'</FONT>
<BR><FONT SIZE=2>make[1]: *** [all-recursive] Error 1</FONT>
<BR><FONT SIZE=2>make[1]: Leaving directory `/root/vlc6rc2/vlc-0.6.0-test2'</FONT>
<BR><FONT SIZE=2>make: *** [all] Error 2</FONT>
</P>
<P><FONT SIZE=2>Finally, note that I was able to compile with:</FONT>
<BR><FONT SIZE=2>[root@tstmpegb1130 vlc6rc2]# ./configure --with-ffmpeg-tree=/root/vlc6rc2/ffmpeg</FONT>
<BR><FONT SIZE=2>-20030517 --disable-x11 --disable-xvideo </FONT>
</P>
<BR>
<P><FONT SIZE=2>-bob</FONT>
</P>
</BODY>
</HTML>