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 Subject: Re: libtool and shared libraries To: cygwin AT cygwin DOT com In-Reply-To: <4C2CC5B6.6050904@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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