Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: klaus@axp4.physik.fu-berlin.de (Wolfram Klaus)
Subject: Re: Compile probs of gv under OSF 4.0a
Date: 1997/03/20	[thread overview]
Message-ID: <klaus.858862307@axp4.physik.fu-berlin.de> (raw)
In-Reply-To: 5gr7on$c97@si-nic.hrz.uni-siegen.de


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  |



      reply	other threads:[~1997-03-20  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-20  5:00 Compile probs of gv under OSF 4.0a Pedro Saraiva
1997-03-20  5:00 ` Wolfram Klaus [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox