problem compiling
Posted: 27 Nov 2006 21:57
Hello I am trying to compile vlc for about 3 days now,
I overcame all the ad-dons, but now I get the following error while trying to compile it by make:
I have checked the header file and it looks ok, I have also checked the compiler version vs the one in the howto file and they match.
any suggestions?
I overcame all the ad-dons, but now I get the following error while trying to compile it by make:
Code: Select all
$ make
export MACOSX_DEPLOYMENT_TARGET=
make all-recursive
make[1]: Entering directory `/home/Skunkmaster/vlc-trunk'
Making all in intl
make[2]: Entering directory `/home/Skunkmaster/vlc-trunk/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Skunkmaster/vlc-trunk/intl'
Making all in loader
make[2]: Entering directory `/home/Skunkmaster/vlc-trunk/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Skunkmaster/vlc-trunk/loader'
Making all in src
make[2]: Entering directory `/home/Skunkmaster/vlc-trunk/src'
srcdir=.. builddir=.. ../toolbox --update-version
make all-recursive
make[3]: Entering directory `/home/Skunkmaster/vlc-trunk/src'
make[4]: Entering directory `/home/Skunkmaster/vlc-trunk/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYS_CYGWIN -I../include `top_build
." ../vlc-config --cflags vlc` -Wsign-compare -Wall -pipe -MT libvlc_a-li
-MD -MP -MF ".deps/libvlc_a-libvlc.Tpo" -c -o libvlc_a-libvlc.o `test -f
c.c' || echo './'`libvlc.c; \
then mv -f ".deps/libvlc_a-libvlc.Tpo" ".deps/libvlc_a-libvlc.Po";
rm -f ".deps/libvlc_a-libvlc.Tpo"; exit 1; fi
In file included from ../include/vlc_common.h:1165,
from ../include/vlc/vlc.h:153,
from libvlc.c:38:
../include/modules.h:122: error: parse error before "module_handle_t"
../include/modules.h:122: warning: no semicolon at end of struct or union
../include/modules.h:132: error: parse error before '}' token
In file included from libvlc.c:84:
libvlc.h: In function `vlc_entry__main':
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1124: error: dereferencing pointer to incomplete type
libvlc.h:1909: error: dereferencing pointer to incomplete type
libvlc.h:1910: error: dereferencing pointer to incomplete type
libvlc.h:1910: error: dereferencing pointer to incomplete type
libvlc.h:1911: error: dereferencing pointer to incomplete type
libvlc.h:1911: error: dereferencing pointer to incomplete type
libvlc.c: In function `VLC_Init':
libvlc.c:345: error: dereferencing pointer to incomplete type
libvlc.c:346: error: dereferencing pointer to incomplete type
libvlc.c:348: error: dereferencing pointer to incomplete type
libvlc.c:353: error: dereferencing pointer to incomplete type
libvlc.c:355: error: dereferencing pointer to incomplete type
libvlc.c:401: error: dereferencing pointer to incomplete type
libvlc.c:452: error: dereferencing pointer to incomplete type
libvlc.c:512: error: dereferencing pointer to incomplete type
libvlc.c:541: error: dereferencing pointer to incomplete type
libvlc.c:545: error: dereferencing pointer to incomplete type
libvlc.c:549: error: dereferencing pointer to incomplete type
libvlc.c:553: error: dereferencing pointer to incomplete type
libvlc.c:557: error: dereferencing pointer to incomplete type
libvlc.c:563: error: dereferencing pointer to incomplete type
libvlc.c:580: error: dereferencing pointer to incomplete type
libvlc.c:595: error: dereferencing pointer to incomplete type
libvlc.c:597: error: dereferencing pointer to incomplete type
libvlc.c:604: error: dereferencing pointer to incomplete type
libvlc.c:606: error: dereferencing pointer to incomplete type
libvlc.c: In function `Usage':
libvlc.c:2149: error: dereferencing pointer to incomplete type
libvlc.c:2155: error: dereferencing pointer to incomplete type
libvlc.c:2163: error: dereferencing pointer to incomplete type
libvlc.c:2174: error: dereferencing pointer to incomplete type
libvlc.c:2175: error: dereferencing pointer to incomplete type
libvlc.c:2177: error: dereferencing pointer to incomplete type
libvlc.c:2180: error: dereferencing pointer to incomplete type
libvlc.c:2204: error: dereferencing pointer to incomplete type
libvlc.c: In function `ListModules':
libvlc.c:2411: error: dereferencing pointer to incomplete type
libvlc.c:2415: error: dereferencing pointer to incomplete type
libvlc.c:2416: error: dereferencing pointer to incomplete type
make[4]: *** [libvlc_a-libvlc.o] Error 1
make[4]: Leaving directory `/home/Skunkmaster/vlc-trunk/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Skunkmaster/vlc-trunk/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Skunkmaster/vlc-trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Skunkmaster/vlc-trunk'
make: *** [all] Error 2
any suggestions?