Mail Archives: cygwin-developers/2001/07/26/16:38:53
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--
- Raw text -