tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <aherit...@sopragroup.com>
Subject RE: error while building mod_jk.so Tomcat 3.3 + Apache 1.3.22 on AIX 4.33
Date Mon, 10 Dec 2001 14:53:22 GMT
Try to use this flag replacing by your own apache PATH :
my $CFG_LDFLAGS_SHLIB = q( -bexpall -bM:SRE -bnoentry -bI:/aladin/stock/gui/apache-1.3.22/libexec/httpd.exp
-lc -ldl); # 
substitute via Makefile.tmpl

it worked for me.

arno

> -----Message d'origine-----
> De:	Liedtke, Joerg [SMTP:Joerg.Liedtke@softwareag.com]
> Date:	lundi 10 décembre 2001 15:44
> À:	Tomcat (E-mail)
> Objet:	error while building mod_jk.so Tomcat 3.3 + Apache 1.3.22 on AIX 	4.33
> 
> Hello all,
> 
> I have a problem when building mode_jk.so on AIX.
> 
> At the beginning, everything works fine but then I get:
> 
> "mod_jk.c", line 1286.6: 1506-026 (S) Number of initializers cannot be
> greater than the number of aggregate members.
> apxs:Break: Command failed with rc=1
> 
> Can anyone help me please???
> 
> 
> Kind regards
> 
> Jörg Liedtke
>                                        	
> mailto:Joerg.Liedtke@softwareag.com 
> 
> I build the apache with:
> 
> ./configure --prefix=/usr/local/apache --enable-module=most
> --enable-shared=max --enable-rule=SHARED_CORE
>  
> Here my apxs Flags:
> -------------------------------
> my $CFG_TARGET        = q(httpd);            # substituted via Makefile.tmpl
> my $CFG_CC            = q(cc);                # substituted via
> Makefile.tmpl
> my $CFG_CFLAGS        = q( -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT
> -U__STR__ -DAIX_BIND_PROCESSOR -qcpluscmt -qnogenpcomp -qnousepcomp
> -DMOD_SSL=207101 -DMOD_PERL -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -qmaxmem=16384 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT
> -I../lib/expat-lite `../apaci`);            # substituted
> via Makefile.tmpl
> my $CFG_CFLAGS_SHLIB  = q(-DSHARED_MODULE);      # substituted via
> Makefile.tmpl
> my $CFG_LD_SHLIB      = q(ld);          # substituted via Makefile.tmpl
> my $CFG_LDFLAGS_SHLIB = q(-H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bexpall
> -bI:/usr/local/apache2/libexec/httpd.exp -lc -ldl); # substituted via
> Makefile.tmpl
> my $CFG_LIBS_SHLIB    = q();        # substituted via Makefile.tmpl
> my $CFG_PREFIX        = q(/usr/local/apache2);            # substituted via
> APACI install
> my $CFG_SBINDIR       = q(/usr/local/apache2/bin);           # substituted
> via APACI install
> my $CFG_INCLUDEDIR    = q(/usr/local/apache2/include);        # substituted
> via APACI install
> my $CFG_LIBEXECDIR    = q(/usr/local/apache2/libexec);        # substituted
> via APACI install
> my $CFG_SYSCONFDIR    = q(/usr/local/apache2/conf);        # substituted via
> APACI install
> ---------------------
> 
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_ajp12_worker.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_ajp13.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_ajp13_worker.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_connect.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_jni_worker.c
> "jk_jni_worker.c", line 739.28: 1506-068 (W) Operation between types
> "long(*)(const struct JNIInvokeInterface_***,const struct
> JNINativeInterface_***,void*)" and "void*" is not allowed.
> "jk_jni_worker.c", line 740.34: 1506-068 (W) Operation between types
> "long(*)(const struct JNIInvokeInterface_***,int,int*)" and "void*" is not
> allowed.
> "jk_jni_worker.c", line 741.43: 1506-068 (W) Operation between types
> "long(*)(void*)" and "void*" is not allowed.
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_lb_worker.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_map.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_msg_buff.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_nwmain.c
> "jk_nwmain.c", line 31.7: 1506-356 (W) Compilation unit is empty.
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_pool.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_sockbuf.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_uri_worker_map.c
> "jk_uri_worker_map.c", line 61.30: 1506-342 (W) "/*" detected in comment.
> "jk_uri_worker_map.c", line 61.54: 1506-342 (W) "/*" detected in comment.
> "jk_uri_worker_map.c", line 62.34: 1506-342 (W) "/*" detected in comment.
> "jk_uri_worker_map.c", line 62.65: 1506-342 (W) "/*" detected in comment.
> "jk_uri_worker_map.c", line 248.77: 1506-342 (W) "/*" detected in comment.
> "jk_uri_worker_map.c", line 249.44: 1506-342 (W) "/*" detected in comment.
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_util.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> jk_worker.c
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
> -qcpluscmt -qnogenpcomp -qnousepcomp -DMOD_SSL=207101 -DMOD_PERL
> -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
> -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE -I/usr/local/apache2/include -I/usr/java130/include  -c
> mod_jk.c
> "mod_jk.c", line 1286.6: 1506-026 (S) Number of initializers cannot be
> greater than the number of aggregate members.
> "mod_jk.c", line 1287.5: 1506-026 (S) Number of initializers cannot be
> greater than the number of aggregate members.
> "mod_jk.c", line 1288.5: 1506-026 (S) Number of initializers cannot be
> greater than the number of aggregate members.
> "mod_jk.c", line 1289.5: 1506-026 (S) Number of initializers cannot be
> greater than the number of aggregate members.
> "mod_jk.c", line 1290.5: 1506-026 (S) Number of initializers cannot be
> greater than the number of aggregate members.
> apxs:Break: Command failed with rc=1
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message