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
Thanx for your help[/quote]