bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue in the libtool -> vlc-0.8.6f


From: Ralf Wildenhues
Subject: Re: Issue in the libtool -> vlc-0.8.6f
Date: Mon, 6 Jul 2009 19:50:45 +0200
User-agent: Mutt/1.5.20 (2009-06-15)

Hello zaheer,

Please do not use HTML on this mailing list; instead send email in plain
text and short lines; thanks.  Reply to your issue is below.

* zaheer  wrote on Mon, Jul 06, 2009 at 02:42:00PM CEST:
> Hello,I have vlc-0.8.6f source code. On compiling the source code i
> found an issue in the libtool. Attaching the compiled messages for
> your reference.Final command that the makefile executes is that as
> below: Below command is failing to create the dll files./bin/sh
> ../../libtool --debug --tag=CC --mode=link gcc -mno-cygwin
> -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32-branch/lib -o
> libaccess_file_plugin.dll libaccess_file_plugin.a -L/usr/local/lib -g
> -shared -u _vlc_entry__0_8_6For some reason
> libtool delets "-shared" flag from the command. This is the
> issue with this libtool.If libtool is unused then i can generate
> the dll with this command./bin/sh ../../libtool --debug --tag=CC
> --mode=link gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe
> -L/usr/win32-branch/lib -o libaccess_file_plugin.dll
> libaccess_file_plugin.a -L/usr/local/lib -g -shared -u
> _vlc_entry__0_8_6If libtool is unused then i can generate the dll with
> this command./bin/sh ../../libtool --debug --tag=CC --mode=li nk gcc
> -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe
> -L/usr/win32-branch/lib -o libaccess_file_plugin.dll
> libaccess_file_plugin.a -L/usr/local/lib -g -shared -u
> _vlc_entry__0_8_6What could be the
> problem?

This is a bug in the vlc makefiles.  The correct usage of libtool is not
to use -shared to create a library, but to create a *.la file, provide a
destination directory with '-rpath DIR' and to use -no-undefined in
order to allow to create shared libraries on win32 systems.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]