[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build-sys: remove slirp cflags from main-loop.o
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] build-sys: remove slirp cflags from main-loop.o |
Date: |
Fri, 12 Jul 2019 19:49:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 12/07/19 19:46, Marc-André Lureau wrote:
> Hi
>
> On Fri, Jul 12, 2019 at 9:37 PM Philippe Mathieu-Daudé
> <address@hidden> wrote:
>>
>> Hi Marc-André,
>>
>> On 7/12/19 7:27 PM, Marc-André Lureau wrote:
>>> Left over from c2d63650d962612cfa1b21302782d4cd12142c74.
>>>
>>> Signed-off-by: Marc-André Lureau <address@hidden>
>>
>> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>> Tested-by: Philippe Mathieu-Daudé <address@hidden>
>>
>>> ---
>>> util/Makefile.objs | 1 -
>>> 1 file changed, 1 deletion(-)
>>>
>>> diff --git a/util/Makefile.objs b/util/Makefile.objs
>>> index 38178201ff..68af3cd5e9 100644
>>> --- a/util/Makefile.objs
>>> +++ b/util/Makefile.objs
>>> @@ -3,7 +3,6 @@ util-obj-y += bufferiszero.o
>>> util-obj-y += lockcnt.o
>>> util-obj-y += aiocb.o async.o aio-wait.o thread-pool.o qemu-timer.o
>>> util-obj-y += main-loop.o iohandler.o
>>> -main-loop.o-cflags := $(SLIRP_CFLAGS)
>>> util-obj-$(call lnot,$(CONFIG_ATOMIC64)) += atomic64.o
>>> util-obj-$(CONFIG_POSIX) += aio-posix.o
>>> util-obj-$(CONFIG_POSIX) += compatfd.o
>>>
>>
>> Since you are looking at slirp, I'm having a bunch of:
>>
>> $ make help
>> [...]
>> CC slirp/src/tftp.o
>> Package glib-2.0 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `glib-2.0.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'glib-2.0' found
>> CC slirp/src/udp6.o
>> Package glib-2.0 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `glib-2.0.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'glib-2.0' found
>> [...]
>>
>> On MinGW.
>
> On "cross-mingw" I suppose
>
>> I can silent the warnings using (32-git build):
>>
>> PKG_CONFIG_PATH=/usr/lib/mxe/usr/i686-w64-mingw32.shared/lib/pkgconfig
>
> Hmm that looks like a pkg-config configuration issue to me.
>
>>
>> This is new since the slirp split.
>>
>> Any idea where to fix that?
>>
>
> Compile and install libslirp shared lib, ./configure --enable-slirp=system :)
>
> Btw, I wonder if we can already warn about deprecation of
> --enable-slirp=git. Peter is that too early for 4.1? (first libslirp
> was released last month)
Yeah, I think we should let a year pass or so.
Paolo