Hi,
I am using Apache that comes default with Solaris 10 on SPARC platform. I am not able to build mod_jk for it. Please help.
I am getting the following error:
web-a@bronze-web-dev-01:/apps/apache/mod_jk/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native $ make
Making all in common
/apps/apache/mod_jk/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common
/bin/bash /var/apache2/build/libtool --silent --mode=compile gcc -I/usr/apache2/include -g -O2 -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -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/j2se/include -I /usr/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 /apps/apache/mod_jk/src/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'
Regards,
-GnanaShekar-