DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28559

mod_jk2 2.0.4 compiler error on Redhat Enterprise Linux 3.0, Apache 2.0.46

           Summary: mod_jk2 2.0.4 compiler error on Redhat Enterprise Linux
                    3.0, Apache 2.0.46
           Product: Tomcat 4
           Version: 4.1.29
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I've successfully compiled the 2.0.4 mod_jk2 connector for use w/ the RPM
version of Apache 2.0.46/Tomcat 4.1.29/30 on Redhat Enterprise Linux 3.0 (ES and
WS) as well as the RPM version of Apache on Fedora Core 1, so I'm a bit stumped
by this one.  This works on one machine, but doesn't on two others.  All three
are RHEL 3.0 and running the following:

Sun JDK 1.4.2 (j2sdk-1.4.2-fcs)
httpd-devel-2.0.46-26.ent
httpd-2.0.46-26.ent
Tomcat 4.1.29

I've untarred the 2.0.4 jk2 connector, and get the following when I run make:

==============================
[EMAIL PROTECTED] native2]$ pwd
/usr/local/jakarta/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
[EMAIL PROTECTED] native2]$ ./buildconfig
[EMAIL PROTECTED] native2]$ ./configure --with-apxs2=/usr/sbin/apxs
[EMAIL PROTECTED] native2]$ make
list=' server/apache2'; \
for i in $list; do \
        echo "Making $target in $i"; \
        if test "$i" != "."; then \
        (cd $i && make) || exit 1; \
fi; \
done;
Making  in server/apache2
make[1]: Entering directory
`/usr/local/jakarta/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
mkdir -p ../../../build/jk2/apache2/usr/lib/httpd/modules
/bin/sh /usr/bin/libtool --silent  --mode=compile gcc  -O2 -g -pipe -march=i386
-mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
-I../../include -I/usr/include/httpd
-I/usr/src/build/324798-i386/BUILD/httpd-2.0.46/prefork/srclib/apr-util/include
/usr/src/build/324798-i386/BUILD/httpd-2.0.46/srclib/apr-util/include
-I/usr/src/build/324798-i386/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/build/324798-i386/BUILD/httpd-2.0.46/srclib/apr/include
-DCHUNK_SIZE=4096 -DUSE_APACHE_MD5   -c ../../common/jk_channel_apr_socket.c -o
../../../build/jk2/apache2/jk_channel_apr_socket.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [../../../build/jk2/apache2/jk_channel_apr_socket.lo] Error 1
make[1]: Leaving directory
`/usr/local/jakarta/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1

=================================


Any ideas what this 'gcc: cannot specify -o with -c or -S and multiple
compilations' means and how to fix it?  All three machines have been upgraded to
RHEL 3.0 from various versions of Redhat (7.3 - 9.0) over time, so I suspect
it's some legacy junk hanging around that's causing the grief.  Any help would
be appreciated.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to