ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do the make command.

2007-11-20 Thread Blumlein,Richard
Hello,

Apache web server 1.3.31
Tomcat is at 5.5.20
AIX 5.3


I am attempting to build the Apache Web Server  to Tomcat connector mod_jk.
I have spent the last couple of days reviewing the docs and internet and I am 
not sure
what is causing this. It seems to indicate a syntax issue with the nm command 
and this
is affecting the ld command. I believe the call of the -mode-link and xlc 
generate these
commands when libtool is called.

Any information would be helpful in what I need to correct this problem.

Rich

The configure seems to work ok.
/software/source/gnu/apache_tomcat/work/tomcat-connectors-1.2.25-src/native
./configure --with-apxs=/usr/sbin/apxs


make

 This is where the make fails.

/usr/bin/sh ../libtool --mode=link xlc -o mod_jk.la -module -rpath /opt/
freeware/apache/libexec
generating symbol list for `mod_jk.la'
/usr/bin/nm -B -BCpg   | awk '{ if ((($2 == T) || ($2 == D) || ($2 == B))
 (substr($3,1,1) != .)) { print $3 } }' | sort -u  .libs/mod_jk.exp
Usage: nm [-ACfhlprTv] [-B|-P] [-e|-g|-u] [-d|-o|-x|{-t [d|x|o]}]
[-X{32|64|32_64|d64|any}] [--] File ...
xlc -Wl,-bM:SRE -o .libs/mod_jk.so.0   -lc -Wl,-bnoentry  -Wl,-bE:.libs/mod_jk.e
xp ${wl}-berok
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
make: 1254-004 The error code from the last command is 8.


Stop.
make: 1254-004 The error code from the last command is 1


Re: ApacheTomcat Connector mod_jk, receiving 0711-244 ERROR when I do the make command.

2007-11-20 Thread Rainer Jung

Blumlein,Richard wrote:

Hello,

Apache web server 1.3.31
Tomcat is at 5.5.20
AIX 5.3


I am attempting to build the Apache Web Server  to Tomcat connector mod_jk.
I have spent the last couple of days reviewing the docs and internet and I am 
not sure
what is causing this. It seems to indicate a syntax issue with the nm command 
and this
is affecting the ld command. I believe the call of the -mode-link and xlc 
generate these
commands when libtool is called.

Any information would be helpful in what I need to correct this problem.

Rich

The configure seems to work ok.
/software/source/gnu/apache_tomcat/work/tomcat-connectors-1.2.25-src/native
./configure --with-apxs=/usr/sbin/apxs


make

 This is where the make fails.

/usr/bin/sh ../libtool --mode=link xlc -o mod_jk.la -module -rpath /opt/
freeware/apache/libexec


There should be a lot of object files in the above libtool command. 
Before that output, all the files in common should have been compiled 
and the object files should appear in the link.



generating symbol list for `mod_jk.la'


Again, in the next line, the nm command doesn't have any file arguments. 
It should have the same object files as arguments, that are missing in 
the above libtool line.


These are just formal observations though, I've got not AIX specific 
experience.



/usr/bin/nm -B -BCpg   | awk '{ if ((($2 == T) || ($2 == D) || ($2 == B))
 (substr($3,1,1) != .)) { print $3 } }' | sort -u  .libs/mod_jk.exp
Usage: nm [-ACfhlprTv] [-B|-P] [-e|-g|-u] [-d|-o|-x|{-t [d|x|o]}]
[-X{32|64|32_64|d64|any}] [--] File ...
xlc -Wl,-bM:SRE -o .libs/mod_jk.so.0   -lc -Wl,-bnoentry  -Wl,-bE:.libs/mod_jk.e
xp ${wl}-berok
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
make: 1254-004 The error code from the last command is 8.


Stop.
make: 1254-004 The error code from the last command is 1


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]