Hi Rainer,
Yes there were numerous -mode=compile statements before the first -mode=link
which
failed. It seems there is a hole in the process. I am following various docs
which
say to run the configure, then the make/make install.
Yes, it seems something is not being passed properly.
Rich
usr/bin/sh ../libtool --mode=compile xlc -I/opt/freeware/apache/include
-g -O2 -DAIX=510 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=208119 -DUSE_HSREGEX
-DEAPI -DJK_PREFORK -g -I /usr/local/bin/java/include -I /usr/local/bin/java/in
clude/ -c ./jk_status.c -o ./jk_status.lo
xlc -I/opt/freeware/apache/include -g -O2 -DAIX=510 -U__STR__ -DAIX_BIND_PROCES
SOR -DMOD_SSL=208119 -DUSE_HSREGEX -DEAPI -DJK_PREFORK -g -I /usr/local/bin/java
/include -I /usr/local/bin/java/include/ -c ./jk_status.c -DPIC -o ./.libs/jk_s
tatus.o
Target "all" is up to date.
Making all in apache-1.3
/usr/bin/sh ../libtool --mode=compile xlc -DUSE_APACHE_MD5 -I ../common
-I /usr/local/bin/java/include -I /usr/local/bin/java/include/ -I/opt/freeware/a
pache/include -O2 -DAIX=510 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=208119 -DUS
E_HSREGEX -DEAPI -DJK_PREFORK -g -I../common -c mod_jk.c -o mod_jk.lo
mkdir .libs
xlc -DUSE_APACHE_MD5 -I ../common -I /usr/local/bin/java/include -I /usr/local/
bin/java/include/ -I/opt/freeware/apache/include -O2 -DAIX=510 -U__STR__ -DAIX_B
IND_PROCESSOR -DMOD_SSL=208119 -DUSE_HSREGEX -DEAPI -DJK_PREFORK -g -I../common
-c mod_jk.c -DPIC -o .libs/mod_jk.o
/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"))
>
> /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