tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject jk compilation help under solaris.
Date Fri, 04 May 2001 22:25:12 GMT
I'm nearly there with a working apache/tomcat config, but I'm new to
using apxs, so have NO idea how to fix the following error. The environment
is a Sun Netra T1, running a fully patched Solaris 2.8. I've included the full
context of the error, and my Makefile below:

Any help would be greatly appreciated!

bash-2.03# pwd
bash-2.03# make
/usr/local/apache/bin/apxs -I ../jk -I /usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS
-c -o mod_jk.c ../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c ../jk/jk_util.c
../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c ../jk/jk_worker.c ../jk/jk_ajp13_worker.c
../jk/jk_lb_worker.c ../jk/jk_sockbuf.c  ../jk/jk_map.c ../jk/jk_uri_worker_map.c        
cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include
-I/usr/j2se/include/solaris -DSOLARIS  -c mod_jk.c
apxs:Break: Command failed with rc=16711680
make: *** [] Error 1

***Start of Makefile ***

bash-2.03# more Makefile
## You need to edit this file - configure later :-)

## I assume this one is set up already

JAVA_INCL=-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS}
JAVA_LIB=-L ${JAVA_HOME}/jre/lib/${ARCH} -L ${JAVA_HOME}/lib/${ARCH}/native_threads
#ifndef APXS

SRCS=../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c ../jk/jk_util.c ../
jk/jk_ajp13.c \
     ../jk/jk_jni_worker.c ../jk/jk_pool.c ../jk/jk_worker.c ../jk/jk_ajp13_worker.c ..
/jk/jk_lb_worker.c \
     ../jk/jk_sockbuf.c  ../jk/jk_map.c ../jk/jk_uri_worker_map.c          

        $(APXS) -I ../jk ${JAVA_INCL} -DSOLARIS -c -o $@ mod_jk.c $(SRCS) 

        rm *.o *.so
"A human being should be able to change a diaper, plan an invasion,
 butcher a hog, conn a ship, design a building, write a sonnet, 
 balance accounts, build a wall, set a bone, comfort the dying, 
 take orders, give orders, cooperate, act alone, solve equations,
 analyze a new problem, pitch manure, program a computer, cook a
 tasty meal, fight efficiently, die gallantly. Specialization is
 for insects."
		Robert A. Heinlein, "The Notebooks of Lazarus Long"

View raw message