mod_jk for apache2, tomcat 5 and solaris 10
807557May 17 2006 — edited Jan 11 2008when i compile mod_jk in solaris 10 x86 box it shows following error:
/bin/bash /var/apache2/build/libtool --silent
--mode=compile gcc -I/usr/apache2/include -g -O2 -O
-xarch=386 -xchip=pentium -xspace -Xa -xildoff
-DSSL_EXPERIMENTAL -DSSL_ENGINE -DHAVE_APR
-I/usr/share/src/apache2/srclib/apr/include
-I/usr/share/src/apache2/srclib/apr-util/include -g
-O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -I /usr/jdk/entsys-j2se/include -I
/usr/jdk/entsys-j2se/include/ -c jk_ajp12_worker.c -o
jk_ajp12_worker.lo
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: jk_ajp12_worker.c: linker input file unused
because linking not done
mv: cannot access .libs/jk_ajp12_worker.lo
*** Error code 2
make: Fatal error: Command failed for target
`jk_ajp12_worker.lo'
Current working directory
/Desktop/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='common apache-2.0'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; k) fail=yes;; *)
exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
i'm using apache 2 that is included in solaris 10 package, tomcat 5.5.17 and jakarta-tomcat-connectors-1.2.15.
please help.
mnio