You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nathan Coraor <na...@cse.psu.edu> on 2002/09/27 19:18:25 UTC

4.1.12 mod_jk won't compile with Sun Compilers

Hi all.

The current release of mod_jk (from jakarta-tomcat-connectors 4.1.12)
will not build using the Sun compilers.  The reason is because of
output file errors.

The 4.1.10 version builds.  This seems to be because when you
configure, it detects whether or not the compiler can deal with output
files with a .lo extension:

  checking if /opt/SUNWspro/bin/cc supports -c -o file.o... yes
  checking if /opt/SUNWspro/bin/cc supports -c -o file.lo... 

And then acts accordingly:

  /opt/SUNWspro/bin/cc ... -o jk_ajp12_worker.o
  mv -f jk_ajp12_worker.o .libs/jk_ajp12_worker.lo

The new version doesn't:

  checking if /opt/SUNWspro/bin/cc supports -c -o file.o... yes
  checking if /opt/SUNWspro/bin/cc supports -c -o file.lo... 

  /opt/SUNWspro/bin/cc ... -o .libs/jk_ajp12_worker.lo
  cc: illegal suffix of output filename

Setting OEXT=.o in common/Makefile fixes this problem for that dir, but
changing it in apache-1.3/Makefile does not.

I tried a few workarounds but didn't come up with anything that works.

Any thoughts on this would be greatly appreciated.

Thanks,
--nate 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>