Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <3B607E91.5080309@ece.gatech.edu> Date: Thu, 26 Jul 2001 16:33:21 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin-developers AT cygwin DOT com Subject: Re: export signgam References: <3B60741B DOT 80508 AT ece DOT gatech DOT edu> <3B60771B DOT 8000306 AT ece DOT gatech DOT edu> Content-Type: multipart/mixed; boundary="------------080303060305090302070408" This is a multi-part message in MIME format. --------------080303060305090302070408 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Charles Wilson wrote: > Charles Wilson wrote: > >> It seems that some packages (especially plotutils) assume that if >> gamma, lgamma, j0, and erf all exist, then signgam does too. This >> breaks on cygwin, since signgam exists but is not exported. However >> the assumption is not unreasonable, so here's a patch to export the >> symbol. >> > > scratch that. It seemed so "obviously correct" -- but it ain't. > building new-cygwin1.dll fails with "Cannot export signgam: symbol not > defined." Oops. > > signgam is a global variable; math.h #defines it as > #define signgam (*__signgam()) > > More research required.... :-( The following revised patch compiles successfully (and I'm running that kernel now). Also, plotutils linked. :-) --Chuck --------------080303060305090302070408 Content-Type: text/plain; name="signgam.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="signgam.diff" --- cygwin.din~ Thu Jul 26 16:06:33 2001 +++ cygwin.din Thu Jul 26 16:06:44 2001 @@ -6,6 +6,7 @@ __errno __infinity __main +__signgam __srget __swbuf _check_for_executable DATA --------------080303060305090302070408--