From: Anton <anton.borisov@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] CLOCK_MONOTONIC undeclared in recent snapshot
Date: Wed, 4 Apr 2007 13:49:43 +0400 [thread overview]
Message-ID: <20070404134943.86718063.anton.borisov@gmail.com> (raw)
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 other threads:[~2007-04-04 9:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070404134943.86718063.anton.borisov@gmail.com \
--to=anton.borisov@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).