This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: grap-1.10



yes, the fix is easy for v. 1.23 of grap.  in the file grap_lex.l, at
the end of the includes, just add the line:  #include <errno.h>

the section should then look something like:

#include <iostream>
#include <sys/param.h>
#include <set>
#include <map>
#include "grap.h"
#include "grap_data.h"
#include "grap_draw.h"
#include "y.tab.h"
#include <errno.h>

grap then passes make check with no problems.  processing the output
like so:
( cd examples ; ../grap -d ../grap.defines example.ms ; ) > example.out
groff -Tps example.out > example.ps

gives the expected, and quite nice results.  thanks very much for the
pointer to grap.

sid
scowles@earthlink.net

===========================================
Friday, 08 March 2002, 03:44:58, you wrote:

>> > I downloaded
>> > http://www.lunabase.org/~faber/Vault/software/grap/grap-1.10.tar.gz
>>
>> What about the latest version I found on the grap homesite:
>> http://www.lunabase.org/~faber/Vault/software/grap/grap-1.23.tar.gz

fabdudn> Gerrit,

fabdudn> Thank you for drawing this later version to my attention. Unlike v.1.10
fabdudn> (which worked so well) this v.1.23 did not. At the "make" stage there were
fabdudn> error messages including "undefined reference to 'errno'". (I've seen this
fabdudn> before and I suspect the fix is not difficult. But v.1.10 works, or seems
fabdudn> to, so I'll stick with it for the moment.)

fabdudn> Fergus
===========================================


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]