about access module compile error

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
xzheng
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Jul 2004 07:48

about access module compile error

Postby xzheng » 24 Jul 2004 17:53

Hi,How are you doing.
I make the file of access module that svc download today in cygwin .But don't complile. The version is vlc-trunk0.7.3 . I compile the vlc0.7.2. There is the same wrong. Why? Can you tell me? Thank you in advance!

It takes me a lot of days to set up the cygwin. It 's near sucess. But don't compile. It 's pain to me. Help me!

Best regards

xzheng
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Jul 2004 07:48

Postby xzheng » 24 Jul 2004 18:11

about the error information:

$ make
srcdir=. ./toolbox --update-includes
srcdir=. ./toolbox --update-includes
make all-recursive
make[1]: Entering directory `/home/vlc-0.7.2'
Making all in intl
make[2]: Entering directory `/home/vlc-0.7.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vlc-0.7.2/intl'
Making all in modules
make[2]: Entering directory `/home/vlc-0.7.2/modules'
Making all in access
make[3]: Entering directory `/home/vlc-0.7.2/modules/access'
make[4]: Entering directory `/home/vlc-0.7.2/modules/access'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_CYGWIN -I../../include `top_build
dir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall
-finline-limit-30000 -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:890,
from ../../include/vlc/vlc.h:135,
from file.c:27:
../../include/modules.h:102: error: syntax error before "module_handle_t"
../../include/modules.h:102: warning: no semicolon at end of struct or union
../../include/modules.h:111: error: syntax error before '}' token
file.c: In function `vlc_entry__0_7_2':
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:87: error: dereferencing pointer to incomplete type
file.c:88: error: dereferencing pointer to incomplete type
file.c:91: error: dereferencing pointer to incomplete type
file.c:91: error: dereferencing pointer to incomplete type
file.c:92: error: dereferencing pointer to incomplete type
file.c:93: error: dereferencing pointer to incomplete type
file.c:94: error: dereferencing pointer to incomplete type
file.c:95: error: dereferencing pointer to incomplete type
file.c:95: error: dereferencing pointer to incomplete type
file.c:96: error: dereferencing pointer to incomplete type
file.c:96: error: dereferencing pointer to incomplete type
make[4]: *** [libaccess_file_plugin_a-file.o] Error 1
make[4]: Leaving directory `/home/vlc-0.7.2/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/vlc-0.7.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vlc-0.7.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc-0.7.2'
make: *** [all] Error 2

Please help me!

Best regards

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 25 Jul 2004 11:05

Please, follow the instructions of the INSTALL.win32 file. (specifically you must compile VLC with the -mno-cygwin option).

xzheng
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Jul 2004 07:48

Postby xzheng » 26 Jul 2004 11:33

That's OK. But there is new problem :
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -finline-limit-30000 -pipe -
L/usr/win32/lib -o libopengl_plugin.dll libopengl_plugin_a-opengl.o `top_builddi
r=../.. ../../vlc-config --libs plugin opengl`
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/bin/ld: canno
t find -lGL
collect2: ld returned 1 exit status
make[4]: *** [libopengl_plugin.dll] Error 1
make[4]: Leaving directory `/home/vlc-trunk/modules/video_output'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/vlc-trunk/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc-trunk'
make: *** [all] Error 2

Can you tell why ? Thank you.

Best regards


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests