hi!
i needed the rarpd so i downloaded it.. (i dont know why did i need to do this.. 'cause in my kernel i set the option of rarp support.. but when i run /sbin/rarpd -a it tells me " this kernel does not suport rarp" )
the readme file of rarp1.0 says libnet is required.. so i installed libnet..
compiled it without error.
but when i compile rarp..
first i run
- ./configure
no errors there..
but when i run
- make
it tells me
root@dodo:/usr/local/src/rarpd-1.0# make
gcc -g -O2 -I/usr/include -I/usr/include -DPACKAGE=\"\" -DVERSION=\"\" -DSTDC_HEADERS=1 -DHAVE_NET
_IF_ARP_H=1 -DHAVE_PCAP_NAMEDB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYS
_SOCKET_H=1 -DHAVE_ETHER_NTOHOST=1 -c rarpd.c -o rarpd.o
rarpd.c:74: warning: `struct ether_addr' declared inside parameter list
rarpd.c:74: warning: its scope is only this definition or declaration, which is probably not what y
ou want
rarpd.c: In function `send_arpreply':
rarpd.c:148: `ARP_H' undeclared (first use in this function)
rarpd.c:148: (Each undeclared identifier is reported only once
rarpd.c:148: for each function it appears in.)
rarpd.c:148: `ETH_H' undeclared (first use in this function)
rarpd.c: In function `send_rarpreply':
rarpd.c:179: `ARP_H' undeclared (first use in this function)
rarpd.c:179: `ETH_H' undeclared (first use in this function)
rarpd.c: In function `arp_print':
rarpd.c:221: sizeof applied to an incomplete type
rarpd.c:222: sizeof applied to an incomplete type
rarpd.c:226: dereferencing pointer to incomplete type
rarpd.c:227: dereferencing pointer to incomplete type
rarpd.c:228: dereferencing pointer to incomplete type
rarpd.c:232: dereferencing pointer to incomplete type
rarpd.c:232: dereferencing pointer to incomplete type
rarpd.c:233: dereferencing pointer to incomplete type
rarpd.c:233: dereferencing pointer to incomplete type
rarpd.c:239: dereferencing pointer to incomplete type
rarpd.c:251: dereferencing pointer to incomplete type
rarpd.c:255: dereferencing pointer to incomplete type
rarpd.c:256: dereferencing pointer to incomplete type
rarpd.c:263: dereferencing pointer to incomplete type
rarpd.c:266: dereferencing pointer to incomplete type
rarpd.c: In function `main':
rarpd.c:338: warning: assignment makes pointer from integer without a cast
rarpd.c: In function `init_etherarray':
rarpd.c:491: warning: passing arg 2 of `ether_ntohost' from incompatible pointer
make: *** [rarpd.o] Error 1
is this something specifically of rarp or a compilation error?
thks!