Fails to compile on MacOS

Bug #720787 reported by Nigel Horne
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

Make fails with:

qemu-thread.c: In function 'qemu_mutex_timedlock':
qemu-thread.c:75: warning: implicit declaration of function 'clock_gettime'
qemu-thread.c:75: warning: nested extern declaration of 'clock_gettime'
qemu-thread.c:75: error: 'CLOCK_REALTIME' undeclared (first use in this function)
qemu-thread.c:75: error: (Each undeclared identifier is reported only once
qemu-thread.c:75: error: for each function it appears in.)
qemu-thread.c:78: warning: implicit declaration of function 'pthread_mutex_timedlock'
qemu-thread.c:78: warning: nested extern declaration of 'pthread_mutex_timedlock'
qemu-thread.c: In function 'qemu_cond_timedwait':
qemu-thread.c:143: error: 'CLOCK_REALTIME' undeclared (first use in this function)
make: *** [qemu-thread.o] Error 1

On Git commit commit 79f2b6fcdb7c06cdce6eccc796f5651f3efb843e

Using "configure --enable-io-thread"

Revision history for this message
Nigel Horne (njh-bandsman) wrote :

It's moved on a bit. Qemu still fails to compile, but this is the latest error:

  CC i386-darwin-user/main.o
cc1: warning: /Users/nigel/src/qemu/darwin-user/i386: No such file or directory

Revision history for this message
Karl-Michael Schindler (karl-michael-schindler) wrote :

Nigel's error is also topic in bug https://bugs.launchpad.net/qemu/+bug/726962

Revision history for this message
Peter Maydell (pmaydell) wrote :

These compile errors have all been fixed some time ago.

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.