You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Manoj Kithany <ma...@hotmail.com> on 2002/09/04 21:14:27 UTC
[users@httpd] mod_jk.c Compilation Errors
Hi Experts,
Greetings!
I am using Apache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is
NOT available for IBM AIX System - so I try to build it using following
procedure but get ERRORS.
I tried to execute "./buildconf.sh" and then execute "./configure" without
having any problems. But when I execute "make" I get following Error -
wonder why? It says "header" fiels are missing!!!
Can you please look into this problem - would really appreciate your
precious time. The Error is:
--------------------------------------------------
# make
Making all in common
Target "all" is up to date.
Making all in apache-1.3
/bin/sh ../libtool --mode=compile /usr/bin/gcc -DPACKAGE=\"mod_jk\"
-DVERSION=\"1.2.0\" -DHAVE_DLFCN_H=1 -I. -I. -I../comm
on -g -O2 -c -o mod_jk.lo `test -f mod_jk.c || echo './'`mod_jk.c
rm -f .libs/mod_jk.lo
/usr/bin/gcc -DPACKAGE=\"mod_jk\" -DVERSION=\"1.2.0\" -DHAVE_DLFCN_H=1 -I.
-I. -I../common -g -O2 -c mod_jk.c -DPIC -o .libs/mod_jk.lo
mod_jk.c:71: ap_config.h: No such file or directory
mod_jk.c:72: httpd.h: No such file or directory
mod_jk.c:73: http_config.h: No such file or directory
mod_jk.c:74: http_request.h: No such file or directory
mod_jk.c:75: http_core.h: No such file or directory
mod_jk.c:76: http_protocol.h: No such file or directory
mod_jk.c:77: http_main.h: No such file or directory
mod_jk.c:78: http_log.h: No such file or directory
mod_jk.c:79: util_script.h: No such file or directory
mod_jk.c:80: util_date.h: No such file or directory
mod_jk.c:81: http_conf_globals.h: No such file or directory
In file included from jk_global.h:68,
from jk_service.h:73,
from mod_jk.c:97:
jk_version.h:80: warning: `PACKAGE' redefined
*Initialization*:1: warning: this is the location of the previous definition
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
#
----------------------------------------------------------------
Any infor, from the above transcript would be appreciated!
THANKS again.
Manoj G. Kithany
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_jk.c Compilation Errors
Posted by "Thomas T. Veldhouse" <ve...@veldy.net>.
Try configuring like this:
./configure --with-apxs=/usr/sbin/apxs
using your path to apxs. If you don't have apxs on your system, you
probably should reinstall apache (with DSO support), from source is probably
preferrable.
Tom Veldhouse
----- Original Message -----
From: "Manoj Kithany" <ma...@hotmail.com>
To: <to...@jakarta.apache.org>; <us...@httpd.apache.org>
Sent: Wednesday, September 04, 2002 2:14 PM
Subject: mod_jk.c Compilation Errors
> Hi Experts,
>
> Greetings!
>
> I am using Apache(1.3) and Tomcat (4.0.4) on IBM AIX (5.1) System.
> I am havin high time in integrating APache and Tomcat. Binary "mod_jk" is
> NOT available for IBM AIX System - so I try to build it using following
> procedure but get ERRORS.
>
> I tried to execute "./buildconf.sh" and then execute "./configure" without
> having any problems. But when I execute "make" I get following Error -
> wonder why? It says "header" fiels are missing!!!
>
> Can you please look into this problem - would really appreciate your
> precious time. The Error is:
> --------------------------------------------------
> # make
> Making all in common
> Target "all" is up to date.
> Making all in apache-1.3
> /bin/sh ../libtool --mode=compile
/usr/bin/gcc -DPACKAGE=\"mod_jk\"
> -DVERSION=\"1.2.0\" -DHAVE_DLFCN_H=1 -I. -I. -I../comm
> on -g -O2 -c -o mod_jk.lo `test -f mod_jk.c || echo './'`mod_jk.c
> rm -f .libs/mod_jk.lo
> /usr/bin/gcc -DPACKAGE=\"mod_jk\" -DVERSION=\"1.2.0\" -DHAVE_DLFCN_H=1 -I.
> -I. -I../common -g -O2 -c mod_jk.c -DPIC -o .libs/mod_jk.lo
> mod_jk.c:71: ap_config.h: No such file or directory
> mod_jk.c:72: httpd.h: No such file or directory
> mod_jk.c:73: http_config.h: No such file or directory
> mod_jk.c:74: http_request.h: No such file or directory
> mod_jk.c:75: http_core.h: No such file or directory
> mod_jk.c:76: http_protocol.h: No such file or directory
> mod_jk.c:77: http_main.h: No such file or directory
> mod_jk.c:78: http_log.h: No such file or directory
> mod_jk.c:79: util_script.h: No such file or directory
> mod_jk.c:80: util_date.h: No such file or directory
> mod_jk.c:81: http_conf_globals.h: No such file or directory
> In file included from jk_global.h:68,
> from jk_service.h:73,
> from mod_jk.c:97:
> jk_version.h:80: warning: `PACKAGE' redefined
> *Initialization*:1: warning: this is the location of the previous
definition
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
> #
> ----------------------------------------------------------------
>
> Any infor, from the above transcript would be appreciated!
>
> THANKS again.
>
> Manoj G. Kithany
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: mod_jk.c Compilation Errors
Posted by "Peter T. Abplanalp" <pt...@psaconsultants.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Sep 04, 2002 at 07:14:27PM +0000, Manoj Kithany wrote:
> /usr/bin/gcc -DPACKAGE=\"mod_jk\" -DVERSION=\"1.2.0\" -DHAVE_DLFCN_H=1 -I.
> -I. -I../common -g -O2 -c mod_jk.c -DPIC -o .libs/mod_jk.lo
> mod_jk.c:71: ap_config.h: No such file or directory
> mod_jk.c:72: httpd.h: No such file or directory
> mod_jk.c:73: http_config.h: No such file or directory
> mod_jk.c:74: http_request.h: No such file or directory
> mod_jk.c:75: http_core.h: No such file or directory
> mod_jk.c:76: http_protocol.h: No such file or directory
> mod_jk.c:77: http_main.h: No such file or directory
> mod_jk.c:78: http_log.h: No such file or directory
> mod_jk.c:79: util_script.h: No such file or directory
> mod_jk.c:80: util_date.h: No such file or directory
> mod_jk.c:81: http_conf_globals.h: No such file or directory
> In file included from jk_global.h:68,
> from jk_service.h:73,
> from mod_jk.c:97:
two possibilities: 1) you don't have the apache source; or b) you
didn't tell gcc where to find the apache source.
- --
Peter Abplanalp
Email: pta@psaconsultants.com
PGP: pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9dlx+ggA8sH0iRXQRAgZCAKCWcH+mEddDR2nFuL96lSuDKOv46gCfQJ0A
T5NtMzUr3nbT1MwCSYFj0NY=
=YZWA
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>