[vlc-devel] VLC enable-shared-libvlc compilation pb

Bertrand Richard bertrand.richard at liris.cnrs.fr
Mon Dec 19 12:21:42 CET 2005


Hi all,

I'm trying to compile vlc-0.8.4a with cygwin/mingw32 on win32 (gcc-3.4.4),
with enable-shared-libvlc option (to be able to build vlc python bindings),
But I can't manage to compile (I saw this is an "experimental feature", but
how to compile _pic lib without it ?). Any help would be greatly
appreciated.
Here's the error log :

make[4]: Entering directory `/home/brichard/vlc-0.8.4a/modules/access'
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
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function <
vlc_entry__0_8_4 >:
/home/brichard/vlc-0.8.4a/modules/access/file.c:90: undefined reference to <
_vlc_dgettext >
/home/brichard/vlc-0.8.4a/modules/access/file.c:91: undefined reference to <
_vlc_dgettext >
/home/brichard/vlc-0.8.4a/modules/access/file.c:101: undefined reference to
< _config_Duplicate >
/home/brichard/vlc-0.8.4a/modules/access/file.c:101: undefined reference to
< _config_Duplicate >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function <
Control >:
/home/brichard/vlc-0.8.4a/modules/access/../../include/variables.h:337:
undefined reference to < ___var_Get >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function <
Control >:
/home/brichard/vlc-0.8.4a/modules/access/file.c:596: undefined reference to
< ___msg_Generic >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function < Open
>:
/home/brichard/vlc-0.8.4a/modules/access/file.c:189: undefined reference to
< _ToLocale >
/home/brichard/vlc-0.8.4a/modules/access/file.c:197: undefined reference to
< _LocaleFree >
/home/brichard/vlc-0.8.4a/modules/access/file.c:270: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:293: undefined reference to
< ___var_Create >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function < Open
>:
/home/brichard/vlc-0.8.4a/modules/access/../../include/variables.h:503:
undefined reference to < ___var_Create >
/home/brichard/vlc-0.8.4a/modules/access/../../include/variables.h:504:
undefined reference to < ___var_Get >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function < Open
>:
/home/brichard/vlc-0.8.4a/modules/access/file.c:317: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:328: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:265: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:612: undefined reference to
< _ToLocale >
/home/brichard/vlc-0.8.4a/modules/access/file.c:630: undefined reference to
< _LocaleFree >
/home/brichard/vlc-0.8.4a/modules/access/file.c:633: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:192: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:193: undefined reference to
< _LocaleFree >
/home/brichard/vlc-0.8.4a/modules/access/file.c:286: undefined reference to
< ___msg_Generic >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function < Seek
>:
/home/brichard/vlc-0.8.4a/modules/access/file.c:513: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:612: undefined reference to
< _ToLocale >
/home/brichard/vlc-0.8.4a/modules/access/file.c:630: undefined reference to
< _LocaleFree >
/home/brichard/vlc-0.8.4a/modules/access/file.c:532: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:633: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:537: undefined reference to
< ___msg_Generic >
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): in function < Read
>:
/home/brichard/vlc-0.8.4a/modules/access/file.c:468: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:612: undefined reference to
< _ToLocale >
/home/brichard/vlc-0.8.4a/modules/access/file.c:630: undefined reference to
< _LocaleFree >
/home/brichard/vlc-0.8.4a/modules/access/file.c:434: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:438: undefined reference to
< _msleep >
/home/brichard/vlc-0.8.4a/modules/access/file.c:633: undefined reference to
< ___msg_Generic >
/home/brichard/vlc-0.8.4a/modules/access/file.c:451: undefined reference to
< ___msg_Generic >
collect2: ld a retourn'e 1 code d''etat d'ex'ecution
make[4]: *** [libaccess_file_plugin.dll] Erreur 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20051219/05787004/attachment.html>


More information about the vlc-devel mailing list