Im having trouble compiling tcpslice on Red Hat 7.1, with libpcap installed
as well as tcpdump...

any hints for me? I can send you the errors Im getting...

-O -DHAVE_FCNTL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_VFPRINTF=1
-DHAVE_FSEEKO=1 -DHAVE_FTELLO=1 -DFSEEK=fseeko -DFTELL=ftello  -I.  -c
/tcpslice.c
In file included from ./tcpslice.c:56:
tcpslice.h:23: warning: `struct tm' declared inside parameter list
tcpslice.h:23: warning: its scope is only this definition or declaration,
which is probably not what you want.
/tcpslice.c:111: warning: `struct tm' declared inside parameter list
/tcpslice.c: In function `parse_time':
/tcpslice.c:286: warning: initialization makes pointer from integer
without a cast
/tcpslice.c:287: storage size of `t' isn't known
/tcpslice.c:322: dereferencing pointer to incomplete type
/tcpslice.c:348: dereferencing pointer to incomplete type
/tcpslice.c:349: dereferencing pointer to incomplete type
/tcpslice.c:350: dereferencing pointer to incomplete type
/tcpslice.c:351: dereferencing pointer to incomplete type
/tcpslice.c:352: dereferencing pointer to incomplete type
/tcpslice.c:353: dereferencing pointer to incomplete type
/tcpslice.c: At top level:
/tcpslice.c:384: warning: `struct tm' declared inside parameter list
/tcpslice.c:385: conflicting types for `fill_tm'
/tcpslice.c:111: previous declaration of `fill_tm'
/tcpslice.c: In function `fill_tm':
/tcpslice.c:433: dereferencing pointer to incomplete type
/tcpslice.c:433: dereferencing pointer to incomplete type
/tcpslice.c:440: dereferencing pointer to incomplete type
/tcpslice.c:440: dereferencing pointer to incomplete type
/tcpslice.c:442: dereferencing pointer to incomplete type
/tcpslice.c:442: dereferencing pointer to incomplete type
/tcpslice.c:446: dereferencing pointer to incomplete type
/tcpslice.c:446: dereferencing pointer to incomplete type
/tcpslice.c:450: dereferencing pointer to incomplete type
/tcpslice.c:450: dereferencing pointer to incomplete type
/tcpslice.c:454: dereferencing pointer to incomplete type
/tcpslice.c:454: dereferencing pointer to incomplete type
/tcpslice.c: In function `timestamp_to_string':
/tcpslice.c:783: warning: assignment makes pointer from integer without a
cast
/tcpslice.c:784: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
/tcpslice.c:784: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
/tcpslice.c:784: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
/tcpslice.c:784: warning: passing arg 2 of `memcpy' makes pointer from
integer without a cast
/tcpslice.c:784: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
/tcpslice.c:789: warning: assignment makes pointer from integer without a
cast
/tcpslice.c:791: dereferencing pointer to incomplete type
/tcpslice.c:791: dereferencing pointer to incomplete type
/tcpslice.c:791: dereferencing pointer to incomplete type
/tcpslice.c:792: dereferencing pointer to incomplete type
/tcpslice.c:792: dereferencing pointer to incomplete type
/tcpslice.c:792: dereferencing pointer to incomplete type
make: *** [tcpslice.o] Error 1

TIA,
Mike Poor

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to