I am trying to compile bootp deamon. But when I type make all I get following
error messages. Can anyone tell me what's wrong?
The code I down loaded is from tsx-11.mit.edu and file name was
bootpd.2.1a.tar.gz
Thanks in Advance
Manish Desai
-------------------------------Error message----------------------
cc -DSYSLOG -DDEBUG -DVEND_CMU -DPRIVATE=static -DCONFIG_FILE=\"/usr/etc/bootptab\" -DDUMP_FILE=\"/usr/etc/bootpd.dump\" -c bootpd.c -o bootpd.o
bootpd.c:134: warning: built-in function `sin' declared as non-function
bootpd.c: In function `main':
bootpd.c:379: warning: passing arg 2 of `bind' from incompatible pointer type
bootpd.c:390: warning: passing arg 2 of `getsockname' from incompatible pointer type
bootpd.c:430: warning: passing arg 2 of `signal' from incompatible pointer type
bootpd.c:435: warning: passing arg 2 of `signal' from incompatible pointer type
bootpd.c:446: warning: passing arg 2 of `select' from incompatible pointer type
bootpd.c:459: warning: passing arg 5 of `recvfrom' from incompatible pointer type
bootpd.c: In function `sendreply':
bootpd.c:820: warning: passing arg 5 of `sendto' from incompatible pointer type
bootpd.c: In function `setarp':
bootpd.c:863: `ATF_INUSE' undeclared (first use this function)
bootpd.c:863: (Each undeclared identifier is reported only once
bootpd.c:863: for each function it appears in.)
make: *** [bootpd.o] Error 1