From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8c393d43a2bea245,start X-Google-Attributes: gidfee84,public From: klaus@axp4.physik.fu-berlin.de (Wolfram Klaus) Subject: Re: Compile probs of gv under OSF 4.0a Date: 1997/03/20 Message-ID: #1/1 X-Deja-AN: 226952407 References: <5gr7on$c97@si-nic.hrz.uni-siegen.de> Organization: Freie Universitaet Berlin X-Access: 16 17 19 Newsgroups: comp.unix.osf.osf1 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 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 |