Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2003 20:24:25 +0200 (CEST)
From:      Ollivier Robert <roberto@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org
Subject:   ports/53354: mod_fastcgi doesn't compile with apache2
Message-ID:  <20030615182425.71A522AA3@tara.freenix.org>
Resent-Message-ID: <200306151830.h5FIUCkL096531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53354
>Category:       ports
>Synopsis:       mod_fastcgi doesn't compile with apache2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 15 11:30:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ollivier Robert
>Release:        FreeBSD 4.8-RC i386
>Organization:
Usenet Canal Historique
>Environment:
System: FreeBSD tara.freenix.org 4.8-RC FreeBSD 4.8-RC #5: Mon Mar 3 22:02:37 CET 2003 roberto@tara.freenix.org:/src/stable/sys/compile/TARA_SMP i386

	Apache 2.0.46 installed from ports.
	mod_fastcgi 2.4.0 from ports.

>Description:
	The mod_fastcgi port correctly uses apxs from apache to compile but
	either it doesn't use it as it should be to retrieve all parameters
	or apache2's apxs doesn't record the correct parameters so compilation
	fails:

/usr/local/share/apache2/build/libtool --silent --mode=link cc -o
mod_fastcgi.so  -rpath /usr/local/libexec/apache2 -module -avoid-version
mod_fastcgi.lo fcgi_util.lo fcgi_protocol.lo fcgi_pm.lo fcgi_config.lo
fcgi_buf.lo
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x81): undefined reference to `main'
.libs/mod_fastcgi.o: In function `send_to_pm':
.libs/mod_fastcgi.o(.text+0x7a): undefined reference to `ap_log_error'
.libs/mod_fastcgi.o(.text+0x137): undefined reference to `ap_log_assert'
.libs/mod_fastcgi.o(.text+0x1b2): undefined reference to `ap_log_error'
.libs/mod_fastcgi.o: In function `init_module':
.libs/mod_fastcgi.o(.text+0x1e9): undefined reference to
`apr_pool_cleanup_null'
.libs/mod_fastcgi.o(.text+0x207): undefined reference to
`apr_pool_cleanup_register'
.libs/mod_fastcgi.o(.text+0x219): undefined reference to
`ap_add_version_component'
.libs/mod_fastcgi.o(.text+0x255): undefined reference to
`ap_server_root_relative'
.libs/mod_fastcgi.o(.text+0x2af): undefined reference to `ap_log_error'
.libs/mod_fastcgi.o(.text+0x303): undefined reference to `ap_log_error'
.libs/mod_fastcgi.o(.text+0x323): undefined reference to
`apr_pool_userdata_get'
.libs/mod_fastcgi.o(.text+0x33a): undefined reference to
`apr_pool_cleanup_null'
.libs/mod_fastcgi.o(.text+0x34e): undefined reference to
`apr_pool_userdata_set'
.libs/mod_fastcgi.o(.text+0x39f): undefined reference to `ap_log_error'
.libs/mod_fastcgi.o(.text+0x3bc): undefined reference to `apr_palloc'
.libs/mod_fastcgi.o(.text+0x3cd): undefined reference to `apr_proc_fork'
.libs/mod_fastcgi.o(.text+0x409): undefined reference to
`apr_pool_note_subprocess'
[...]
.libs/fcgi_buf.o: In function `fcgi_buf_toss':
.libs/fcgi_buf.o(.text+0x667): undefined reference to `ap_log_assert'
.libs/fcgi_buf.o: In function `fcgi_buf_add_update':
.libs/fcgi_buf.o(.text+0x75b): undefined reference to `ap_log_assert'
.libs/fcgi_buf.o(.text+0x82d): more undefined references to `ap_log_assert'
follow
.libs/fcgi_buf.o: In function `array_grow':
.libs/fcgi_buf.o(.text+0xbdd): undefined reference to `apr_palloc'
.libs/fcgi_buf.o: In function `fcgi_buf_get_to_array':
.libs/fcgi_buf.o(.text+0xd05): undefined reference to `ap_log_assert'
apxs:Error: Command failed with rc=65536
.
*** Error code 1

>How-To-Repeat:
	cd /usr/ports/www/mod_fastcgi
	make

>Fix:

	Unknown

	It should be fixed either in apache2 or in mod_fastcgi. The fast that
	there are undefined symbols (I guess from apr ou apr-util) may means it
	comes from apache2.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030615182425.71A522AA3>