Unable to use --disable-plugins

*nix specific usage questions
GiantDwarf
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Oct 2006 10:07

Unable to use --disable-plugins

Postby GiantDwarf » 20 Nov 2006 16:03

Hi,
I am trying to build a static linked version of vlc inclusive the needed modules to get rid of the constaints. Therefor i use the following switches inside the ./configure script:

--enable-mostly-builtin
--disable-plugins

and the --with-xxx
--enable-libmpeg2 --with-libmpeg2-tree=/${LIBS_SRC_FOLDER}/mpeg2dec-0.4.1 \
for the libs which should be included

This leads to lots of build problems:

Code: Select all

-------->snip: ./modules/gui/skins2/libskins2.a(libskins2_a-theme_loader.o): In function `ThemeLoader::extract(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': theme_loader.cpp:(.text+0x1a88): warning: the use of `tempnam' is dangerous, better use `mkstemp' ./modules/demux/mp4/libmp4.a(libmp4_a-libmp4.o): In function `MP4_ReadBox_cmov': libmp4.c:(.text+0x8589): undefined reference to `__stream_MemoryNew' ./modules/demux/mp4/libmp4.a(libmp4_a-drms.o): In function `DoShuffle': drms.c:(.text+0x10cf): undefined reference to `InitMD5' drms.c:(.text+0x13be): undefined reference to `AddMD5' drms.c:(.text+0x13d6): undefined reference to `EndMD5' drms.c:(.text+0x25bc): undefined reference to `AddMD5' drms.c:(.text+0x25d1): undefined reference to `AddMD5' ./modules/demux/mp4/libmp4.a(libmp4_a-drms.o): In function `drms_init': drms.c:(.text+0x3300): undefined reference to `InitMD5' drms.c:(.text+0x331b): undefined reference to `AddMD5' drms.c:(.text+0x3333): undefined reference to `AddMD5' drms.c:(.text+0x333b): undefined reference to `EndMD5' drms.c:(.text+0x340f): undefined reference to `InitMD5' drms.c:(.text+0x3417): undefined reference to `EndMD5' drms.c:(.text+0x34ee): undefined reference to `InitMD5' drms.c:(.text+0x3503): undefined reference to `AddMD5' drms.c:(.text+0x3633): undefined reference to `AddMD5' drms.c:(.text+0x3656): undefined reference to `AddMD5' drms.c:(.text+0x366b): undefined reference to `AddMD5' drms.c:(.text+0x367a): undefined reference to `EndMD5' drms.c:(.text+0x3aff): undefined reference to `InitMD5' drms.c:(.text+0x3b14): undefined reference to `AddMD5' drms.c:(.text+0x3b30): undefined reference to `AddMD5' drms.c:(.text+0x3b38): undefined reference to `EndMD5' drms.c:(.text+0x3b73): undefined reference to `InitMD5' drms.c:(.text+0x3b8f): undefined reference to `AddMD5' drms.c:(.text+0x3bab): undefined reference to `AddMD5' drms.c:(.text+0x3bb3): undefined reference to `EndMD5' ./modules/demux/playlist/libplaylist.a(libplaylist_a-b4s.o): In function `Close_B4S__playlist': b4s.c:(.text+0x59): undefined reference to `xml_Delete' ./modules/demux/playlist/libplaylist.a(libplaylist_a-b4s.o): In function `Demux': b4s.c:(.text+0x2d0): undefined reference to `__xml_Create' ./modules/demux/playlist/libplaylist.a(libplaylist_a-podcast.o): In function `Close_podcast__playlist': podcast.c:(.text+0x59): undefined reference to `xml_Delete' ./modules/demux/playlist/libplaylist.a(libplaylist_a-podcast.o): In function `Demux': podcast.c:(.text+0x20a): undefined reference to `__xml_Create' ./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o): In function `xspf_import_Demux': xspf.c:(.text+0xb6): undefined reference to `__xml_Create' xspf.c:(.text+0x175): undefined reference to `xml_Delete' ./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o): In function `parse_tracklist_node': xspf.c:(.text+0xdc8): undefined reference to `unescape_URI_duplicate' ./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o): In function `set_item_info': xspf.c:(.text+0x13a2): undefined reference to `resolve_xml_special_chars' ./modules/demux/playlist/libplaylist.a(libplaylist_a-shoutcast.o): In function `Close_Shoutcast__playlist': shoutcast.c:(.text+0x4a): undefined reference to `xml_Delete' ./modules/demux/playlist/libplaylist.a(libplaylist_a-shoutcast.o): In function `Demux': shoutcast.c:(.text+0x22b): undefined reference to `__xml_Create' ./modules/misc/playlist/libexport.a(libexport_a-xspf.o): In function `xspf_export_item': xspf.c:(.text+0x1ae): undefined reference to `convert_xml_special_chars' xspf.c:(.text+0x1f6): undefined reference to `convert_xml_special_chars' xspf.c:(.text+0x236): undefined reference to `convert_xml_special_chars' xspf.c:(.text+0x31b): undefined reference to `convert_xml_special_chars' ./modules/misc/playlist/libexport.a(libexport_a-xspf.o): In function `xspf_export_playlist__export': xspf.c:(.text+0x5ac): undefined reference to `convert_xml_special_chars' ./modules/misc/playlist/libexport.a(libexport_a-xspf.o):xspf.c:(.text+0x5f4): more undefined references to `convert_xml_special_chars' follow ./modules/access/libaccess_tcp.a(libaccess_tcp_a-tcp.o): In function `Open': tcp.c:(.text+0x366): undefined reference to `__net_ConnectTCP' ./modules/access/libaccess_http.a(libaccess_http_a-http.o): In function `Request': http.c:(.text+0xf5b): undefined reference to `tls_ClientDelete' http.c:(.text+0x142f): undefined reference to `tls_ClientDelete' ./modules/access/libaccess_http.a(libaccess_http_a-http.o): In function `Connect': http.c:(.text+0x17b6): undefined reference to `__net_ConnectTCP' http.c:(.text+0x18e1): undefined reference to `tls_ClientCreate' http.c:(.text+0x1937): undefined reference to `tls_ClientDelete' ./modules/access/libaccess_http.a(libaccess_http_a-http.o): In function `Seek': http.c:(.text+0x1a71): undefined reference to `tls_ClientDelete' ./modules/access/libaccess_http.a(libaccess_http_a-http.o): In function `Read': http.c:(.text+0x1dbe): undefined reference to `tls_ClientDelete' ./modules/access/libaccess_http.a(libaccess_http_a-http.o): In function `Close': http.c:(.text+0x2355): undefined reference to `tls_ClientDelete' ./modules/access/libaccess_http.a(libaccess_http_a-http.o): In function `Open': http.c:(.text+0x2742): undefined reference to `tls_ClientDelete' ./modules/access/libaccess_http.a(libaccess_http_a-http.o):http.c:(.text+0x341c): more undefined references to `tls_ClientDelete' follow ./modules/access/mms/libaccess_mms.a(libaccess_mms_a-mmsh.o): In function `Start': mmsh.c:(.text+0x62): undefined reference to `__net_ConnectTCP' ./modules/access/mms/libaccess_mms.a(libaccess_mms_a-mmsh.o): In function `Describe': mmsh.c:(.text+0xd1e): undefined reference to `__net_ConnectTCP' ./modules/access/mms/libaccess_mms.a(libaccess_mms_a-mmstu.o): In function `MMSOpen': mmstu.c:(.text+0x19d5): undefined reference to `__net_ConnectTCP' ./modules/access/libaccess_ftp.a(libaccess_ftp_a-ftp.o): In function `ftp_StartStream': ftp.c:(.text+0xb83): undefined reference to `__net_ConnectTCP' ./modules/access/libaccess_ftp.a(libaccess_ftp_a-ftp.o): In function `Connect': <--------snap
Does anyone know a cause for my problems, or how to build a minimal version which does not use dynamic libs???

