httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@nueva.pvt.k12.ca.us>
Subject Re: WWW Form Bug Report: "apache 1.0.3 doesn't compile on hpux 10 with FIX" on HPUX (fwd)
Date Tue, 16 Apr 1996 23:47:03 GMT
On Tue, 16 Apr 1996, Rob Hartill wrote:

> cc: "/usr/include/sys/unistd.h", line 376: error 1000: Unexpected symbol: "MAX_STRING_LEN".
> cc: "/usr/include/sys/unistd.h", line 376: error 1573: Type of "MAX_STRING_LEN" is undefined
due to an illegal declaration.
> cc: "/usr/include/sys/unistd.h", line 376: error 1711: Inconsistent parameter list declaration
for "getcwd".
>
> FIX:
> Remove line 99 of conf.h (#define getwd(d) getcwd(d,MAX_STRING_LEN)).

See? Another good reason to use autoconf and test for individual
functions and features, not per-architecture. HP-UX 9 does not have
getwd(), so needs the getcwd() macro, but apparently HP-UX 10 does
have getwd(), and getcwd() doesn't work right (assuming this report is
correct).

--
________________________________________________________________________
Alexei Kosut <akosut@nueva.pvt.k12.ca.us>
URL: http://www.nueva.pvt.k12.ca.us/~akosut/
Lefler on IRC, DALnet <http://www.dal.net/>


Mime
View raw message