Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 9 Jan 2001 19:16:11 +0000 From: "Gary V. Vaughan" To: clifftsai Cc: "cygwin AT sources DOT redhat DOT com " Subject: Re: Libtool problem under Cygwin! Message-ID: <20010109191611.J417@demon.co.uk> References: <20010109093852 DOT 5153 DOT qmail AT sinamail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010109093852.5153.qmail@sinamail.com>; from clifftsai@sinamail.com on Tue, Jan 09, 2001 at 05:38:52PM +0800 X-Operating-System: Linux cain 2.2.17 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 AT techie DOT com / __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ gary AT gnu DOT 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