[vlc-devel] Unable to build npvlc.dll

Kaarlo Räihä kaarlo.raiha at gmail.com
Thu Oct 28 13:42:08 CEST 2010


2010/10/28 gozer at progrock.com <gozer at progrock.com>

> I'm trying the cross-build of VLC on Linux for Windows (on the latest git
> source tree).
>
> During make package-win32 , 2 modules are fetched via git (why not before
> ?)...
> After fetching (via gitweb because I don't have git access behind my
> firewall, and because these 2 git trees are not mirrored on
> http://repo.or.cz/ !) activex-vlc and npapi-vlc, I have a problem building
> in npapi-vlc:
>

I complained about this same issue earlier.


>
> % make stamp-npapi-build CONTRIB_DIR=/usr/win32
> /bin/sh ../libtool  --tag=CXX   --mode=link i686-pc-mingw32-g++
>  -mms-bitfields  -module -avoid-version -no-undefined -Wl,--kill-at -Wl,
>  -L/usr/win32/lib -o npvlc.la -rpath //lib vlcshell.lo vlcplugin.lo
> npolibvlc.lo nporuntime.lo npwin.lo -L/home/lassauge/VLC/vlc/_win32/lib
> -lvlc -lvlccore    -lgdi32
>
> *** Warning: This system can not link to static lib archive /usr/win32/lib/
> libgpg-error.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** But as you try to build a module library, libtool will still create
> *** a static module, that should work as long as the dlopening application
> *** is linked with the -dlopen flag to resolve symbols at runtime.
>
> I'm unable to have the dll build (but it works perfectly for axvlc.dll). Do
> you have any hints ?
>

I would guess there is an error in make options since AFAIK npapi isn't only
VLC component that uses libgpg-error.


>
> --
>    Eric Lassauge
>        <gozer {at} progrock [dot] com>
>        #lassauge [at] users {dot} sf {dot} net#
>
> _____________________________________________________________
> For the best in Progressive Rock on the internet, check out PROGROCK.COM!
> http://www.progrock.com
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101028/c9e81bd2/attachment.html>


More information about the vlc-devel mailing list