Error compiling vlc-devel-0.9.0.20070501,2 on 6.2-STABLE FreeBSD

eculp at unixmania.com eculp at unixmania.com
Fri May 4 09:53:51 PDT 2007


For several days now I haven't been ablt to upgrade vlc-devel and the  
attempt is stopping at the same place just after libvlc_srtp.la.

gmake[4]: Entering directory  
`/usr/ports/multimedia/vlc-devel/work/vlc-0.9.0-svn/src'
if /bin/sh ../libtool --tag=CC --mode=compile cc -std=gnu99  
-DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include/speex   
-I/usr/local/include -DSYS_FREEBSD6_2 -I../include `top_builddir=".."  
../vlc-config --cflags libvlc` -O2 -fno-strict-aliasing -pipe   
-pthread -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef  
-Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings  
-Wold-style-definition -Wmissing-prototypes -MT libvlc_la-libvlc.lo  
-MD -MP -MF ".deps/libvlc_la-libvlc.Tpo" -c -o libvlc_la-libvlc.lo  
`test -f 'libvlc.c' || echo './'`libvlc.c; \
         then mv -f ".deps/libvlc_la-libvlc.Tpo"  
".deps/libvlc_la-libvlc.Plo"; else rm -f ".deps/libvlc_la-libvlc.Tpo";  
exit 1; fi
mkdir .libs
  cc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I..  
-I/usr/local/include/speex -I/usr/local/include -DSYS_FREEBSD6_2  
-I../include -I/usr/local/include -D_FILE_OFFSET_BITS=64  
-D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE  
-DLOCALEDIR=\"/usr/local/share/locale\"  
-DDATA_PATH=\"/usr/local/share/vlc\"  
-DPLUGIN_PATH=\"/usr/local/lib/vlc\" -DHAVE_RELEASE -O3 -ffast-math  
-funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__  
-I../src/misc -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal  
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include  
-I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include  
-O2 -fno-strict-aliasing -pipe -pthread -Wall -Wextra  
-Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith  
-Wbad-function-cast -Wcast-align -Wwrite-strings  
-Wold-style-definition -Wmissing-prototypes -MT libvlc_la-libvlc.lo  
-MD -MP -MF .deps/libvlc_la-libvlc.Tpo -c libvlc.c  -fPIC -DPIC -o  
.libs/libvlc_la-libvlc.o
In file included from libvlc.c:40:
control/libvlc_internal.h:37: error: syntax error before '*' token
control/libvlc_internal.h:38: error: syntax error before "libvlc_InternalInit"
control/libvlc_internal.h:39: error: syntax error before  
"libvlc_InternalCleanup"
control/libvlc_internal.h:40: error: syntax error before  
"libvlc_InternalDestroy"
control/libvlc_internal.h:42: error: syntax error before  
"libvlc_InternalAddIntf"
control/libvlc_internal.h:51: error: syntax error before "libvlc_int_t"
control/libvlc_internal.h:54: error: syntax error before "vlc_mutex_t"
In file included from ../include/vlc_input.h:33,
                  from ../include/vlc_playlist.h:36,
                  from libvlc.c:42:
../include/vlc_es.h:44: error: syntax error before "uint8_t"
../include/vlc_es.h:52: error: syntax error before "vlc_fourcc_t"
../include/vlc_es.h:57: error: syntax error before "uint32_t"
../include/vlc_es.h:94: error: syntax error before "vlc_fourcc_t"
../include/vlc_es.h:113: error: syntax error before "video_palette_t"
../include/vlc_es.h:132: error: syntax error before "uint32_t"
../include/vlc_es.h:159: error: syntax error before "vlc_fourcc_t"
../include/vlc_es.h:176: error: syntax error before "audio_format_t"
../include/vlc_es.h:196: error: syntax error before '*' token

etc.

I have submitted a PR and put a complete listing of the error and  
installed ports at

http://www.encontacto.net/vlc-devel-failure.txt

Thanks,

ed


More information about the freebsd-ports mailing list