qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1861551] [NEW] Errors while compiling source


From: Sergey Lunkin
Subject: [Bug 1861551] [NEW] Errors while compiling source
Date: Sat, 01 Feb 2020 10:59:09 -0000

Public bug reported:

OS type: Mac OS X 10.11.6
List of errors:
qemu-io-cmds.c:837:5: warning: implicit declaration of function 'clock_gettime' 
is invalid in C99 [-Wimplicit-function-declaration]
    clock_gettime(CLOCK_MONOTONIC, &t1);
    ^
qemu-io-cmds.c:837:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t1);
                  ^
qemu-io-cmds.c:843:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
qemu-io-cmds.c:970:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t1);
                  ^
qemu-io-cmds.c:972:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
qemu-io-cmds.c:1184:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t1);
                  ^
qemu-io-cmds.c:1194:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
qemu-io-cmds.c:1306:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t1);
                  ^
qemu-io-cmds.c:1308:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
qemu-io-cmds.c:1351:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
qemu-io-cmds.c:1383:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
qemu-io-cmds.c:1518:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &ctx->t1);
                  ^
qemu-io-cmds.c:1663:23: error: use of undeclared identifier 'CLOCK_MONOTONIC'
        clock_gettime(CLOCK_MONOTONIC, &ctx->t1);
                      ^
qemu-io-cmds.c:1885:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t1);
                  ^
qemu-io-cmds.c:1887:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
    clock_gettime(CLOCK_MONOTONIC, &t2);
                  ^
1 warning and 14 errors generated.
make: *** [qemu-io-cmds.o] Error 1

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1861551

Title:
  Errors while compiling source

Status in QEMU:
  New

Bug description:
  OS type: Mac OS X 10.11.6
  List of errors:
  qemu-io-cmds.c:837:5: warning: implicit declaration of function 
'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
      clock_gettime(CLOCK_MONOTONIC, &t1);
      ^
  qemu-io-cmds.c:837:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t1);
                    ^
  qemu-io-cmds.c:843:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  qemu-io-cmds.c:970:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t1);
                    ^
  qemu-io-cmds.c:972:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  qemu-io-cmds.c:1184:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t1);
                    ^
  qemu-io-cmds.c:1194:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  qemu-io-cmds.c:1306:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t1);
                    ^
  qemu-io-cmds.c:1308:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  qemu-io-cmds.c:1351:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  qemu-io-cmds.c:1383:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  qemu-io-cmds.c:1518:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &ctx->t1);
                    ^
  qemu-io-cmds.c:1663:23: error: use of undeclared identifier 'CLOCK_MONOTONIC'
          clock_gettime(CLOCK_MONOTONIC, &ctx->t1);
                        ^
  qemu-io-cmds.c:1885:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t1);
                    ^
  qemu-io-cmds.c:1887:19: error: use of undeclared identifier 'CLOCK_MONOTONIC'
      clock_gettime(CLOCK_MONOTONIC, &t2);
                    ^
  1 warning and 14 errors generated.
  make: *** [qemu-io-cmds.o] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1861551/+subscriptions



reply via email to

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