Operating System - HP-UX
1753734 Members
4307 Online
108799 Solutions
New Discussion

Problem compiling apache with mod_ssl

 
Florian George
Occasional Contributor

Problem compiling apache with mod_ssl

Hi,



i have a problem compiling apache (1.3.22 or 1.3.26) with mod_ssl on HPUX 10.20 with the HP Ansi-C Compiler.



I used the following configure-Statement for mod_ssl:



./configure --with-apache=../apache_1.3.2x --with-ssl=/opt/openssl --prefix=/opt/apache --enable-module=rewrite



Make starts to compile but then the following error occurs:



cc: "/usr/include/sys/unistd.h", line 232: error 1000: Unexpected symbol: "(".



cc: "/usr/include/sys/unistd.h", line 232: error 1000: Unexpected symbol: "const".



Line 232 in unistd.h is:

extern char *crypt(const char *, const char *);



I'm not a programmer, so i don't know, what could be wrong with that line.



Thank in advance,



Florian George.