qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4] configure: properly check if -lrt and -lm is


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH v4] configure: properly check if -lrt and -lm is needed
Date: Sat, 1 Sep 2012 09:13:20 +0000

On Wed, Aug 29, 2012 at 6:41 AM, Natanael Copa <address@hidden> wrote:
> On Tue, 28 Aug 2012 17:16:18 +0000
> Blue Swirl <address@hidden> wrote:
>
>> On Tue, Aug 28, 2012 at 7:33 AM, Natanael Copa
>> <address@hidden> wrote:
>> > On Tue, 21 Aug 2012 18:12:05 +0000
>> > Blue Swirl <address@hidden> wrote:
>> >>
>> >> Now I get this on mingw32:
>> >> config-host.mak is out-of-date, running configure
>> >>
>> >> Error: librt check failed
>> >
>> > Any news on the v4 patch, which should fix this?
>>
>> No change:
>> config-host.mak is out-of-date, running configure
>>
>> Error: librt check failed
>
> I have run out of guesses. Could I please have the last lines from your
> config.log?

i586-mingw32msvc-gcc -m32 -D__USE_MINGW_ANSI_STDIO=1
-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fstack-protector-all -Wendif-labels
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
-Wold-style-definition -Wtype-limits -o
/tmp/qemu-conf-7196-16398-8534.exe /tmp/qemu-conf-21413-16398-5412.c
-m32 -g
/tmp/qemu-conf-21413-16398-5412.c: In function 'main':
/tmp/qemu-conf-21413-16398-5412.c:4: warning: implicit declaration of
function 'timer_create'
/tmp/qemu-conf-21413-16398-5412.c:4: warning: nested extern
declaration of 'timer_create'
/tmp/qemu-conf-21413-16398-5412.c:4: error: 'CLOCK_REALTIME'
undeclared (first use in this function)
/tmp/qemu-conf-21413-16398-5412.c:4: error: (Each undeclared
identifier is reported only once
/tmp/qemu-conf-21413-16398-5412.c:4: error: for each function it appears in.)
/tmp/qemu-conf-21413-16398-5412.c:5: warning: implicit declaration of
function 'clock_gettime'
/tmp/qemu-conf-21413-16398-5412.c:5: warning: nested extern
declaration of 'clock_gettime'
i586-mingw32msvc-gcc -m32 -D__USE_MINGW_ANSI_STDIO=1
-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fstack-protector-all -Wendif-labels
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
-Wold-style-definition -Wtype-limits -o
/tmp/qemu-conf-7196-16398-8534.exe /tmp/qemu-conf-21413-16398-5412.c
-m32 -g -lrt -lpthreadGC2
/tmp/qemu-conf-21413-16398-5412.c: In function 'main':
/tmp/qemu-conf-21413-16398-5412.c:4: warning: implicit declaration of
function 'timer_create'
/tmp/qemu-conf-21413-16398-5412.c:4: warning: nested extern
declaration of 'timer_create'
/tmp/qemu-conf-21413-16398-5412.c:4: error: 'CLOCK_REALTIME'
undeclared (first use in this function)
/tmp/qemu-conf-21413-16398-5412.c:4: error: (Each undeclared
identifier is reported only once
/tmp/qemu-conf-21413-16398-5412.c:4: error: for each function it appears in.)
/tmp/qemu-conf-21413-16398-5412.c:5: warning: implicit declaration of
function 'clock_gettime'
/tmp/qemu-conf-21413-16398-5412.c:5: warning: nested extern
declaration of 'clock_gettime'

>
> Thanks!
>
> -nc



reply via email to

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