This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Libtool problem under Cygwin!


On Tue, Jan 09, 2001 at 05:38:52PM +0800, clifftsai wrote:
> 
> Hi:
>     I have a problem when using Libtool to create a Libtool Shared Library.
>           
>     $libtool gcc -rpath /usr/loca/lib -o libtrim.la trim.lo
>       libtool: link :warning:undefined symbols not allowed in i586-pc-cygwin shared libraries.
>  
>       How can I solve this problem?

$ libtool gcc -rpath /usr/loca/lib -no-undefined -o libtrim.la trim.lo

You need to be sure that all the symbols in trim.lo really are defined
before you do this, since you can't have runtime symbol resolution in
Windows.

Cheers,
	Gary.
-- 
  ___              _   ___   __              _         mailto: gvv@techie.com
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       gary@gnu.org 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]