Thanx for your help[/quote]

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 20 Nov 2006 22:35

--disable-plugins is broken since already a long time
Xtophe

LazyT
New Cone
New Cone
Posts: 6
Joined: 25 Oct 2006 13:27

Postby LazyT » 08 Dec 2006 19:46

It's "broken" since 19.10.2006 - any chance to get this option back?

libVLC is useless without this option for me... :cry:

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 09 Dec 2006 01:23

This commit doesn't help for sure. But it was broken before that.
Xtophe

LazyT
New Cone
New Cone
Posts: 6
Joined: 25 Oct 2006 13:27

Postby LazyT » 09 Dec 2006 10:29

Hm, the vlc-snapshot-20061018.tar.gz works fine, but the vlc-snapshot-20061020.tar.gz doesn't. After the 18.10.2006 it builds never again on MSyS/MinGW.

Please fix it or give us some hints...

LazyT
New Cone
New Cone
Posts: 6
Joined: 25 Oct 2006 13:27

Postby LazyT » 20 Dec 2006 14:03

Is there really nobody who is able to fix this or give some hints? :cry:

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 04 Jan 2007 19:36

Try with --disable-libtool, but static modules are being phased out anyway because it gave us too many headaches with the build system.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

LazyT
New Cone
New Cone
Posts: 6
Joined: 25 Oct 2006 13:27

Postby LazyT » 05 Jan 2007 11:12

No luck: builds a small libvlc.dll and tons of *_plugin.dll's. :(

If it's not longer possible to build a single libvlc.dll is it maybe possible to link all static in my application?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 05 Jan 2007 11:16

That cannot be. libvlc cannot link back into vlc to find its plugins.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests