Hallo Günther,
Günther wrote:
Hi!
I got a problem running jk 1.2.26 on httpd 2.2.3 and I'm not sure if
this a setup problem or a bug in jk.
When compiling jk it says:
---
mod_jk.c: In function âinit_ws_serviceâ:
mod_jk.c:671: warning: implicit declaration of function
âap_get_server_descriptionâ
---
mod_jk uses the function ap_get_server_description(), if it detects that
the so-called mmn number of httpd is at least 20051115,4. In plain text
this means, if the httpd version is at least 2.2.4, the version that
first included ap_get_server_description(). If the mmn is smaller, it
uses another function, that existed already before.
The provided binaries mostly are compiled against a recent httpd, so
they will not run with older versions (in this case: with a version of
2.2.x older than 2.2.4).
Building it should be no problem though. To find out, why your build
does not work, you first need to find the httpd header file ap_mmn.h,
against which we build. In your top level Makefile, there should be a
path like
apache_include = -I/my/httpd/install/directory/include
and the file ap_mmn.h is in this directory.
This path we get from
apxs -q INCLUDEDIR
where apxs is the one, you gave to configure via "--with-apxs".
In ap_mmn.h there should be a block like e.g.
#ifndef MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_NUMBER_MAJOR 20051115
#endif
#define MODULE_MAGIC_NUMBER_MINOR 3
We use the new function, if the major number is at least 20051115, and
if it is equal to 20051115 (most likely the case with your file), the
minor needs to be at least "4". For 2.2.3 it should be "3".
If it is bigger than 3, then I suspect, that either your apxs might be
broken, or does not belong to your httpd 2.2.3 installation.
When trying to start tomcat with this module installed it complains
about unknown "ap_get_server_description". jk 1.2.25 compiles and
runs ok.
Any hints? Should I file a bug report for this?
Lets first check the above httpd header file, you use for compilation.
Thanx, regards,
Thorsten Günther
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]