tcptrace 'make' failure

tcptrace 'make' failure

Post by Jeffrey Scot » Fri, 01 Dec 2000 04:00:00



Can anyone tell me why 'make' fails after I './configure'
tcptrace_5.2.1.  I'm running RH 6.2.   tcpdump works fine.  I'm getting
'incompatible types in assignment' in functions in tcpdump.c.

Here is the 'make' result:


gcc -O2 -DGUNZIP="\"gunzip\"" -D_BSD_SOURCE -DLOAD_MODULE_HTTP
-DLOAD_MODULE_TRAFFIC -DLOAD_MODULE_RTTGRAPH -DLOAD_MODULE_TCPLIB
-DLOAD_MODULE_COLLIE -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NETM
-DGROK_ETHERPEEK -DGROK_NS  -DHAVE_LIBM=1
-DSIZEOF_UNSIGNED_LONG_LONG_INT=8 -DHAVE_MKSTEMP=1 -DHAVE_VALLOC=1
-DHAVE_MEMALIGN=1 -DHAVE_INET_PTON=1   -I.  -Ilinux-include
-I/usr/local/include -I. -I../pcap -I/usr/include/pcap   -c -o tcpdump.o
tcpdump.c
tcpdump.c: In function `pread_tcpdump':
tcpdump.c:179: incompatible types in assignment
tcpdump.c: In function `PcapSavePacket':
tcpdump.c:314: incompatible types in assignment
make: *** [tcpdump.o] Error 1

Thanks in advance for any help!!!!

Jeff

 
 
 

tcptrace 'make' failure

Post by Jeffrey Scot » Tue, 05 Dec 2000 04:00:00


Somebody must know the stupid mistake (or what I'm failing to do) involved
with the following...please resond.

Thanks,

Jeff


> Can anyone tell me why 'make' fails after I './configure'
> tcptrace_5.2.1.  I'm running RH 6.2.   tcpdump works fine.  I'm getting
> 'incompatible types in assignment' in functions in tcpdump.c.

> Here is the 'make' result:


> gcc -O2 -DGUNZIP="\"gunzip\"" -D_BSD_SOURCE -DLOAD_MODULE_HTTP
> -DLOAD_MODULE_TRAFFIC -DLOAD_MODULE_RTTGRAPH -DLOAD_MODULE_TCPLIB
> -DLOAD_MODULE_COLLIE -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NETM
> -DGROK_ETHERPEEK -DGROK_NS  -DHAVE_LIBM=1
> -DSIZEOF_UNSIGNED_LONG_LONG_INT=8 -DHAVE_MKSTEMP=1 -DHAVE_VALLOC=1
> -DHAVE_MEMALIGN=1 -DHAVE_INET_PTON=1   -I.  -Ilinux-include
> -I/usr/local/include -I. -I../pcap -I/usr/include/pcap   -c -o tcpdump.o
> tcpdump.c
> tcpdump.c: In function `pread_tcpdump':
> tcpdump.c:179: incompatible types in assignment
> tcpdump.c: In function `PcapSavePacket':
> tcpdump.c:314: incompatible types in assignment
> make: *** [tcpdump.o] Error 1

> Thanks in advance for any help!!!!

> Jeff



 
 
 

1. patchadd/checkinstall failure ('nobody' /does/ have read permission on '.' and parents)

I'd do a 'truss -o /tmp/out patchadd ...'

Then when the error message comes on screen, hit control-C and open up
the truss log in /tmp/out.  Start at the bottom and work up looking for
some sort of "open" in /tmp (or the boot image /tmp) and see if anything
is obvious.

Definitely look for that filename in the trace output.

--

Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

2. Netscape client configuration

3. Making 'nobanner' Default in V.3.2 'lp'

4. Help: just rebuilt a lower kernel

5. My 'made-by-printtool' lp queue doesn't queue.

6. The GGI

7. Home made 'Web Server' questions

8. The /proc/loadavg

9. 'more' failure under color_xterm

10. Mklinux: 'mount' command makes X-windows blank?

11. DIP 'Host name lookup failure'.

12. Making fingerd tell who's being finger'd

13. Making ``.plan'' EXECUTE a Program ???