I recently compiled the latest version of mod_jk (jakarta-tomcat-3.2.2-src)
using the Sun Workshop v6 "cc" compiler on Solaris 8. It found three errors in
the mod_jk source code having to do with commenting. Turns out this version
of "cc" does not like the double slash comment. To use "cc", you must change
the "// ..." comments to "/* ... */" comments in the following files/lines:

  ./src/native/jk/jk_sockbuf.c - line 227
  ./src/native/jk/jk_util.c - lines 217 and 233

I also used the "-lposix4" option as stated in the documentation just in case.
You still get warnings when you compile, but the resulting mod_jk.so works
with Tomcat 3.2.2 and Apache 1.3.20.

Would someone on the development team please make these minor changes
in the mod_jk source for us Solaris users? Thank you.

Reply via email to