Advertising
- Something
- Monday, July 9th, 2007 at 9:59:50pm UTC
- web1:/home/owner/vhcs2-2.4.7.1# make install
- cd ./tools && make install
- make[1]: Entering directory `/home/owner/vhcs2-2.4.7.1/tools'
- cd ./build && make install
- make[2]: Entering directory `/home/owner/vhcs2-2.4.7.1/tools/build'
- /usr/bin/install -m 0700 -o root -g root ./vhcs2-mkdirs.pl /usr/sbin
- make[2]: Leaving directory `/home/owner/vhcs2-2.4.7.1/tools/build'
- cd ./daemon && make vhcs2_daemon
- make[2]: Entering directory `/home/owner/vhcs2-2.4.7.1/tools/daemon'
- gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -c -o vhcs_daemon.o vhcs_daemo n.c
- In file included from vhcs_daemon.c:2:
- defs.h:11:20: error: stdlib.h: No such file or directory
- defs.h:17:20: error: syslog.h: No such file or directory
- defs.h:23:22: error: sys/stat.h: No such file or directory
- defs.h:24:23: error: sys/types.h: No such file or directory
- defs.h:25:24: error: sys/socket.h: No such file or directory
- defs.h:31:24: error: netinet/in.h: No such file or directory
- defs.h:37:22: error: sys/time.h: No such file or directory
- defs.h:43:20: error: signal.h: No such file or directory
- defs.h:49:20: error: string.h: No such file or directory
- defs.h:55:19: error: errno.h: No such file or directory
- defs.h:61:20: error: unistd.h: No such file or directory
- defs.h:67:19: error: stdio.h: No such file or directory
- defs.h:73:23: error: arpa/inet.h: No such file or directory
- vhcs_daemon.c: In function 'main':
- vhcs_daemon.c:12: error: storage size of 'servaddr' isn't known
- vhcs_daemon.c:15: error: storage size of 'cliaddr' isn't known
- vhcs_daemon.c:20: error: 'pid_t' undeclared (first use in this function)
- vhcs_daemon.c:20: error: (Each undeclared identifier is reported only once
- vhcs_daemon.c:20: error: for each function it appears in.)
- vhcs_daemon.c:20: error: expected ';' before 'childpid'
- vhcs_daemon.c:22: error: 'socklen_t' undeclared (first use in this function)
- vhcs_daemon.c:22: error: expected ';' before 'clilen'
- vhcs_daemon.c:27: error: 'EOF' undeclared (first use in this function)
- vhcs_daemon.c:37: error: 'LOG_DAEMON' undeclared (first use in this function)
- vhcs_daemon.c:39: warning: implicit declaration of function 'socket'
- vhcs_daemon.c:39: error: 'AF_INET' undeclared (first use in this function)
- vhcs_daemon.c:39: error: 'SOCK_STREAM' undeclared (first use in this function)
- vhcs_daemon.c:41: warning: implicit declaration of function 'memset'
- vhcs_daemon.c:41: warning: incompatible implicit declaration of built-in functio n 'memset'
- vhcs_daemon.c:41: error: 'size_t' undeclared (first use in this function)
- vhcs_daemon.c:41: error: expected ')' before 'sizeof'
- vhcs_daemon.c:45: warning: implicit declaration of function 'htonl'
- vhcs_daemon.c:47: warning: implicit declaration of function 'htons'
- vhcs_daemon.c:49: warning: implicit declaration of function 'bind'
- vhcs_daemon.c:50: warning: implicit declaration of function 'strerror'
- vhcs_daemon.c:50: error: 'errno' undeclared (first use in this function)
- vhcs_daemon.c:50: warning: passing argument 2 of 'say' makes pointer from intege r without a cast
- vhcs_daemon.c:51: warning: implicit declaration of function 'exit'
- vhcs_daemon.c:51: warning: incompatible implicit declaration of built-in functio n 'exit'
- vhcs_daemon.c:54: warning: implicit declaration of function 'listen'
- vhcs_daemon.c:55: warning: passing argument 2 of 'say' makes pointer from intege r without a cast
- vhcs_daemon.c:56: warning: incompatible implicit declaration of built-in functio n 'exit'
- vhcs_daemon.c:61: warning: implicit declaration of function 'calloc'
- vhcs_daemon.c:61: warning: incompatible implicit declaration of built-in functio n 'calloc'
- vhcs_daemon.c:61: error: invalid application of 'sizeof' to incomplete type 'str uct timeval'
- vhcs_daemon.c:62: error: invalid application of 'sizeof' to incomplete type 'str uct timeval'
- vhcs_daemon.c:64: error: invalid application of 'sizeof' to incomplete type 'str uct timeval'
- vhcs_daemon.c:66: error: invalid application of 'sizeof' to incomplete type 'str uct timeval'
- vhcs_daemon.c:68: error: dereferencing pointer to incomplete type
- vhcs_daemon.c:69: error: dereferencing pointer to incomplete type
- vhcs_daemon.c:71: error: dereferencing pointer to incomplete type
- vhcs_daemon.c:72: error: dereferencing pointer to incomplete type
- vhcs_daemon.c:74: warning: implicit declaration of function 'signal'
- vhcs_daemon.c:74: error: 'SIGCHLD' undeclared (first use in this function)
- vhcs_daemon.c:76: error: 'SIGPIPE' undeclared (first use in this function)
- vhcs_daemon.c:79: error: 'FILE' undeclared (first use in this function)
- vhcs_daemon.c:79: error: 'file' undeclared (first use in this function)
- vhcs_daemon.c:79: warning: implicit declaration of function 'fopen'
- vhcs_daemon.c:80: warning: implicit declaration of function 'fprintf'
- vhcs_daemon.c:80: warning: incompatible implicit declaration of built-in functio n 'fprintf'
- vhcs_daemon.c:80: warning: implicit declaration of function 'getpid'
- vhcs_daemon.c:81: warning: implicit declaration of function 'fclose'
- vhcs_daemon.c:88: error: 'clilen' undeclared (first use in this function)
- vhcs_daemon.c:88: error: expected ';' before 'sizeof'
- vhcs_daemon.c:91: warning: implicit declaration of function 'accept'
- vhcs_daemon.c:99: error: 'EINTR' undeclared (first use in this function)
- vhcs_daemon.c:103: warning: passing argument 2 of 'say' makes pointer from integ er without a cast
- vhcs_daemon.c:104: warning: incompatible implicit declaration of built-in functi on 'exit'
- vhcs_daemon.c:115: warning: implicit declaration of function 'setsockopt'
- vhcs_daemon.c:117: error: 'SOL_SOCKET' undeclared (first use in this function)
- vhcs_daemon.c:118: error: 'SO_RCVTIMEO' undeclared (first use in this function)
- vhcs_daemon.c:121: error: invalid application of 'sizeof' to incomplete type 'st ruct timeval'
- vhcs_daemon.c:126: error: 'SO_SNDTIMEO' undeclared (first use in this function)
- vhcs_daemon.c:129: error: invalid application of 'sizeof' to incomplete type 'st ruct timeval'
- vhcs_daemon.c:133: warning: implicit declaration of function 'inet_ntop'
- vhcs_daemon.c:135: error: 'childpid' undeclared (first use in this function)
- vhcs_daemon.c:135: warning: implicit declaration of function 'fork'
- vhcs_daemon.c:138: warning: implicit declaration of function 'close'
- vhcs_daemon.c:142: warning: implicit declaration of function 'sprintf'
- vhcs_daemon.c:142: warning: incompatible implicit declaration of built-in functi on 'sprintf'
- vhcs_daemon.c:148: warning: implicit declaration of function 'free'
- vhcs_daemon.c:150: warning: incompatible implicit declaration of built-in functi on 'exit'
- vhcs_daemon.c:156: warning: implicit declaration of function 'closelog'
- vhcs_daemon.c:15: warning: unused variable 'cliaddr'
- vhcs_daemon.c:12: warning: unused variable 'servaddr'
- make[2]: *** [vhcs_daemon.o] Error 1
- make[2]: Leaving directory `/home/owner/vhcs2-2.4.7.1/tools/daemon'
- make[1]: *** [install] Error 2
- make[1]: Leaving directory `/home/owner/vhcs2-2.4.7.1/tools'
- 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.
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.