Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 26964 invoked by uid 6000); 5 Apr 1999 15:30:04 -0000 Received: (qmail 26934 invoked by uid 2001); 5 Apr 1999 15:30:01 -0000 Received: (qmail 25723 invoked by uid 2012); 5 Apr 1999 15:24:40 -0000 Message-Id: <19990405152439.25722.qmail@hyperreal.org> Date: 5 Apr 1999 15:24:39 -0000 From: Markus "Thei�inger" Reply-To: markus.theissinger@gmx.de To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: mod_jserv/4192: parallel compilation (make -j) Apache-JServ-1.0b3 Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 4192 >Category: mod_jserv >Synopsis: parallel compilation (make -j) Apache-JServ-1.0b3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Apr 5 08:30:01 PDT 1999 >Last-Modified: >Originator: markus.theissinger@gmx.de >Organization: apache >Release: 1.3.6 >Environment: Linux 2.0.35, SuSe distribution 5.3, 2xPentium II 350 MHz, ASUS p2b-ds board Apache-JServ-1.0b3 apache_1.3.6 >Description: Apache-JServ-1.0b3 has a problem with parallel compilation (make -j). When building target mod_jserv.so, the command 'cp ./.libs/libjserv.so ./mod_jserv.so' is executed before libjserv.so is created. ----------------- Last lines of make -j output ----------------------------- mv -f jserv_status.o jserv_status.lo mv -f mod_jserv.o mod_jserv.lo /bin/sh ../../libtool --mode=link gcc -g -O2 -o libjserv.la -rpath /usr/apache/jserv/lib -version-info 0:0 mod_jserv.lo jserv_protocols.lo jserv_ajpv11.lo jserv_balance.lo jserv_utils.lo jserv_status.lo jserv_wrapper.lo jserv_wrapper_unix.lo jserv_image.lo cp ./.libs/libjserv.so ./mod_jserv.so cp: ./.libs/libjserv.so: No such file or directory make[4]: *** [mod_jserv.so] Error 1 make[4]: *** Waiting for unfinished jobs.... mkdir .libs gcc -shared -Wl,-soname -Wl,libjserv.so.0 -o .libs/libjserv.so.0.0.0 mod_jserv.lo jserv_protocols.lo jserv_ajpv11.lo jserv_balance.lo jserv_utils.lo jserv_status.lo jserv_wrapper.lo jserv_wrapper_unix.lo jserv_image.lo (cd .libs && ln -s libjserv.so.0.0.0 libjserv.so.0) (cd .libs && ln -s libjserv.so.0.0.0 libjserv.so) ar cru .libs/libjserv.a ranlib .libs/libjserv.a creating libjserv.la (cd .libs && ln -s ../libjserv.la libjserv.la) make[4]: Leaving directory `/home2/theissin/apache/Apache-JServ-1.0b3/src/c' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home2/theissin/apache/Apache-JServ-1.0b3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home2/theissin/apache/Apache-JServ-1.0b3' -------------------------------------------------------------------------------- >How-To-Repeat: configue make -j >Fix: Apply patch below to Apache-JServ-1.0b3/src/c/Makefile.am: -----------Start patch---------------------------- *** Makefile.am.orig Mon Apr 5 15:51:21 1999 --- Makefile.am Mon Apr 5 16:31:12 1999 *************** *** 34,40 **** libjserv_la_LDFLAGS = -version-info 0:0 endif ! mod_jserv.so: $(libjserv_la_OBJECTS) cp ./.libs/libjserv.so ./mod_jserv.so module_install: mod_jserv.so --- 34,40 ---- libjserv_la_LDFLAGS = -version-info 0:0 endif ! mod_jserv.so: $(libjserv_la_OBJECTS) libjserv.la cp ./.libs/libjserv.so ./mod_jserv.so module_install: mod_jserv.so -----------End patch------------------------------ >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]