* Re: Compile probs of gv under OSF 4.0a
1997-03-20 5:00 Compile probs of gv under OSF 4.0a Pedro Saraiva
@ 1997-03-20 5:00 ` Wolfram Klaus
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Klaus @ 1997-03-20 5:00 UTC (permalink / raw)
saraiva@siux00.physik.uni-siegen.de (Pedro Saraiva) writes:
> Hi people,
>I wanted to compile gv 2.7.6 under OSF 4.0a and got the following problem:
>cc: Error: error.c, line 59: In this statement, "__ERRNO_MAX" is not declared.
> if (errornumber < __ERRNO_MAX) {
>------------------------^
>*** Exit 1
>Stop.
>*** Exit 1
>Stop.
>Does somebody know on how to solve this problem ? Thanks in advance,
> Pedro
Look at the source code of error.c
That part of the code is included in some #ifdef
(don't remember what it was actually, since I edited error.c and don't
have a backup) which tries to distinguish between systems that have
__ERRNO_MAX and systems that have sys_nerr. DU4.0 hass sys_nerr so I
changed this
#ifdef <whatever it was>
to
#ifdef SHIT
and everything worked fine.
Have fun,
Wolfram
--
"""
(o o)
+---------------------------------oOO--(_)--OOo-------------------------------+
| Wolfram Klaus (klaus@physik.fu-berlin.de) FU Berlin, FB Physik |
^ permalink raw reply [flat|nested] 2+ messages in thread
* Compile probs of gv under OSF 4.0a
@ 1997-03-20 5:00 Pedro Saraiva
1997-03-20 5:00 ` Wolfram Klaus
0 siblings, 1 reply; 2+ messages in thread
From: Pedro Saraiva @ 1997-03-20 5:00 UTC (permalink / raw)
Hi people,
I wanted to compile gv 2.7.6 under OSF 4.0a and got the following problem:
cc: Error: error.c, line 59: In this statement, "__ERRNO_MAX" is not declared.
if (errornumber < __ERRNO_MAX) {
------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
Does somebody know on how to solve this problem ? Thanks in advance,
Pedro
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-03-20 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-20 5:00 Compile probs of gv under OSF 4.0a Pedro Saraiva
1997-03-20 5:00 ` Wolfram Klaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox