Blumlein,Richard wrote:
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
Those files need to be show up again as arguments in the libtool link
step, which in turn will put them into the nm.
In my Makefile in the apache-1.3 folder, there is:
mod_jk.la: mod_jk.lo $(APACHE_OBJECTS)
${MOD_LINK} -o $@ -module -rpath ${libexecdir} $^
It could be, that your make doesn't understand "$^". The make docs say:
=====
$^
The names of all the prerequisites, with spaces between them. For
prerequisites which are archive members, only the member named is used
(see Archives). A target has only one prerequisite on each other file it
depends on, no matter how many times each file is listed as a
prerequisite. So if you list a prerequisite more than once for a target,
the value of $^ contains just one copy of the name. This list does not
contain any of the order-only prerequisites; for those see the `$|'
variable, below.
=====
You could try to replace $^ in the Makefile with
mod_jk.lo $(APACHE_OBJECTS)
(two places).
Regards,
Rainer
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
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]