Skip to content

Instantly share code, notes, and snippets.

@atondwal
Created November 12, 2013 02:58
Show Gist options
  • Save atondwal/7424736 to your computer and use it in GitHub Desktop.
Save atondwal/7424736 to your computer and use it in GitHub Desktop.
gcc -Wall -O2 -g -fno-strict-aliasing -I. -I/home/atondwal/git/temu-1.0 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/atondwal/git/temu-1.0/slirp -DQEMU_IMG -c -o qemu-img-block-raw-posix.o block-raw-posix.c
block-raw-posix.c:242:26: error: ‘SIGUSR2’ undeclared here (not in a function)
block-raw-posix.c: In function ‘qemu_aio_init’:
block-raw-posix.c:264:22: error: storage size of ‘act’ isn’t known
block-raw-posix.c:268:5: warning: implicit declaration of function ‘sigfillset’ [-Wimplicit-function-declaration]
block-raw-posix.c:271:5: warning: implicit declaration of function ‘sigaction’ [-Wimplicit-function-declaration]
block-raw-posix.c:264:22: warning: unused variable ‘act’ [-Wunused-variable]
block-raw-posix.c: In function ‘qemu_aio_wait_start’:
block-raw-posix.c:348:5: warning: implicit declaration of function ‘sigemptyset’ [-Wimplicit-function-declaration]
block-raw-posix.c:349:5: warning: implicit declaration of function ‘sigaddset’ [-Wimplicit-function-declaration]
block-raw-posix.c:350:5: warning: implicit declaration of function ‘sigprocmask’ [-Wimplicit-function-declaration]
block-raw-posix.c:350:17: error: ‘SIG_BLOCK’ undeclared (first use in this function)
block-raw-posix.c:350:17: note: each undeclared identifier is reported only once for each function it appears in
block-raw-posix.c: In function ‘qemu_aio_wait’:
block-raw-posix.c:364:5: warning: implicit declaration of function ‘sigwait’ [-Wimplicit-function-declaration]
block-raw-posix.c: In function ‘qemu_aio_wait_end’:
block-raw-posix.c:370:17: error: ‘SIG_SETMASK’ undeclared (first use in this function)
block-raw-posix.c: In function ‘raw_create’:
block-raw-posix.c:537:14: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
make: *** [qemu-img-block-raw-posix.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment