Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <004901c00420$346ac150$0100a8c0@freeserve.co.uk>
From: "David Coe" <david@coent.freeserve.co.uk>
To: "Jerome G. Benoit" <jgmbenoit@wanadoo.fr>, "tom" <tomcw@localnet.com>
Cc: "Cygnus list" <cygwin@sourceware.cygnus.com>
References: <39944A63.AF206D62@wanadoo.fr> <00081119184900.00833@localhost.localdomain> <39948FA2.C4424FD7@wanadoo.fr>
Subject: Re: gnuplot and Cygnus
Date: Sat, 12 Aug 2000 06:42:35 +0100
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="----=_NextPart_000_003E_01C00428.7FB168F0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Server: VPOP3 V1.3.0c Unregistered

------=_NextPart_000_003E_01C00428.7FB168F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

> In fact I just want use gnuplot to generate PostScript file
> (that I can view with `gsview')
> via command line (to use in bash script):
> note that I don't use `gnuplot' so may this approach is false
> (as implicitly suggest the response below)
> In this view I have download the latest gnuplot source 3.7.1
> and run ./configure ...
> `make' compiles all but cannot link:
> ()/specfun.c:329: undefined reference to `signgam'
> 
> I cannot figure out the trouble !
> 
> Any idea ?
> 
Try this small patch.

------=_NextPart_000_003E_01C00428.7FB168F0
Content-Type: application/octet-stream;
	name="gnuplot-3.7.1.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="gnuplot-3.7.1.patch"

--- specfun.c.orig	Thu Dec 10 18:30:35 1998=0A=
+++ specfun.c	Tue Aug  1 12:36:02 2000=0A=
@@ -94,7 +94,7 @@=0A=
 # endif=0A=
 #endif=0A=
 =0A=
-#ifndef GAMMA=0A=
+#if !defined(GAMMA) || defined(__CYGWIN__)=0A=
 int signgam =3D 0;=0A=
 #else=0A=
 extern int signgam;		/* this is not always declared in math.h */=0A=


------=_NextPart_000_003E_01C00428.7FB168F0
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
------=_NextPart_000_003E_01C00428.7FB168F0--

