[vlc] VLC compilation error on Win32: udp.c:246
Andreas Olsson
andols7373 at hotmail.com
Thu Jul 7 19:05:41 CEST 2005
Hello,
I am trying to compile VLC on Win32 with cygwin. I have read the
INSTALL.win32 text file and it seems that I successfully have run the
configure script with the suggested:
./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-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
After that, I issue a 'make' and get the following result (using
vlc-snapshot-20050704)
make all-recursive
make[1]: Entering directory `/cygdrive/c/dev/vlc-snapshot-20050704'
Making all in intl
make[2]: Entering directory `/cygdrive/c/dev/vlc-snapshot-20050704/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/dev/vlc-snapshot-20050704/intl'
Making all in loader
make[2]: Entering directory `/cygdrive/c/dev/vlc-snapshot-20050704/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/dev/vlc-snapshot-20050704/loader'
Making all in modules
make[2]: Entering directory `/cygdrive/c/dev/vlc-snapshot-20050704/modules'
Making all in access
make[3]: Entering directory
`/cygdrive/c/dev/vlc-snapshot-20050704/modules/acces
s'
make[4]: Entering directory
`/cygdrive/c/dev/vlc-snapshot-20050704/modules/acces
s'
make[4]: `libaccess_file_plugin.dll' is up to date.
make[4]: `libaccess_directory_plugin.dll' is up to date.
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_b
uilddir="../.." ../../vlc-config --cflags plugin access_udp` -Wsign-compare
-Wal
l -mms-bitfields -pipe -MT libaccess_udp_plugin_a-udp.o -MD -MP -MF
".deps/liba
ccess_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
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from udp.c:36:
../../include/network.h:365:3: warning: #warning FIXME: implement shutdown
on yo
ur platform!
udp.c: In function `Open':
udp.c:246: error: parse error before numeric constant
make[4]: *** [libaccess_udp_plugin_a-udp.o] Error 1
make[4]: Leaving directory
`/cygdrive/c/dev/vlc-snapshot-20050704/modules/access
'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory
`/cygdrive/c/dev/vlc-snapshot-20050704/modules/access
'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/dev/vlc-snapshot-20050704/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/dev/vlc-snapshot-20050704'
make: *** [all] Error 2
I have tried with some older snapshots with the same result. Have anyone had
this problem?
Thanks in advance!
/Andreas Olsson
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list