Hallo, jetzt bekomme ich folgende Fehlermeldung:
Quote:root@v1022:/usr/local/src/ispcp/ispcp-omega-1.0.0# aptitude install make
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages have been kept back:
openssh-client openssh-server
The following NEW packages will be installed:
make
0 packages upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 382kB of archives. After unpacking 1610kB will be used.
Writing extended state information... Done
Get:1 http://ftp2.de.debian.org etch/main make 3.81-2 [382kB]
Fetched 382kB in 0s (1338kB/s)
Selecting previously deselected package make.
(Reading database ... 13580 files and directories currently installed.)
Unpacking make (from .../archives/make_3.81-2_i386.deb) ...
Setting up make (3.81-2) ...
root@v1022:/usr/local/src/ispcp/ispcp-omega-1.0.0# make install
cd ./tools && make install
make[1]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools'
(cd ./daemon; \
make ispcp_daemon
make[2]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools/daemon'
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o ispcp_daemon.o ispcp_daemon.c
In file included from ispcp_daemon.c:2:
ispcp_daemon.h:11:20: error: stdlib.h: No such file or directory
ispcp_daemon.h:17:20: error: syslog.h: No such file or directory
ispcp_daemon.h:23:22: error: sys/stat.h: No such file or directory
ispcp_daemon.h:24:23: error: sys/types.h: No such file or directory
ispcp_daemon.h:25:24: error: sys/socket.h: No such file or directory
ispcp_daemon.h:31:24: error: netinet/in.h: No such file or directory
ispcp_daemon.h:37:22: error: sys/time.h: No such file or directory
ispcp_daemon.h:43:20: error: signal.h: No such file or directory
ispcp_daemon.h:49:20: error: string.h: No such file or directory
ispcp_daemon.h:55:19: error: errno.h: No such file or directory
ispcp_daemon.h:61:20: error: unistd.h: No such file or directory
ispcp_daemon.h:67:19: error: stdio.h: No such file or directory
ispcp_daemon.h:73:23: error: arpa/inet.h: No such file or directory
ispcp_daemon.c: In function 'main':
ispcp_daemon.c:12: error: storage size of 'servaddr' isn't known
ispcp_daemon.c:15: error: storage size of 'cliaddr' isn't known
ispcp_daemon.c:20: error: 'pid_t' undeclared (first use in this function)
ispcp_daemon.c:20: error: (Each undeclared identifier is reported only once
ispcp_daemon.c:20: error: for each function it appears in.)
ispcp_daemon.c:20: error: expected ';' before 'childpid'
ispcp_daemon.c:22: error: 'socklen_t' undeclared (first use in this function)
ispcp_daemon.c:22: error: expected ';' before 'clilen'
ispcp_daemon.c:27: error: 'EOF' undeclared (first use in this function)
ispcp_daemon.c:36: error: 'LOG_DAEMON' undeclared (first use in this function)
ispcp_daemon.c:38: warning: implicit declaration of function 'socket'
ispcp_daemon.c:38: error: 'AF_INET' undeclared (first use in this function)
ispcp_daemon.c:38: error: 'SOCK_STREAM' undeclared (first use in this function)
ispcp_daemon.c:40: warning: implicit declaration of function 'memset'
ispcp_daemon.c:40: warning: incompatible implicit declaration of built-in function 'memset'
ispcp_daemon.c:40: error: 'size_t' undeclared (first use in this function)
ispcp_daemon.c:40: error: expected ')' before 'sizeof'
ispcp_daemon.c:44: warning: implicit declaration of function 'htonl'
ispcp_daemon.c:46: warning: implicit declaration of function 'htons'
ispcp_daemon.c:48: warning: implicit declaration of function 'bind'
ispcp_daemon.c:49: warning: implicit declaration of function 'strerror'
ispcp_daemon.c:49: error: 'errno' undeclared (first use in this function)
ispcp_daemon.c:49: warning: passing argument 2 of 'say' makes pointer from integer without a cast
ispcp_daemon.c:50: warning: implicit declaration of function 'exit'
ispcp_daemon.c:50: warning: incompatible implicit declaration of built-in function 'exit'
ispcp_daemon.c:53: warning: implicit declaration of function 'listen'
ispcp_daemon.c:54: warning: passing argument 2 of 'say' makes pointer from integer without a cast
ispcp_daemon.c:55: warning: incompatible implicit declaration of built-in function 'exit'
ispcp_daemon.c:60: warning: implicit declaration of function 'calloc'
ispcp_daemon.c:60: warning: incompatible implicit declaration of built-in function 'calloc'
ispcp_daemon.c:60: error: invalid application of 'sizeof' to incomplete type 'struct timeval'
ispcp_daemon.c:61: error: invalid application of 'sizeof' to incomplete type 'struct timeval'
ispcp_daemon.c:63: error: invalid application of 'sizeof' to incomplete type 'struct timeval'
ispcp_daemon.c:65: error: invalid application of 'sizeof' to incomplete type 'struct timeval'
ispcp_daemon.c:67: error: dereferencing pointer to incomplete type
ispcp_daemon.c:68: error: dereferencing pointer to incomplete type
ispcp_daemon.c:70: error: dereferencing pointer to incomplete type
ispcp_daemon.c:71: error: dereferencing pointer to incomplete type
ispcp_daemon.c:73: warning: implicit declaration of function 'signal'
ispcp_daemon.c:73: error: 'SIGCHLD' undeclared (first use in this function)
ispcp_daemon.c:75: error: 'SIGPIPE' undeclared (first use in this function)
ispcp_daemon.c:78: error: 'FILE' undeclared (first use in this function)
ispcp_daemon.c:78: error: 'file' undeclared (first use in this function)
ispcp_daemon.c:78: warning: implicit declaration of function 'fopen'
ispcp_daemon.c:79: warning: implicit declaration of function 'fprintf'
ispcp_daemon.c:79: warning: incompatible implicit declaration of built-in function 'fprintf'
ispcp_daemon.c:79: warning: implicit declaration of function 'getpid'
ispcp_daemon.c:80: warning: implicit declaration of function 'fclose'
ispcp_daemon.c:87: error: 'clilen' undeclared (first use in this function)
ispcp_daemon.c:87: error: expected ';' before 'sizeof'
ispcp_daemon.c:90: warning: implicit declaration of function 'accept'
ispcp_daemon.c:98: error: 'EINTR' undeclared (first use in this function)
ispcp_daemon.c:102: warning: passing argument 2 of 'say' makes pointer from integer without a cast
ispcp_daemon.c:103: warning: incompatible implicit declaration of built-in function 'exit'
ispcp_daemon.c:114: warning: implicit declaration of function 'setsockopt'
ispcp_daemon.c:116: error: 'SOL_SOCKET' undeclared (first use in this function)
ispcp_daemon.c:117: error: 'SO_RCVTIMEO' undeclared (first use in this function)
ispcp_daemon.c:120: error: invalid application of 'sizeof' to incomplete type 'struct timeval'
ispcp_daemon.c:125: error: 'SO_SNDTIMEO' undeclared (first use in this function)
ispcp_daemon.c:128: error: invalid application of 'sizeof' to incomplete type 'struct timeval'
ispcp_daemon.c:132: warning: implicit declaration of function 'inet_ntop'
ispcp_daemon.c:134: error: 'childpid' undeclared (first use in this function)
ispcp_daemon.c:134: warning: implicit declaration of function 'fork'
ispcp_daemon.c:137: warning: implicit declaration of function 'close'
ispcp_daemon.c:141: warning: implicit declaration of function 'sprintf'
ispcp_daemon.c:141: warning: incompatible implicit declaration of built-in function 'sprintf'
ispcp_daemon.c:147: warning: implicit declaration of function 'free'
ispcp_daemon.c:149: warning: incompatible implicit declaration of built-in function 'exit'
ispcp_daemon.c:155: warning: implicit declaration of function 'closelog'
ispcp_daemon.c:15: warning: unused variable 'cliaddr'
ispcp_daemon.c:12: warning: unused variable 'servaddr'
make[2]: *** [ispcp_daemon.o] Error 1
make[2]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools/daemon'
make[1]: *** [daemon/ispcp_daemon] Error 2
make[1]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools'
make: *** [install] Error 2
Danke für die schnelle Antwort
Ich habe alles genau nach Anleitung gemacht und alle Pakete installiert
Best regards