I am having problems compiling connector for Tomcat 5.5.12 and apache2
on Solaris 10.  I am compiling using gcc 3.4.3 (supplied with solaris
10) and I am building the connector for the apache2 that is supplied
with solaris 10.  Here is the output I am getting, any ideas would be
appreciated, I am new to Tomcat:

 

make

Making all in 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 /include -I /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
/usr/local/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'

 

Paul

 

Paul Goverts IV
Computer Services
St. John Fisher College
Rochester, NY 14618

"Ask yourself - Where are you going?  Who is going with you?"  -- "Col."
Gordon Shay

 

Reply via email to