cross-compiling vlc on ubuntu

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

cross-compiling vlc on ubuntu

Postby fishstyc » 21 Feb 2011 22:11

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.

fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

Re: cross-compiling vlc on ubuntu

Postby fishstyc » 22 Feb 2011 08:39

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...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: cross-compiling vlc on ubuntu

Postby Jean-Baptiste Kempf » 22 Feb 2011 19:52

--disable-upnp
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests