Page 1 of 1

cross-compiling vlc on ubuntu

Posted: 21 Feb 2011 22:11
by fishstyc
Hello,

I am trying to crosscompile vlc. I managed to compile a linux version, but when trying to create the win32 version using

Code: Select all

make package-win32-base
some definitions seem to be missing from the make file.

For instance U2D is not defined, neither is OBJCOPY. There are others, but these are the first 2 that are causing problems.

Do I need to alter the makefile by hand, or did I forget something? I don't know which command OBJCOPY is supposed to be...

If anyone knows what I am doing wrong, please let me know.



I also tried to do the same thing using MSys on windows but when running compile I am having the following issue:

Code: Select all

MAKE : services_discovery Creating library file: .libs/libupnp_intel_plugin.dll.a.libs/libupnp_intel_plugi n_la-upnp_intel.o: In function `Z24xml_getChildElementValueP13_IXML_ElementPKc': C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:157: unde fined reference to `_imp__ixmlElement_getElementsByTagName' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:161: unde fined reference to `_imp__ixmlNodeList_item' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:162: unde fined reference to `_imp__ixmlNodeList_free' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:165: unde fined reference to `_imp__ixmlNode_getFirstChild' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:168: unde fined reference to `_imp__ixmlNode_getNodeValue' .libs/libupnp_intel_plugin_la-upnp_intel.o: In function `Z17parseBrowseResultP14 _IXML_Document': C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:174: unde fined reference to `_imp__ixmlRelaxParser' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:179: unde fined reference to `_imp__ixmlDocument_getElementsByTagName' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:183: unde fined reference to `_imp__ixmlNodeList_item' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:185: unde fined reference to `_imp__ixmlNodeList_free' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:189: unde fined reference to `_imp__ixmlNode_getFirstChild' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:192: unde fined reference to `_imp__ixmlNode_getNodeValue' C:\msys\1.0\home\user\vlc\modules\services_discovery/upnp_intel.cpp:195: unde fined reference to `_imp__ixmlParseBuffer' .libs/libupnp_intel_plugin_la-upnp_intel.o:C:\msys\1.0\home\user\vlc\modules\ services_discovery/upnp_intel.cpp:523: undefined reference to `_imp__UpnpSubscri be' .libs/libupnp_intel_plugin_la-upnp_intel.o:C:\msys\1.0\home\user\vlc\modules\ services_discovery/upnp_intel.cpp:532: undefined reference to `_imp__UpnpGetErro rMessage' .libs/libupnp_intel_plugin_la-upnp_intel.o:C:\msys\1.0\home\user\vlc\modules\ services_discovery/upnp_intel.cpp:566: undefined reference to `_imp__UpnpAddToAc tion' .libs/libupnp_intel_plugin_la-upnp_intel.o:C:\msys\1.0\home\user\vlc\modules\ services_discovery/upnp_intel.cpp:570: undefined reference to `_imp__UpnpGetErro rMessage' .libs/libupnp_intel_plugin_la-upnp_intel.o:C:\msys\1.0\home\user\vlc\modules\ services_discovery/upnp_intel.cpp:616: undefined reference to `_imp__ixmlDocumen t_free'
As long as I could get one of these two working - it doesn't really matter which one - I'd be really happy.

Re: cross-compiling vlc on ubuntu

Posted: 22 Feb 2011 08:39
by fishstyc
I reconfigured the thing on Linux, and now I have another problem. I will update this thread asap.

The problem on windows is still the same. I am using the latest contribs etc. I tried to do exactly as exmplained in the wiki, but it fails for 1.1.7 and for 1.1.6, with te same error...

Re: cross-compiling vlc on ubuntu

Posted: 22 Feb 2011 19:52
by Jean-Baptiste Kempf
--disable-upnp