Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compilation problem

Status
Not open for further replies.

peterve

IS-IT--Management
Mar 19, 2000
1,348
NL
Hi
I'm running Redhat 7.1, and I'm trying to compile dsniff-2.3 :

./configure works,
make returns this :
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_E
THERNET_H -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/loc
al/include -I/usr/local/include -I/usr/X11R6/include -I./missing -c ./record.
c
In file included from /usr/include/rpc/types.h:69,
from /usr/include/rpc/rpc.h:41,
from ./record.c:12:
/usr/include/netinet/in.h:133: warning: redefinition of `u_int32_t'
/usr/include/sys/types.h:192: warning: `u_int32_t' previously declared here
./record.c: In function `record_print':
./record.c:65: warning: assignment makes pointer from integer without a cast
./record.c:66: warning: assignment makes pointer from integer without a cast
./record.c:68: warning: assignment makes pointer from integer without a cast
./record.c:71: dereferencing pointer to incomplete type
./record.c: In function `record_save':
./record.c:130: `R_NOOVERWRITE' undeclared (first use in this function)
./record.c:130: (Each undeclared identifier is reported only once
./record.c:130: for each function it appears in.)
./record.c:130: warning: passing arg 2 of pointer to function from incompatible
pointer type
./record.c:130: too few arguments to function
./record.c: In function `record_dump':
./record.c:143: structure has no member named `seq'
./record.c:143: `R_NEXT' undeclared (first use in this function)
./record.c: In function `record_init':
./record.c:160: `O_RDONLY' undeclared (first use in this function)
./record.c:164: `O_RDWR' undeclared (first use in this function)
./record.c:164: `O_CREAT' undeclared (first use in this function)
./record.c:165: `S_IRUSR' undeclared (first use in this function)
./record.c:165: `S_IWUSR' undeclared (first use in this function)
./record.c:167: warning: assignment makes pointer from integer without a cast
./record.c: In function `record_close':
./record.c:206: too few arguments to function
make: *** [record.o] Error 1


and obviously make install doesn't work either


what is wrong here ? ---------------------------------------------------------------------
I have not failed, I've just found 10,000 ways that don't work
---------------------------------------------------------------------
Peter Van Eeckhoutte
peter.ve@pandora.be
*:->* Did this post help? Click below to let me know !
 
try mailing to dugsong@monkey.org and as 'bout if there is no problem with dsniff 2.3 and libnet version, UR using
bubak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top