Advertisement
robn

Untitled

Oct 30th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. robn@pyro:~$ gcc -Wall -Wextra -o zombie zombie.c
  2. zombie.c: In function ‘main’:
  3. zombie.c:2:5: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration]
  4. zombie.c:3:5: warning: implicit declaration of function ‘kill’ [-Wimplicit-function-declaration]
  5. zombie.c:3:21: error: ‘SIGKILL’ undeclared (first use in this function)
  6. zombie.c:3:21: note: each undeclared identifier is reported only once for each function it appears in
  7. zombie.c:4:5: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
  8. zombie.c:4:20: error: ‘UINT_MAX’ undeclared (first use in this function)
  9. robn@pyro:~$ gcc -v
  10. Using built-in specs.
  11. COLLECT_GCC=gcc
  12. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
  13. Target: x86_64-linux-gnu
  14. Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-4' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  15. Thread model: posix
  16. gcc version 4.7.2 (Debian 4.7.2-4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement