Fails to compile on MacOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Make fails with:
qemu-thread.c: In function 'qemu_mutex_
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_
qemu-thread.c:78: warning: nested extern declaration of 'pthread_
qemu-thread.c: In function 'qemu_cond_
qemu-thread.c:143: error: 'CLOCK_REALTIME' undeclared (first use in this function)
make: *** [qemu-thread.o] Error 1
On Git commit commit 79f2b6fcdb7c06c
Using "configure --enable-io-thread"
It's moved on a bit. Qemu still fails to compile, but this is the latest error:
CC i386-darwin- user/main. o nigel/src/ qemu/darwin- user/i386: No such file or directory
cc1: warning: /Users/