[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HPUX: PARALLEL=4 make -P

From: Jason Kraftcheck
Subject: Re: HPUX: PARALLEL=4 make -P
Date: Mon, 12 Feb 2007 12:34:25 -0600
User-agent: Icedove (X11/20061220)

deckrider wrote:
> mkdir .libs
> mkdir .libs
> mkdir: cannot create .libs: File exists
> gcc -g -O2 -o goodbye src/goodbye.o 
> gcc -g -O2 -o one src/one.o 
> gcc: src/one.o: No such file or directory
> gcc: no input files
> one: *** Error exit code 1    
> [/home/deverly/tmp/bug-1.0.0/build/bug-1.0.0/_build/Makefile]
> gcc -g -O2 -o hello src/hello.o 

This looks like a race to create .libs by concurrent libtool processes.

Perhaps libtool should check again to see if the directory exists if mkdir

As a workaround, it might work to create the .libs directory with an
explicit rule in your, so that it is created before any
libtool invocations.  Something like:

all-am: .libs/.stamp
        @if test ! -d .libs; then mkdir .libs; fi
        @touch .libs/.stamp

reply via email to

[Prev in Thread] Current Thread [Next in Thread]