qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] CLOCK_MONOTONIC undeclared in recent snapshot


From: Anton
Subject: [Qemu-devel] CLOCK_MONOTONIC undeclared in recent snapshot
Date: Wed, 4 Apr 2007 13:49:43 +0400

Hi.
        I compile with gcc 3.3.4 [1] and have the following error [2]. The same 
case
        with qemu-snapshot-2007-03-26_05.tar.bz2. 
        ./configure --prefix=/usr/local/qemu
        What could be done?

Thanks

[1] GCC version details
bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld 
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4


[2] CLOCK_MONOTONIC error

make[1]: Entering directory 
`/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/i386-softmmu'
gcc -Wall -O2 -g -fno-strict-aliasing -I. -I.. 
-I/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/target-i386
 -I/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/fpu 
-DHAS_AUDIO 
-I/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/slirp 
  -c -o vl.o 
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c: 
In function `init_get_clock':
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c:656:
 error: `CLOCK_MONOTONIC' undeclared (first use in this function)
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c:656:
 error: (Each undeclared identifier is reported only once
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c:656:
 error: for each function it appears in.)
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c: 
In function `get_clock':
/mnt/hd/d/d12/Soft/Linux/Emulators/snapshot/qemu-snapshot-2007-04-04_05/vl.c:668:
 error: `CLOCK_MONOTONIC' undeclared (first use in this function)




reply via email to

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