Could you please try the following patch to native/apache-1.3/mod_jk.c,
that should also work with older apache versions:
===================================================================
--- mod_jk.c (revision 423615)
+++ mod_jk.c (working copy)
@@ -2039,8 +2039,13 @@
}
else if (*conf->log_file != '\0') {
char *log_file = ap_server_root_relative(p, conf->log_file);
+#if AP_MODULE_MAGIC_AT_LEAST(19990320,14)
if ((conf->log_fd = ap_popenf_ex(p, log_file, xfer_flags,
xfer_mode, 1))
< 0) {
+#else
+ if ((conf->log_fd = ap_popenf(p, log_file, xfer_flags, xfer_mode))
+ < 0) {
+#endif
ap_log_error(APLOG_MARK, APLOG_ERR, s,
"mod_jk: could not open JkLog " "file %s",
log_file);
exit(1);
Your feedback is highly appreciated.
Regards,
Rainer
fredk2 wrote:
Hi:
I can succesfully compile mod_jk 1.2.18 against Apache 2.2.2 (configure
--with-apxs and make), but when I compile against 1.3.27 and try to start
apache I get the following error:
Solaris 8:
Syntax error on line 8 of /test/site/conf/apache-tomcat_jk.conf:
Cannot load /test/apache_modules/mod_jk.so into server:
ld.so.1: /test/apache/bin/httpd: fatal: relocation error:
file /test/apache_modules/mod_jk.so:
symbol ap_popenf_ex: referenced symbol not found
Linux RHEL3:
Syntax error on line 12 of /test/site/conf/apache-tomcat_jk.conf:
Cannot load /test/apache_modules/mod_jk.so into server:
/test/apache_modules/mod_jk.so: undefined symbol: ap_popenf_ex
There were no configure/make/compilation errors or failures.
As I am fairly novice to compilation, would someone have an idea or a way to
get more clues? Is this a configuration/compilation issue - missing some CC
or LFLAGS or is there an issue with the older apache 1.3.x and older gcc ?
I am using the same gcc version as used for the original apache compilation
(hoping to avoid such object linking errors :(
All replies will be very much appreciated... Thanks
Fred
--
kippdata informationstechnologie GmbH
Bornheimer Str. 33a
53111 Bonn
Tel.: 0228/98549-0
Fax: 0228/98549-50
www.kippdata.de
=======================
kippdata informationstechnologie GmbH
Bornheimer Str. 33a
D-53111 Bonn
Tel.: +49/0228/98549-0
Fax: +49/0228/98549-50
www.kippdata.de
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]