delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/01/19:26:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <737025.70568.qm@web113510.mail.gq1.yahoo.com>
References: <158763 DOT 73729 DOT qm AT web113508 DOT mail DOT gq1 DOT yahoo DOT com> <4C2CC5B6 DOT 6050904 AT acm DOT org>
Date: Thu, 1 Jul 2010 16:25:59 -0700 (PDT)
From: Refr Bruhl <refr_bruhl AT yahoo DOT com>
Subject: Re: libtool and shared libraries
To: cygwin AT cygwin DOT com
In-Reply-To: <4C2CC5B6.6050904@acm.org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Team

I beleive I have found a resolution to this problem.

By setting the LDFLAGS environment variable was able to get the non CXX components of  mailutils and all of apache to compile cleanly. Subversion I think will compile once I put a newer version of neon on. The library errors common to all three projects I was experiencing have not returned. 

Apache and Subversion have their own libtool scripts. I presume they are generated in the configure process. I have not investigated that. They both now have the undefined flag defined in the latest attempt.

To make this simpler I put the flag in my .profile for ksh

    # GCC Options
    export LDFLAGS=-no-undefined

Thanks all for helping!

-R




----- Original Message ----
From: David Rothenberger <daveroth AT acm DOT org>
To: cygwin AT cygwin DOT com
Sent: Thu, July 1, 2010 11:43:34 AM
Subject: Re: libtool and shared libraries

On 7/1/2010 9:18 AM, Refr Bruhl wrote:
> So far I have gotten this error in compiling subversion, apache, and mailutils (2.0 and 2.1). 

Why don't you take a look at the source packages for subversion and
apache and see how they are solving this problem?

I'm the maintainer for subversion, so I know there are quite a few
changes required to get all the DLLs to compile without undefined
symbols. The "-no-undefined" switch is just the beginning.

-- 
David Rothenberger  ----  daveroth AT acm DOT org

From Sharp minds come... pointed heads.
                -- Bryan Sparrowhawk

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


      

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019