build error,2005-10-21 svn checkout

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Yunin Tang

build error,2005-10-21 svn checkout

Postby Yunin Tang » 22 Oct 2005 10:45

contrib packet is :contrib-20051006-win32-bin-gcc3.3.1-only.tar.bz2

config scripts:
#../configure_vlc
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-x264 \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--enable-debug



and build error:
( 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/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 ) | \
top_srcdir="." perl ./vlc-api.pl
touch stamp-api
srcdir=. ./toolbox --update-includes
creating new ./src/misc/modules_builtin.h
touch src/misc/modules_builtin.h
srcdir=. ./toolbox --update-version
creating new ./src/misc/version.c
make all-recursive
make[1]: Entering directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk'
Making all in intl
make[2]: Entering directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/intl'
Making all in loader
make[2]: Entering directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/loader'
Making all in modules
make[2]: Entering directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/modules'
Making all in access
make[3]: Entering directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/modules/access'
make[4]: Entering directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/modules/access'
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall -mms-bitfields -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
rm -f libaccess_file_plugin.a
ar cru libaccess_file_plugin.a libaccess_file_plugin_a-file.o
ranlib libaccess_file_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_file_plugin.dll libaccess_file_plugin.a -L/usr/local/lib -g -shared -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_directory` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_directory_plugin_a-directory.o -MD -MP -MF ".deps/libaccess_directory_plugin_a-directory.Tpo" -c -o libaccess_directory_plugin_a-directory.o `test -f 'directory.c' || echo './'`directory.c; \
then mv -f ".deps/libaccess_directory_plugin_a-directory.Tpo" ".deps/libaccess_directory_plugin_a-directory.Po"; else rm -f ".deps/libaccess_directory_plugin_a-directory.Tpo"; exit 1; fi
rm -f libaccess_directory_plugin.a
ar cru libaccess_directory_plugin.a libaccess_directory_plugin_a-directory.o
ranlib libaccess_directory_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_directory_plugin.dll libaccess_directory_plugin.a -L/usr/local/lib -g -shared -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_udp` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_udp_plugin_a-udp.o -MD -MP -MF ".deps/libaccess_udp_plugin_a-udp.Tpo" -c -o libaccess_udp_plugin_a-udp.o `test -f 'udp.c' || echo './'`udp.c; \
then mv -f ".deps/libaccess_udp_plugin_a-udp.Tpo" ".deps/libaccess_udp_plugin_a-udp.Po"; else rm -f ".deps/libaccess_udp_plugin_a-udp.Tpo"; exit 1; fi
rm -f libaccess_udp_plugin.a
ar cru libaccess_udp_plugin.a libaccess_udp_plugin_a-udp.o
ranlib libaccess_udp_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_udp_plugin.dll libaccess_udp_plugin.a -L/usr/local/lib -g -shared -lws2_32 -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_tcp` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_tcp_plugin_a-tcp.o -MD -MP -MF ".deps/libaccess_tcp_plugin_a-tcp.Tpo" -c -o libaccess_tcp_plugin_a-tcp.o `test -f 'tcp.c' || echo './'`tcp.c; \
then mv -f ".deps/libaccess_tcp_plugin_a-tcp.Tpo" ".deps/libaccess_tcp_plugin_a-tcp.Po"; else rm -f ".deps/libaccess_tcp_plugin_a-tcp.Tpo"; exit 1; fi
rm -f libaccess_tcp_plugin.a
ar cru libaccess_tcp_plugin.a libaccess_tcp_plugin_a-tcp.o
ranlib libaccess_tcp_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_tcp_plugin.dll libaccess_tcp_plugin.a -L/usr/local/lib -g -shared -lws2_32 -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_http` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_http_plugin_a-http.o -MD -MP -MF ".deps/libaccess_http_plugin_a-http.Tpo" -c -o libaccess_http_plugin_a-http.o `test -f 'http.c' || echo './'`http.c; \
then mv -f ".deps/libaccess_http_plugin_a-http.Tpo" ".deps/libaccess_http_plugin_a-http.Po"; else rm -f ".deps/libaccess_http_plugin_a-http.Tpo"; exit 1; fi
http.c: In function `Seek':
http.c:639: warning: int format, different type arg (arg 5)
http.c: In function `Request':
http.c:1030: warning: int format, different type arg (arg 5)
http.c:1036: warning: int format, different type arg (arg 5)
rm -f libaccess_http_plugin.a
ar cru libaccess_http_plugin.a libaccess_http_plugin_a-http.o
ranlib libaccess_http_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_http_plugin.dll libaccess_http_plugin.a -L/usr/local/lib -g -shared -lws2_32 -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_ftp` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_ftp_plugin_a-ftp.o -MD -MP -MF ".deps/libaccess_ftp_plugin_a-ftp.Tpo" -c -o libaccess_ftp_plugin_a-ftp.o `test -f 'ftp.c' || echo './'`ftp.c; \
then mv -f ".deps/libaccess_ftp_plugin_a-ftp.Tpo" ".deps/libaccess_ftp_plugin_a-ftp.Po"; else rm -f ".deps/libaccess_ftp_plugin_a-ftp.Tpo"; exit 1; fi
ftp.c: In function `Open':
ftp.c:290: warning: int format, different type arg (arg 5)
ftp.c: In function `Seek':
ftp.c:347: warning: int format, different type arg (arg 5)
rm -f libaccess_ftp_plugin.a
ar cru libaccess_ftp_plugin.a libaccess_ftp_plugin_a-ftp.o
ranlib libaccess_ftp_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_ftp_plugin.dll libaccess_ftp_plugin.a -L/usr/local/lib -g -shared -lws2_32 -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_smb` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_smb_plugin_a-smb.o -MD -MP -MF ".deps/libaccess_smb_plugin_a-smb.Tpo" -c -o libaccess_smb_plugin_a-smb.o `test -f 'smb.c' || echo './'`smb.c; \
then mv -f ".deps/libaccess_smb_plugin_a-smb.Tpo" ".deps/libaccess_smb_plugin_a-smb.Po"; else rm -f ".deps/libaccess_smb_plugin_a-smb.Tpo"; exit 1; fi
smb.c: In function `Seek':
smb.c:327: warning: int format, different type arg (arg 5)
rm -f libaccess_smb_plugin.a
ar cru libaccess_smb_plugin.a libaccess_smb_plugin_a-smb.o
ranlib libaccess_smb_plugin.a
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libaccess_smb_plugin.dll libaccess_smb_plugin.a -L/usr/local/lib -g -shared -u _vlc_entry__0_8_4
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_gnomevfs` -Wsign-compare -Wall -mms-bitfields -pipe -MT libaccess_gnomevfs_plugin_a-gnomevfs.o -MD -MP -MF ".deps/libaccess_gnomevfs_plugin_a-gnomevfs.Tpo" -c -o libaccess_gnomevfs_plugin_a-gnomevfs.o `test -f 'gnomevfs.c' || echo './'`gnomevfs.c; \
then mv -f ".deps/libaccess_gnomevfs_plugin_a-gnomevfs.Tpo" ".deps/libaccess_gnomevfs_plugin_a-gnomevfs.Po"; else rm -f ".deps/libaccess_gnomevfs_plugin_a-gnomevfs.Tpo"; exit 1; fi
In file included from /usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h:28,
from gnomevfs.c:29:
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-address.h:30:24: sys/socket.h: No such file or directory
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-address.h:31:19: netdb.h: No such file or directory
In file included from /usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-async-ops.h:29,
from /usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h:29,
from gnomevfs.c:29:
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:165: error: `S_ISUID' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:165: error: enumerator value for `GNOME_VFS_PERM_SUID' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:166: error: `S_ISGID' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:166: error: enumerator value for `GNOME_VFS_PERM_SGID' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:172: error: `S_IRGRP' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:172: error: enumerator value for `GNOME_VFS_PERM_GROUP_READ' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:173: error: `S_IWGRP' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:173: error: enumerator value for `GNOME_VFS_PERM_GROUP_WRITE' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:174: error: `S_IXGRP' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:174: error: enumerator value for `GNOME_VFS_PERM_GROUP_EXEC' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:175: error: `S_IRGRP' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:175: error: `S_IWGRP' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:175: error: `S_IXGRP' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:175: error: enumerator value for `GNOME_VFS_PERM_GROUP_ALL' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:176: error: `S_IROTH' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:176: error: enumerator value for `GNOME_VFS_PERM_OTHER_READ' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:177: error: `S_IWOTH' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:177: error: enumerator value for `GNOME_VFS_PERM_OTHER_WRITE' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:178: error: `S_IXOTH' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:178: error: enumerator value for `GNOME_VFS_PERM_OTHER_EXEC' not integer constant
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:179: error: `S_IROTH' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:179: error: `S_IWOTH' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:179: error: `S_IXOTH' undeclared here (not in a function)
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:179: error: enumerator value for `GNOME_VFS_PERM_OTHER_ALL' not integer constant
In file included from /usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h:33,
from gnomevfs.c:29:
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-dns-sd.h:28:24: sys/socket.h: No such file or directory
make[4]: *** [libaccess_gnomevfs_plugin_a-gnomevfs.o] Error 1
make[4]: Leaving directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/OpenSource/vlcBuild/vlc-trunk'
make: *** [all] Error 2

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 22 Oct 2005 13:01

The gnomevfs detection should be improved here. In the meantime, add --disable-gnomevfs to the configure line
Zorglub
Clément Stenac


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 35 guests