VLC 0.8.4-svn make error
Posted: 12 Aug 2005 07:20
Hi,
I have used the following configuration:
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# ./bootstrap
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS=-I m4
+ test -d extras/contrib/bin
+ amvers=none
+ automake-1.8 --version
+ automake-1.9 --version
+ amvers=-1.9
+ automake-1.6 --version
+ test -1.9 = none
+ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
++ gettextize --version
+ expr 0.14.1 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.9
+ automake=automake-1.9
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
................................................................... done.
+ rm -f aclocal.m4 configure config.log config.h config.h.in
+ rm -Rf autom4te.cache
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
+ rm -Rf autotools
+ mkdir autotools
+ rm -f ltmain.sh libtool ltconfig
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am
+ rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic
+ rm -f vlc-config.in
+ printf ''
+ '[' yes '!=' yes ']'
+ autopoint -f
Copying file ABOUT-NLS
Copying file autotools/config.rpath
Creating directory intl
Copying file intl/ChangeLog
Copying file intl/Makefile.in
........
Copying file intl/textdomain.c
Copying file autotools/mkinstalldirs
+ aclocal-1.9 -I m4
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/netatalk.m4:9: warning: underquoted definition of AM_PATH_NETATALK
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gnet-2.0.m4:8: warning: underquoted definition of AM_PATH_GNET_2_0
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/ac_find_motif.m4:21: warning: underquoted definition of AC_FIND_MOTIF
/usr/share/aclocal/ac_find_motif.m4:223: warning: underquoted definition of AC_FIND_LIBXP
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
+ autoconf
+ autoheader
+ automake-1.9 --add-missing --copy --gnu
configure.ac: installing `autotools/install-sh'
configure.ac: installing `autotools/missing'
activex/Makefile.am: installing `autotools/compile'
activex/Makefile.am: installing `autotools/depcomp'
configure.ac:16: installing `autotools/config.guess'
configure.ac:16: installing `autotools/config.sub'
+ rm -f vlc-config.in vlc-config
+ rm -f src/misc/modules_builtin.h
+ rm -f mozilla/vlcintf.h
+ set +x
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# ./configure --enable-debug
........
vlc configuration
--------------------
vlc version : 0.8.4-svn
system : linux
architecture : i686 mmx
build flavour : optim devel
vlc aliases : svlc wxvlc
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# make
cd . && cat include/aout_internal.h include/audio_output.h include/beos_specific.h include/charset.h include/codecs.h include/configuration.h include/darwin_specific.h include/intf_eject.h include/iso_lang.h include/main.h include/mmx.h include/modules.h include/modules_inner.h include/mtime.h include/network.h include/osd.h include/os_specific.h include/snapshot.h include/stream_output.h include/variables.h include/video_output.h include/vlc_access.h include/vlc_acl.h include/vlc_bits.h include/vlc_block.h include/vlc_block_helper.h include/vlc_codec.h include/vlc_common.h include/vlc_config.h include/vlc_cpu.h include/vlc_demux.h include/vlc_error.h include/vlc_es.h include/vlc_es_out.h include/vlc_filter.h include/vlc_config_cat.h include/vlc_httpd.h include/vlc_tls.h include/vlc_md5.h include/vlc_image.h include/vlc_input.h include/vlc_interface.h include/vlc_keys.h include/vlc_messages.h include/vlc_meta.h include/vlc_objects.h include/vlc_osd.h include/vlc_playlist.h include/vlc_spu.h include/vlc_stream.h include/vlc_symbols.h include/vlc_threads_funcs.h include/vlc_threads.h include/vlc_video.h include/vlc_vlm.h include/vlc_vod.h include/vlc_xml.h include/vout_synchro.h include/win32_specific.h | perl ./vlc-api.pl
touch stamp-api
srcdir=. ./toolbox --update-includes
creating new ./src/misc/modules_builtin.h
touch src/misc/modules_builtin.h
make all-recursive
make[1]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk'
Making all in intl
make[2]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/intl'
make[2]: `all'
make[2]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/intl'
Making all in loader
make[2]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/loader'
make[2]: `all' .
make[2]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/loader'
Making all in modules
make[2]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/modules'
Making all in access
make[3]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
make[4]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall -pipe -MT libaccess_file_plugin_a-file.o -MD -MP -MF ".deps/libaccess_file_plugin_a-file.Tpo" -c -o libaccess_file_plugin_a-file.o `test -f 'file.c' || echo './'`file.c; \
then mv -f ".deps/libaccess_file_plugin_a-file.Tpo" ".deps/libaccess_file_plugin_a-file.Po"; else rm -f ".deps/libaccess_file_plugin_a-file.Tpo"; exit 1; fi
In file included from ../../include/vlc_common.h:1099,
from ../../include/vlc/vlc.h:149,
from file.c:27:
../../include/modules.h:119: error: parse error before "module_handle_t"
../../include/modules.h:119: warning: no semicolon at end of struct or union
../../include/modules.h:129: error: parse error before '}' token
file.c: In function `vlc_entry__0_8_2':
file.c:89: error: dereferencing pointer to incomplete type
file.c:89: error: dereferencing pointer to incomplete type
.......
file.c:101: error: dereferencing pointer to incomplete type
make[4]: *** [libaccess_file_plugin_a-file.o] Error 1
make[4]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk'
make: *** [all] Error 2
root@linux:/usr/local/cvsroot/vlc/vlc-trunk#
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# uname -a
linux 2.6.12.2
root@linux:/usr/local/cvsroot/vlc/vlc-trunk#
How can I fix this problem?
I have used the following configuration:
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# ./bootstrap
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS=-I m4
+ test -d extras/contrib/bin
+ amvers=none
+ automake-1.8 --version
+ automake-1.9 --version
+ amvers=-1.9
+ automake-1.6 --version
+ test -1.9 = none
+ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
++ gettextize --version
+ expr 0.14.1 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.9
+ automake=automake-1.9
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
................................................................... done.
+ rm -f aclocal.m4 configure config.log config.h config.h.in
+ rm -Rf autom4te.cache
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
+ rm -Rf autotools
+ mkdir autotools
+ rm -f ltmain.sh libtool ltconfig
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am
+ rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic
+ rm -f vlc-config.in
+ printf ''
+ '[' yes '!=' yes ']'
+ autopoint -f
Copying file ABOUT-NLS
Copying file autotools/config.rpath
Creating directory intl
Copying file intl/ChangeLog
Copying file intl/Makefile.in
........
Copying file intl/textdomain.c
Copying file autotools/mkinstalldirs
+ aclocal-1.9 -I m4
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/netatalk.m4:9: warning: underquoted definition of AM_PATH_NETATALK
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gnet-2.0.m4:8: warning: underquoted definition of AM_PATH_GNET_2_0
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/ac_find_motif.m4:21: warning: underquoted definition of AC_FIND_MOTIF
/usr/share/aclocal/ac_find_motif.m4:223: warning: underquoted definition of AC_FIND_LIBXP
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
+ autoconf
+ autoheader
+ automake-1.9 --add-missing --copy --gnu
configure.ac: installing `autotools/install-sh'
configure.ac: installing `autotools/missing'
activex/Makefile.am: installing `autotools/compile'
activex/Makefile.am: installing `autotools/depcomp'
configure.ac:16: installing `autotools/config.guess'
configure.ac:16: installing `autotools/config.sub'
+ rm -f vlc-config.in vlc-config
+ rm -f src/misc/modules_builtin.h
+ rm -f mozilla/vlcintf.h
+ set +x
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# ./configure --enable-debug
........
vlc configuration
--------------------
vlc version : 0.8.4-svn
system : linux
architecture : i686 mmx
build flavour : optim devel
vlc aliases : svlc wxvlc
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# make
cd . && cat include/aout_internal.h include/audio_output.h include/beos_specific.h include/charset.h include/codecs.h include/configuration.h include/darwin_specific.h include/intf_eject.h include/iso_lang.h include/main.h include/mmx.h include/modules.h include/modules_inner.h include/mtime.h include/network.h include/osd.h include/os_specific.h include/snapshot.h include/stream_output.h include/variables.h include/video_output.h include/vlc_access.h include/vlc_acl.h include/vlc_bits.h include/vlc_block.h include/vlc_block_helper.h include/vlc_codec.h include/vlc_common.h include/vlc_config.h include/vlc_cpu.h include/vlc_demux.h include/vlc_error.h include/vlc_es.h include/vlc_es_out.h include/vlc_filter.h include/vlc_config_cat.h include/vlc_httpd.h include/vlc_tls.h include/vlc_md5.h include/vlc_image.h include/vlc_input.h include/vlc_interface.h include/vlc_keys.h include/vlc_messages.h include/vlc_meta.h include/vlc_objects.h include/vlc_osd.h include/vlc_playlist.h include/vlc_spu.h include/vlc_stream.h include/vlc_symbols.h include/vlc_threads_funcs.h include/vlc_threads.h include/vlc_video.h include/vlc_vlm.h include/vlc_vod.h include/vlc_xml.h include/vout_synchro.h include/win32_specific.h | perl ./vlc-api.pl
touch stamp-api
srcdir=. ./toolbox --update-includes
creating new ./src/misc/modules_builtin.h
touch src/misc/modules_builtin.h
make all-recursive
make[1]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk'
Making all in intl
make[2]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/intl'
make[2]: `all'
make[2]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/intl'
Making all in loader
make[2]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/loader'
make[2]: `all' .
make[2]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/loader'
Making all in modules
make[2]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/modules'
Making all in access
make[3]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
make[4]: Entering directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall -pipe -MT libaccess_file_plugin_a-file.o -MD -MP -MF ".deps/libaccess_file_plugin_a-file.Tpo" -c -o libaccess_file_plugin_a-file.o `test -f 'file.c' || echo './'`file.c; \
then mv -f ".deps/libaccess_file_plugin_a-file.Tpo" ".deps/libaccess_file_plugin_a-file.Po"; else rm -f ".deps/libaccess_file_plugin_a-file.Tpo"; exit 1; fi
In file included from ../../include/vlc_common.h:1099,
from ../../include/vlc/vlc.h:149,
from file.c:27:
../../include/modules.h:119: error: parse error before "module_handle_t"
../../include/modules.h:119: warning: no semicolon at end of struct or union
../../include/modules.h:129: error: parse error before '}' token
file.c: In function `vlc_entry__0_8_2':
file.c:89: error: dereferencing pointer to incomplete type
file.c:89: error: dereferencing pointer to incomplete type
.......
file.c:101: error: dereferencing pointer to incomplete type
make[4]: *** [libaccess_file_plugin_a-file.o] Error 1
make[4]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/cvsroot/vlc/vlc-trunk'
make: *** [all] Error 2
root@linux:/usr/local/cvsroot/vlc/vlc-trunk#
root@linux:/usr/local/cvsroot/vlc/vlc-trunk# uname -a
linux 2.6.12.2
root@linux:/usr/local/cvsroot/vlc/vlc-trunk#
How can I fix this problem?