Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 1996 10:59:30 -0600 (CST)
From:      Dave Bodenstab <imdave@synet.net>
To:        darrylb@blinx.lizard.org, questions@freebsd.org
Subject:   Re: GNUplot
Message-ID:  <199611271659.KAA04885@base486.synet.net>

next in thread | raw e-mail | index | archive | help

Darryl Bowler <darrylb@blinx.lizard.org> wrote:
>
> Has anyone successfully compiled GNUplot on FreeBSD or NetBSD, I  keep getting 
> this error on both platforms.
>
> gcc -c  -DREADLINE=1 -DNOCWDRC=1 -DX11=1 -DTERMIOS=1 -DGAMMA=gamma -DGETCWD=1 -DMEMCPY=1 -DMEMSET=1 -DXPG3_LOCALE=1 -DUNIX=1 -DNOVFORK=1 -Dunix=1 -I/usr/X11R6/include -O2 readline.c
> readline.c:120: warning: `TERMIOS' redefined
> *Initialization*:1: warning: this is the location of the previous definition
> readline.c: In function `set_termio':
> readline.c:871: `IUCLC' undeclared (first use this function)
> readline.c:871: (Each undeclared identifier is reported only once
> readline.c:871: for each function it appears in.)
> *** Error code 1

[
You should really just look at the source... most of the compile problems
with free source packages when porting to FreeBSD are very minor  :-)
]

Either fetch the latest beta from   ftp://cmpc1.phys.soton.ac.uk/pub/

or apply a patch:


--- readline.c	1996/04/30 06:50:38	3.6
+++ readline.c	1996/04/30 06:50:38	3.6.1.1
@@ -144,6 +144,9 @@
 #endif
 #endif /* ISC22 */
 #if defined(NEXT) && !defined(IUCLC)
+#define IUCLC 0 /* no idea what this flag does */
+#endif
+#if defined(__FreeBSD__) && !defined(IUCLC)
 #define IUCLC 0 /* no idea what this flag does */
 #endif

 
Dave Bodenstab
imdave@synet.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611271659.KAA04885>