[vlc] Re: VLC 0.6.0-test2 - compile trouble and workaround

Bob Yeaw byeaw at widevine.com
Tue Jun 3 23:59:22 CEST 2003


I had difficulty getting this compiled, though it seems to be working now...

I'm using:
Linux version 2.4.18-3 (bhcompile at daffy.perf.redhat.com) (gcc version 2.96
20000731 (
Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 2002

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.

[root at tstmpegb1130 vlc6rc2]# ./configure
--with-ffmpeg-tree=/root/vlc6rc2/ffmpeg
-20030517
...
checking for X11/extensions/dpms.h... yes
checking for DPMSInfo in X11/extensions/dpms.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/extensions/Xinerama.h usability... no
checking X11/extensions/Xinerama.h presence... yes
configure: WARNING: X11/extensions/Xinerama.h: present but cannot be
compiled
configure: WARNING: X11/extensions/Xinerama.h: check for missing
prerequisite he
aders?
configure: WARNING: X11/extensions/Xinerama.h: proceeding with the
preprocessor'
s result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking X11/extensions/Xv.h usability... yes
checking X11/extensions/Xv.h presence... yes
checking for X11/extensions/Xv.h... yes
...

[root at tstmpegb1130 vlc-0.6.0-test2]# rpm -q autoconf
autoconf-2.13-17

[root at tstmpegb1130 vlc6rc2]#make
...
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -I./include -D_FILE_OFFSET_BITS=64
-D__USE_UNIX98
 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE
-DLOCALEDIR=\"/usr/l
ocal/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\"
-DPLUGIN_PATH=\"/usr/local/l
ib/vlc\"     -D__VLC__ -D__PLUGIN__ -I/usr/X11R6/include -DMODULE_NAME=x11
-DMODULE_N
AME_IS_x11 -DSYS_LINUX -O3 -ffast-math -funroll-loops -mcpu=pentiumpro
-fomit-frame-p
ointer     -fPIC  -I./include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98
-D_LARGEFILE64_SO
URCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE
-DLOCALEDIR=\"/usr/local/share/locale\
" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\"
-D__V
LC__ -D__PLUGIN__ -I/usr/X11R6/include -DMODULE_NAME=x11
-DMODULE_NAME_IS_x11 -Winlin
e -Wsign-compare -Wall  -finline-limit-30000 -pipe -MT
modules/video_output/x11/modul
es_video_output_x11_libx11_plugin_a-xcommon.o -MD -MP -MF
"modules/video_output/x11/.
deps/modules_video_output_x11_libx11_plugin_a-xcommon.Tpo" \
  -c -o
modules/video_output/x11/modules_video_output_x11_libx11_plugin_a-xcommon.o
`
test -f 'modules/video_output/x11/xcommon.c' || echo
'./'`modules/video_output/x11/xc
ommon.c; \
then mv -f
"modules/video_output/x11/.deps/modules_video_output_x11_libx11_plugin_a-x
common.Tpo"
"modules/video_output/x11/.deps/modules_video_output_x11_libx11_plugin_a-
xcommon.Po"; \
else rm -f
"modules/video_output/x11/.deps/modules_video_output_x11_libx11_plugin_a-x
common.Tpo"; exit 1; \
fi
modules/video_output/x11/xcommon.c: In function `ManageVideo':
modules/video_output/x11/xcommon.c:543: parse error before `*'
modules/video_output/x11/xcommon.c:546: `p_playlist' undeclared (first use
in this fu
nction)
modules/video_output/x11/xcommon.c:546: (Each undeclared identifier is
reported only
once
modules/video_output/x11/xcommon.c:546: for each function it appears in.)
modules/video_output/x11/xcommon.c:690: parse error before `*'
make[2]: ***
[modules/video_output/x11/modules_video_output_x11_libx11_plugin_a-xcomm
on.o] Error 1
make[2]: Leaving directory `/root/vlc6rc2/vlc-0.6.0-test2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vlc6rc2/vlc-0.6.0-test2'
make: *** [all] Error 2

Finally, note that I was able to compile with:
[root at tstmpegb1130 vlc6rc2]# ./configure
--with-ffmpeg-tree=/root/vlc6rc2/ffmpeg
-20030517 --disable-x11 --disable-xvideo 


-bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20030603/72b4ba86/attachment.html>


More information about the vlc mailing list