From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86916 invoked by alias); 27 May 2015 14:04:25 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 86902 invoked by uid 89); 27 May 2015 14:04:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: resqmta-po-11v.sys.comcast.net Received: from resqmta-po-11v.sys.comcast.net (HELO resqmta-po-11v.sys.comcast.net) (96.114.154.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 27 May 2015 14:04:14 +0000 Received: from resomta-po-03v.sys.comcast.net ([96.114.154.227]) by resqmta-po-11v.sys.comcast.net with comcast id Z1zt1q0034ueUHc0124C2G; Wed, 27 May 2015 14:04:12 +0000 Received: from 5200-glenwood.net ([69.140.37.22]) by resomta-po-03v.sys.comcast.net with comcast id Z24B1q00X0UgAyD0124CTz; Wed, 27 May 2015 14:04:12 +0000 Received: from helium.5200-glenwood.net ([192.168.1.2]) by helium with smtp (Exim 4.82) (envelope-from ) id 1YxbwJ-00070n-AI for cygwin-apps@cygwin.com; Wed, 27 May 2015 10:04:11 -0400 From: Andrew Schulman To: cygwin-apps@cygwin.com Subject: Re: stunnel build chokes on -no-undefined Date: Wed, 27 May 2015 14:04:00 -0000 Message-ID: References: <5564934B.6010202@lysator.liu.se> <5564DF47.5010900@lysator.liu.se> In-Reply-To: <5564DF47.5010900@lysator.liu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Archive: encrypt X-SW-Source: 2015-05/txt/msg00063.txt.bz2 > From a quick peek at the source, you should make this change in src/Makef= ile.am >=20 > -libstunnel_la_LDFLAGS =3D -avoid-version > +libstunnel_la_LDFLAGS =3D -avoid-version -no-undefined Right - thanks. Yep, that takes care of it. > and then hope that libstunnel has no undefined symbols that need to be > provided by someone else to link a whole program. Most libraries do not > have such undefined symbols. You can probably send that change upstream. >=20 > Where did -Wl,-no-undefined come from? It was added to CFLAGS in the cygport file. I don't remember why, but I probably added it myself some time in the past. Oops. I've taken it out a= gain now. Thanks a lot for your help. Andrew