Red Hat Bugzilla – Bug 117912
libtool calls gcc with -o and -c options. gcc doesn't like this.
Last modified: 2015-01-07 19:07:37 EST
Description of problem:
RHEL 3 ES, ran up2date today (2003-03-09).
Building apache jakarta tomcat connectors 4.1.30.
Want to build the jk version 1 connector in jk/native
I run the configure script, run make, and gcc dies with
gcc: cannot specify -o with -c or -S and multiple compilations
Note that to produce the output that i attached to this bug i modified
the file jk/native/common/Makefile to remove the --silent option from
On my RH9 desktop, this build runs successfully.
RH9 desktop (success):
~@wrx% rpm -q httpd-devel httpd gcc libtool
ES3 server (failure):
[danno@icdb0 native]$ rpm -q httpd-devel httpd gcc libtool
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see above
Created attachment 98412 [details]
configure command line & make output
Changing product and version.
This behavior was *not* on RHEL public beta - it was on a licensed
copy of RHEL. I don't have software support, just updates, so i
assumed the only way to get this info to you was to file a bug here.
Marking as duplicate of bug 112771 - there was an issue with the
config_vars.mk file shipped in the httpd-devel package which was fixed
in an erratum update. If not that, this is likely to be some other
mod_jk2 issue, not a libtool issue.
*** This bug has been marked as a duplicate of 112771 ***
There is still a problem on the file config_vars.mk.
At the bottom of the file, there are defined the variables
APR_INCLUDEDIR and APU_INCLUDEDIR, with erroneous locations.
Besides that (what really causes the error)
APR_INCLUDEDIR = /one/dir/ /other/dir
Which results on something like:
gcc ..... -I/one/dir /other/dir
Giving the error of multiple compilations...
Paulo, can you file a new bug describing the issue you have and which
version of the httpd-devel package you are using? APR_ and
APU_INCLUDEDIR should both be set to /usr/include/httpd in any recent
version of httpd.
# grep _INCLUDEDIR config_vars.mk
APR_INCLUDEDIR = /usr/include/httpd
APU_INCLUDEDIR = /usr/include/httpd
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.