From: Paolo Bonzini <pbonzini@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Makefile: Dependency problem
Date: Wed, 08 May 2013 12:10:59 +0200 [thread overview]
Message-ID: <518A24B3.10404@redhat.com> (raw)
In-Reply-To: <20130508090026.GD3093@dhcp-200-207.str.redhat.com>
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
>
>
next prev parent reply other threads:[~2013-05-08 10:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 8:39 [Qemu-devel] Makefile: Dependency problem Kevin Wolf
2013-05-08 8:44 ` Paolo Bonzini
2013-05-08 9:00 ` Kevin Wolf
2013-05-08 10:10 ` Paolo Bonzini [this message]
2013-05-08 8:53 ` Dongsheng Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=518A24B3.10404@redhat.com \
--to=pbonzini@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).