Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 60899 invoked from network); 28 Apr 2002 14:15:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Apr 2002 14:15:13 -0000 Received: (qmail 12393 invoked by uid 97); 28 Apr 2002 14:15:08 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 12376 invoked by uid 97); 28 Apr 2002 14:15:07 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 12365 invoked from network); 28 Apr 2002 14:15:07 -0000 X-Authentication-Warning: costinm.sfo.covalent.net: costinm owned process doing -bs Date: Sun, 28 Apr 2002 07:13:56 -0700 (PDT) From: X-X-Sender: To: Michael Delamere cc: List Tomcat-Dev Subject: Re: mod_jk2 In-Reply-To: <01a501c1eebd$0df3ddc0$0a0aa8c0@michael> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I commited a fix. Let me know if it still fails. BTW, mod_jk2 is not even beta - we are still doing a lot of major changes and some important features are not yet finished. Don't waste your time with jk2 unless you want to contribute to the development ( sending feedback and comments and reviewing the code is an important contribution ) Costin On Sun, 28 Apr 2002, Michael Delamere wrote: > Hi, > > When comparing the 2 files that you suggested I notice the following: > > There seem to be a number of differences between the 2 files (possibly due > to apache2.0.35??) and "-prefer-pic" doesn�t exist in the rules.mk at all. > > regards > > Michael > > > > MAKEFILE: > ###### Based on rules.mk ########################################## > ALL_CFLAGS = $(EXTRA_CFLAGS) $(NOTEST_CFLAGS) $(CFLAGS) > ALL_CPPFLAGS = $(DEFS) $(EXTRA_CPPFLAGS) $(NOTEST_CPPFLAGS) $(CPPFLAGS) > ALL_LDFLAGS = $(EXTRA_LDFLAGS) $(NOTEST_LDFLAGS) $(LDFLAGS) > ALL_LIBS = $(EXTRA_LIBS) $(NOTEST_LIBS) $(LIBS) > ALL_INCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) > > # Compile commands > COMPILE = $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES) > > SH_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) -prefer-pic > MOD_LINK = $(LIBTOOL) --mode=link $(CC) -module -shared $(LT_LDFLAGS) > $(ALL_LDFLAGS) > > ############################################################################ > # > > > RULES.MK > ######################################################################## > # Combine all of the flags together in the proper order so that > # the user-defined flags can always override the configure ones, if needed. > # Note that includes are listed after the flags because -I options have > # left-to-right precedence and CPPFLAGS may include user-defined overrides. > # > ALL_CFLAGS = $(EXTRA_CFLAGS) $(NOTEST_CFLAGS) $(CFLAGS) > ALL_CPPFLAGS = $(DEFS) $(EXTRA_CPPFLAGS) $(NOTEST_CPPFLAGS) $(CPPFLAGS) > ALL_CXXFLAGS = $(EXTRA_CXXFLAGS) $(NOTEST_CXXFLAGS) $(CXXFLAGS) > ALL_LDFLAGS = $(EXTRA_LDFLAGS) $(NOTEST_LDFLAGS) $(LDFLAGS) > ALL_LIBS = $(EXTRA_LIBS) $(NOTEST_LIBS) $(LIBS) > ALL_INCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) > > # Compile commands > > COMPILE = $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES) > CXX_COMPILE = $(CXX) $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES) > > SH_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) -c $< && touch $@ > SH_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $< && touch $@ > > LT_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) -c $< && touch $@ > LT_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $< && touch $@ > > # Link-related commands > > LINK = $(LIBTOOL) --mode=link $(COMPILE) $(LT_LDFLAGS) $(ALL_LDFLAGS) -o > $@ > SH_LINK = $(SH_LIBTOOL) --mode=link $(COMPILE) $(LT_LDFLAGS) $(ALL_LDFLAGS) > $(SH_LDFLAGS) $(CORE_IMPLIB) $(SH_LIBS) - > MOD_LINK = $(LIBTOOL) --mode=link $(COMPILE) -module $(LT_LDFLAGS) > $(ALL_LDFLAGS) -o $@ > ####################################################################### > > > > > > ----- Original Message ----- > From: > To: "Michael Delamere" > Cc: "List Tomcat-Dev" > Sent: Sunday, April 28, 2002 3:31 PM > Subject: Re: mod_jk2 > > > > > > > > > > On Sun, 28 Apr 2002, Michael Delamere wrote: > > > > > Hi, > > > > > > When I try to run make in > > > "jakarta-tomcat-connectors/jk/native2/server/apache2" I get a compile > error. > > > One of the errors is: > > > > > > gcc: unrecognized option `-prefer-pic' > > > > > > Does this mean that I�ve got the wrong version of gcc? I�ve got v2.95 > > > installed. > > > > Are you on Linux ? The -prefer-pic seems to be supported - I cut&pasted it > > from the Apache's Makefile ( genereated by configure ). You can take a > > look in APACHE_HOME/build/rules.mk and 'synchronize' this with the jk > > makefile. > > ( and let us know what you change :-) > > > > In any case - -prefer-pic shouldn't be needed - I'll double check and > > remove it. > > > > Costin > > > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > -- To unsubscribe, e-mail: For additional commands, e-mail: