qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Makefile: Dependency problem


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Makefile: Dependency problem
Date: Wed, 08 May 2013 12:10:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 08/05/2013 11:00, Kevin Wolf ha scritto:
> Am 08.05.2013 um 10:44 hat Paolo Bonzini geschrieben:
>>
>>> I just had a failing build like this (make -j3, so these are running in
>>> parallel):
>>>
>>> lt LINK libcacard.la
>>> AR    libqemuutil.a
>>> CC    stubs/mon-printf.o
>>> CC    stubs/mon-print-filename.o
>>> ar: stubs/mon-printf.o: No such file or directory
>>> make: *** [libcacard.la] Fehler 1
>>> make: *** Warte auf noch nicht beendete Prozesse...
>>>
>>> Restarting make obviously fixed the problem, but I thought I'd mention it
>>> here so that the dependencies can be fixed.
>>
>> Please try to reproduce it with "make V=1".
> 
> Doesn't seem to be reproducable now.
> 
>> Did you have an "lt CC  stubs/mon-printf.lo" before?
> 
> Nope, neither before this, nor during the following make run. So I guess
> it left an old version of it?

Yeah, it's possible that you have the .lo file, but deleted the .o file.
 libtool actually needs both, but the Makefile rule only has the .lo
file (if you try "%.lo %.o: %.c", Make starts using libtool to build
everything!).

Paolo

> Would explain why it doesn't reproduce after a "make clean".
> 
>> What version of Make is this?
> 
> make-3.82-13.fc18.x86_64
> 
> Kevin
> 
> 




reply via email to

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