SHARE
TWEET

libcap issue

a guest Feb 15th, 2013 2 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ make
  2. echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
  3. cd lib/ && make lib
  4. make[1]: Entering directory `/src/proftpd-1.2.9/lib'
  5. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c pr_fnmatch.c
  6. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c sstrncpy.c
  7. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c strsep.c
  8. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c vsnprintf.c
  9. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c glibc-glob.c
  10. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c glibc-hstrerror.c
  11. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c glibc-mkstemp.c
  12. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c pr-syslog.c
  13. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c pwgrent.c
  14. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c getopt.c
  15. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c getopt1.c
  16. ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerror.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
  17. ranlib libsupp.a
  18. make[1]: Leaving directory `/src/proftpd-1.2.9/lib'
  19. cd src/ && make src
  20. make[1]: Entering directory `/src/proftpd-1.2.9/src'
  21. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c main.c
  22. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c timers.c
  23. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c sets.c
  24. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c pool.c
  25. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c regexp.c
  26. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c dirtree.c
  27. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c support.c
  28. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c netaddr.c
  29. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c inet.c
  30. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c log.c
  31. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c bindings.c
  32. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c scoreboard.c
  33. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c feat.c
  34. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c netio.c
  35. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c response.c
  36. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c ident.c
  37. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c data.c
  38. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c modules.c
  39. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c auth.c
  40. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c fsio.c
  41. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mkhome.c
  42. make[1]: Leaving directory `/src/proftpd-1.2.9/src'
  43. cd modules/ && make modules
  44. make[1]: Entering directory `/src/proftpd-1.2.9/modules'
  45. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_core.c
  46. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_xfer.c
  47. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_auth_unix.c
  48. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_auth_file.c
  49. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_auth.c
  50. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_ls.c
  51. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_log.c
  52. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_site.c
  53. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c mod_cap.c
  54. srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o  mod_cap.o
  55. gcc  -DLINUX  -I.. -I../include  -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c module_glue.c
  56. make[1]: Leaving directory `/src/proftpd-1.2.9/modules'
  57. make[1]: Entering directory `/src/proftpd-1.2.9/lib/libcap'
  58. => making cap_names.c from <linux/capability.h>
  59. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -Llib  _makenames.c -o _makenames
  60. ./_makenames > cap_names.h
  61. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c cap_alloc.c -o cap_alloc.o
  62. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c cap_proc.c -o cap_proc.o
  63. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c cap_extint.c -o cap_extint.o
  64. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c cap_flag.c -o cap_flag.o
  65. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c cap_text.c -o cap_text.o
  66. cc -fno-stack-protector -z norelro -z execstack -D_FORTIFY_SOURCE=0 -Wall -Wno-long-double -c cap_sys.c -o cap_sys.o
  67. cap_sys.c:14: error: expected declaration specifiers or ‘...’ before ‘capget’
  68. cap_sys.c:15: error: expected declaration specifiers or ‘...’ before ‘header’
  69. cap_sys.c:16: error: expected declaration specifiers or ‘...’ before ‘data’
  70. cap_sys.c:18: warning: return type defaults to ‘int’
  71. cap_sys.c: In function ‘_syscall2’:
  72. cap_sys.c:18: error: expected declaration specifiers before ‘_syscall2’
  73. cap_sys.c:14: error: parameter name omitted
  74. cap_sys.c:15: error: parameter name omitted
  75. cap_sys.c:16: error: parameter name omitted
  76. At top level:
  77. cc1: warning: unrecognized command line option "-Wno-long-double"
  78. make[1]: *** [cap_sys.o] Error 1
  79. make[1]: Leaving directory `/src/proftpd-1.2.9/lib/libcap'
  80. make: *** [dirs] Error 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top