Message ID | 1231941790.5858.187.camel@nc (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Natanael Copa wrote: > Hi, > > I managed to build kvm on/for my uclibc distro, Alpine linux. The qemu > configure script failed to detect if it needed the -lrt ldflag. the > attatched patch fixes the test. > > It applies to the just released 83 release as well. > > Please submit this to qemu-devel@nongnu.org, as this is a qemu issue, not kvm specific.
--- kvm-82.orig/qemu/configure Wed Jan 14 13:40:28 2009 +++ kvm-82/qemu/configure Wed Jan 14 13:41:28 2009 @@ -1068,7 +1068,10 @@ cat > $TMPC <<EOF #include <signal.h> #include <time.h> -int main(void) { clockid_t id; return clock_gettime(id, NULL); } +int main(void) { clockid_t id; timer_t tid; + return clock_gettime(id, NULL) + timer_delete(tid); +} + EOF rt=no