Web Servers on Unix and Linux - Compilation problem mod_jk in HP UX 11.23

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > March 2004 > Compilation problem mod_jk in HP UX 11.23





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Compilation problem mod_jk in HP UX 11.23
Chithu

2004-03-20, 9:24 pm

Dear All,

I'm trying to compile mod_jk.so for HP-UX platform (I'm newbie to HP
UX Platform),

1. Compiled Apache 2.0.47 in HP UX
2. Trying to compile mod_jk.so from
jakarta-tomcat-connectors-4.1.27-src.tar.gz

Exception thows like,

gcc: cannot specify -o with -c or -S and multiple compilations

Kindly let me know what is the problem, and how to resolve this,

Platform details ::
HP-UX rx2600 B.11.23 U ia64 2472515287 unlimited-user license

Error Trace ::
==============

# make
No suffix list.
Making all in common
/usr/local/bin/libtool --mode=compile gcc
-I/chithu/install_apache/include -g -O2 -g -Ae +DAportable +Z
-mthreads -g -O2 -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I
/include -I /include/ -c ./jk_ajp12_worker.c
gcc -I/chithu/install_apache/include -g -O2 -g -Ae +DAportable +Z
-mthreads -g -O2 -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I
/include -I /include/ -c ./jk_ajp12_worker.c -DPIC -o
..libs/jk_ajp12_worker.o
gcc: cannot specify -o with -c or -S and multiple compilations
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
===================

GNU Utility versions ::
[http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/alpha.html]

# Product(s) ::
#

autoconf 2.57 autoconf
automake 1.7.4 automake
gcc 3.3.2 gcc
libtool 1.5 libtool
m4 1.4 m4
perl 5.8.3 perl
sed 4.0.9 sed

Any help to resolve this is really appreciated.

Regards,
Chithuu ..!
Paul Pluzhnikov

2004-03-20, 9:24 pm

chitrapandian@yahoo.com (Chithu) writes:

> /usr/local/bin/libtool --mode=compile gcc
> -I/chithu/install_apache/include -g -O2 -g -Ae +DAportable +Z
> -mthreads -g -O2 -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I
> /include -I /include/ -c ./jk_ajp12_worker.c


You are invoking 'gcc' with arguments (-Ae +DAportable +Z ...) which
are intended for /usr/ccs/bin/cc and which gcc does not understand.

It sounds like jakarta was not correctly configured, or you've
edited some Makefiles inappropriately.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Joe Fischer

2004-03-20, 9:24 pm

On 19 Mar 2004 06:54:36 -0800, Paul Pluzhnikov
<ppluzhnikov-nsp@charter.net> wrote:

>chitrapandian@yahoo.com (Chithu) writes:
>
>
>You are invoking 'gcc' with arguments (-Ae +DAportable +Z ...) which
>are intended for /usr/ccs/bin/cc and which gcc does not understand.
>
>It sounds like jakarta was not correctly configured, or you've
>edited some Makefiles inappropriately.
>
>Cheers,

mod_jk seems to be fairly old. Problems like this might stem
from the fact that this module will only work on Apache 1.3. I don't
know that for sure, but mod_jk2 does work on Apache2. It's not a real
easy thing to configure.
I don't have any experience on Hp, either.
-------
Remove underscores from e-mail address.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com