Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZ2B6-0001Z3-00 for qemu-devel@nongnu.org; Wed, 04 Apr 2007 05:53:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZ2B3-0001Yq-Hl for qemu-devel@nongnu.org; Wed, 04 Apr 2007 05:53:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZ2B3-0001Yn-Cb for qemu-devel@nongnu.org; Wed, 04 Apr 2007 05:53:17 -0400 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HZ27n-0001HS-Op for qemu-devel@nongnu.org; Wed, 04 Apr 2007 05:49:56 -0400 Received: by ug-out-1314.google.com with SMTP id j40so646103ugd for ; Wed, 04 Apr 2007 02:49:54 -0700 (PDT) Date: Wed, 4 Apr 2007 13:49:43 +0400 From: Anton Message-Id: <20070404134943.86718063.anton.borisov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] CLOCK_MONOTONIC undeclared in recent snapshot Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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)