Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Something
Monday, July 9th, 2007 at 9:59:50pm UTC 

  1. web1:/home/owner/vhcs2-2.4.7.1# make install
  2. cd ./tools && make install
  3. make[1]: Entering directory `/home/owner/vhcs2-2.4.7.1/tools'
  4. cd ./build && make install
  5. make[2]: Entering directory `/home/owner/vhcs2-2.4.7.1/tools/build'
  6. /usr/bin/install -m 0700 -o root -g root ./vhcs2-mkdirs.pl /usr/sbin
  7. make[2]: Leaving directory `/home/owner/vhcs2-2.4.7.1/tools/build'
  8. cd ./daemon && make vhcs2_daemon
  9. make[2]: Entering directory `/home/owner/vhcs2-2.4.7.1/tools/daemon'
  10. gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -c -o vhcs_daemon.o vhcs_daemo                                                                             n.c
  11. In file included from vhcs_daemon.c:2:
  12. defs.h:11:20: error: stdlib.h: No such file or directory
  13. defs.h:17:20: error: syslog.h: No such file or directory
  14. defs.h:23:22: error: sys/stat.h: No such file or directory
  15. defs.h:24:23: error: sys/types.h: No such file or directory
  16. defs.h:25:24: error: sys/socket.h: No such file or directory
  17. defs.h:31:24: error: netinet/in.h: No such file or directory
  18. defs.h:37:22: error: sys/time.h: No such file or directory
  19. defs.h:43:20: error: signal.h: No such file or directory
  20. defs.h:49:20: error: string.h: No such file or directory
  21. defs.h:55:19: error: errno.h: No such file or directory
  22. defs.h:61:20: error: unistd.h: No such file or directory
  23. defs.h:67:19: error: stdio.h: No such file or directory
  24. defs.h:73:23: error: arpa/inet.h: No such file or directory
  25. vhcs_daemon.c: In function 'main':
  26. vhcs_daemon.c:12: error: storage size of 'servaddr' isn't known
  27. vhcs_daemon.c:15: error: storage size of 'cliaddr' isn't known
  28. vhcs_daemon.c:20: error: 'pid_t' undeclared (first use in this function)
  29. vhcs_daemon.c:20: error: (Each undeclared identifier is reported only once
  30. vhcs_daemon.c:20: error: for each function it appears in.)
  31. vhcs_daemon.c:20: error: expected ';' before 'childpid'
  32. vhcs_daemon.c:22: error: 'socklen_t' undeclared (first use in this function)
  33. vhcs_daemon.c:22: error: expected ';' before 'clilen'
  34. vhcs_daemon.c:27: error: 'EOF' undeclared (first use in this function)
  35. vhcs_daemon.c:37: error: 'LOG_DAEMON' undeclared (first use in this function)
  36. vhcs_daemon.c:39: warning: implicit declaration of function 'socket'
  37. vhcs_daemon.c:39: error: 'AF_INET' undeclared (first use in this function)
  38. vhcs_daemon.c:39: error: 'SOCK_STREAM' undeclared (first use in this function)
  39. vhcs_daemon.c:41: warning: implicit declaration of function 'memset'
  40. vhcs_daemon.c:41: warning: incompatible implicit declaration of built-in functio                                                                             n 'memset'
  41. vhcs_daemon.c:41: error: 'size_t' undeclared (first use in this function)
  42. vhcs_daemon.c:41: error: expected ')' before 'sizeof'
  43. vhcs_daemon.c:45: warning: implicit declaration of function 'htonl'
  44. vhcs_daemon.c:47: warning: implicit declaration of function 'htons'
  45. vhcs_daemon.c:49: warning: implicit declaration of function 'bind'
  46. vhcs_daemon.c:50: warning: implicit declaration of function 'strerror'
  47. vhcs_daemon.c:50: error: 'errno' undeclared (first use in this function)
  48. vhcs_daemon.c:50: warning: passing argument 2 of 'say' makes pointer from intege                                                                             r without a cast
  49. vhcs_daemon.c:51: warning: implicit declaration of function 'exit'
  50. vhcs_daemon.c:51: warning: incompatible implicit declaration of built-in functio                                                                             n 'exit'
  51. vhcs_daemon.c:54: warning: implicit declaration of function 'listen'
  52. vhcs_daemon.c:55: warning: passing argument 2 of 'say' makes pointer from intege                                                                             r without a cast
  53. vhcs_daemon.c:56: warning: incompatible implicit declaration of built-in functio                                                                             n 'exit'
  54. vhcs_daemon.c:61: warning: implicit declaration of function 'calloc'
  55. vhcs_daemon.c:61: warning: incompatible implicit declaration of built-in functio                                                                             n 'calloc'
  56. vhcs_daemon.c:61: error: invalid application of 'sizeof' to incomplete type 'str                                                                             uct timeval'
  57. vhcs_daemon.c:62: error: invalid application of 'sizeof' to incomplete type 'str                                                                             uct timeval'
  58. vhcs_daemon.c:64: error: invalid application of 'sizeof' to incomplete type 'str                                                                             uct timeval'
  59. vhcs_daemon.c:66: error: invalid application of 'sizeof' to incomplete type 'str                                                                             uct timeval'
  60. vhcs_daemon.c:68: error: dereferencing pointer to incomplete type
  61. vhcs_daemon.c:69: error: dereferencing pointer to incomplete type
  62. vhcs_daemon.c:71: error: dereferencing pointer to incomplete type
  63. vhcs_daemon.c:72: error: dereferencing pointer to incomplete type
  64. vhcs_daemon.c:74: warning: implicit declaration of function 'signal'
  65. vhcs_daemon.c:74: error: 'SIGCHLD' undeclared (first use in this function)
  66. vhcs_daemon.c:76: error: 'SIGPIPE' undeclared (first use in this function)
  67. vhcs_daemon.c:79: error: 'FILE' undeclared (first use in this function)
  68. vhcs_daemon.c:79: error: 'file' undeclared (first use in this function)
  69. vhcs_daemon.c:79: warning: implicit declaration of function 'fopen'
  70. vhcs_daemon.c:80: warning: implicit declaration of function 'fprintf'
  71. vhcs_daemon.c:80: warning: incompatible implicit declaration of built-in functio                                                                             n 'fprintf'
  72. vhcs_daemon.c:80: warning: implicit declaration of function 'getpid'
  73. vhcs_daemon.c:81: warning: implicit declaration of function 'fclose'
  74. vhcs_daemon.c:88: error: 'clilen' undeclared (first use in this function)
  75. vhcs_daemon.c:88: error: expected ';' before 'sizeof'
  76. vhcs_daemon.c:91: warning: implicit declaration of function 'accept'
  77. vhcs_daemon.c:99: error: 'EINTR' undeclared (first use in this function)
  78. vhcs_daemon.c:103: warning: passing argument 2 of 'say' makes pointer from integ                                                                             er without a cast
  79. vhcs_daemon.c:104: warning: incompatible implicit declaration of built-in functi                                                                             on 'exit'
  80. vhcs_daemon.c:115: warning: implicit declaration of function 'setsockopt'
  81. vhcs_daemon.c:117: error: 'SOL_SOCKET' undeclared (first use in this function)
  82. vhcs_daemon.c:118: error: 'SO_RCVTIMEO' undeclared (first use in this function)
  83. vhcs_daemon.c:121: error: invalid application of 'sizeof' to incomplete type 'st                                                                             ruct timeval'
  84. vhcs_daemon.c:126: error: 'SO_SNDTIMEO' undeclared (first use in this function)
  85. vhcs_daemon.c:129: error: invalid application of 'sizeof' to incomplete type 'st                                                                             ruct timeval'
  86. vhcs_daemon.c:133: warning: implicit declaration of function 'inet_ntop'
  87. vhcs_daemon.c:135: error: 'childpid' undeclared (first use in this function)
  88. vhcs_daemon.c:135: warning: implicit declaration of function 'fork'
  89. vhcs_daemon.c:138: warning: implicit declaration of function 'close'
  90. vhcs_daemon.c:142: warning: implicit declaration of function 'sprintf'
  91. vhcs_daemon.c:142: warning: incompatible implicit declaration of built-in functi                                                                             on 'sprintf'
  92. vhcs_daemon.c:148: warning: implicit declaration of function 'free'
  93. vhcs_daemon.c:150: warning: incompatible implicit declaration of built-in functi                                                                             on 'exit'
  94. vhcs_daemon.c:156: warning: implicit declaration of function 'closelog'
  95. vhcs_daemon.c:15: warning: unused variable 'cliaddr'
  96. vhcs_daemon.c:12: warning: unused variable 'servaddr'
  97. make[2]: *** [vhcs_daemon.o] Error 1
  98. make[2]: Leaving directory `/home/owner/vhcs2-2.4.7.1/tools/daemon'
  99. make[1]: *** [install] Error 2
  100. make[1]: Leaving directory `/home/owner/vhcs2-2.4.7.1/tools'
  101. make: *** [install] Error 2

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right