built-in apache server with mod_rpaf compile error
suisou <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <252500967.218021338357963830.JavaMail.root@webmail2> |
OpenBSD 5.1-stable (GENERIC.MP) #0: Sat May 26 19:25:48 CST 2012 amd64 wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz tar zxvf mod_rpaf-0.6.tar.gz cd mod_rpaf-0.6 # /usr/sbin/apxs -i -c -n mod_rpaf.so mod_rpaf.c cc -O2 -pipe -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_SOCKADDR_LEN -DMOD_SSL=208116 -DEAPI -DUSE_SETUSERCONTEXT -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -c mod_rpaf.c mod_rpaf.c: In function 'rpaf_cleanup': mod_rpaf.c:151: error: 'struct sockaddr_storage' has no member named 'sin_addr' mod_rpaf.c: In function 'change_remote_ip': mod_rpaf.c:186: error: 'struct sockaddr_storage' has no member named 'sin_addr' apxs:Break: Command failed with rc=1 # httpd -v Server version: Apache/1.3.29 (Unix) each version mod_rpaf has the same error how to repire it ?