ports/82979: mod_geoip fails to compile WITH_APACHE2=yes
Stephane Raimbault
stephane at enertiasoft.com
Mon Jul 4 16:10:17 UTC 2005
>Number: 82979
>Category: ports
>Synopsis: mod_geoip fails to compile WITH_APACHE2=yes
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 04 16:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Stephane Raimbault
>Release: FreeBSD 4.11-RELEASE-p10 i386
>Organization:
Enertiasoft
>Environment:
System: FreeBSD dev1.enertiatech.com 4.11-RELEASE-p10 FreeBSD 4.11-RELEASE-p10 #0: Tue Jun 28 04:11:02 MDT 2005 root at dev1.enertiatech.com:/usr/obj/usr/src/sys/GENERIC i386
The problem also occurs on FreeBSD 5.4-RELESAE-p1.
>Description:
# make WITH_APACHE2=yes
===> Vulnerability check disabled, database not found
===> Extracting for mod_geoip-1.2.2_1
=> Checksum OK for mod_geoip_1.2.2.tar.gz.
===> Patching for mod_geoip-1.2.2_1
===> mod_geoip-1.2.2_1 depends on file: /usr/local/sbin/apxs - found
===> mod_geoip-1.2.2_1 depends on shared library: GeoIP.4 - found
===> Configuring for mod_geoip-1.2.2_1
===> Building for mod_geoip-1.2.2_1
/usr/local/share/apache2/build/libtool --silent --mode=compile cc -prefer-pic -O -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include -I/usr/local/include -c -o mod_geoip.lo mod_geoip.c && touch mod_geoip.slo
mod_geoip.c:109: syntax error before `geoip_module'
mod_geoip.c:111: syntax error before `proxy_add_uri_module'
mod_geoip.c:122: syntax error before `*'
mod_geoip.c: In function `geoip_server_config':
mod_geoip.c:123: `p' undeclared (first use in this function)
mod_geoip.c:123: (Each undeclared identifier is reported only once
mod_geoip.c:123: for each function it appears in.)
mod_geoip.c:123: warning: initialization makes pointer from integer without a cast
mod_geoip.c: In function `geoip_enable':
mod_geoip.c:139: `geoip_module' undeclared (first use in this function)
mod_geoip.c: In function `geoip_set_filename':
mod_geoip.c:147: `geoip_module' undeclared (first use in this function)
mod_geoip.c: In function `geoip_set_output':
mod_geoip.c:165: `geoip_module' undeclared (first use in this function)
mod_geoip.c:177: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_geoip.c:177: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_geoip.c: In function `geoip_set_flags':
mod_geoip.c:183: `geoip_module' undeclared (first use in this function)
mod_geoip.c: At top level:
mod_geoip.c:190: warning: initialization from incompatible pointer type
mod_geoip.c:192: warning: initialization from incompatible pointer type
mod_geoip.c:194: warning: initialization from incompatible pointer type
mod_geoip.c:196: warning: initialization from incompatible pointer type
mod_geoip.c: In function `geoip_post_read_request':
mod_geoip.c:202: `geoip_module' undeclared (first use in this function)
mod_geoip.c:227: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_geoip.c:227: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_geoip.c:235: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_geoip.c:235: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_geoip.c:235: too few arguments to function `ap_log_error'
mod_geoip.c: At top level:
mod_geoip.c:329: syntax error before `pool'
mod_geoip.c: In function `geoip_child_exit':
mod_geoip.c:331: `r' undeclared (first use in this function)
mod_geoip.c:331: `geoip_module' undeclared (first use in this function)
mod_geoip.c: At top level:
mod_geoip.c:346: syntax error before `geoip_module'
apxs:Error: Command failed with rc=65536
.
*** Error code 1
Stop in /usr/ports/www/mod_geoip.
>How-To-Repeat:
# cd /usr/ports/www/mod_geoip
# make WITH_APACHE2=yes
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list