Hello,

got libpcap 0.6.1 and tried to compile under slackware 4.0 (libc5 5.4.46 gcc
2.7.2.3 kernel 2.4.0-test4) but get the following message :

~/libpcap-0.6.1$ make
gcc -O2 -I.  -DHAVE_CONFIG_H -c ./pcap-linux.c
./pcap-linux.c:75: netinet/if_ether.h: No such file or directory
make: *** [pcap-linux.o] Error 1

libpcap 0.5.2 compiled fine.

Compiling with "-I ../libpcap-0.5/linux-include/" where needed
(./pcap-linux.c and ./nametoaddr.c) generates the libpcap.a file.

To compile tcpdump-3.6.1 I had to add "-I ../libpcap-0.5/linux-include/" to
./addrtoname but at the end I get :

gcc -O2 -DHAVE_CONFIG_H -I. -I../libpcap-0.6.1  -I./missing -I/usr/local/ssl/include 
-I/usr/local/ssl/include/openssl -L/usr/local/ssl/lib  -o tcpdump tcpdump.o 
print-arp.o print-atalk.o print-atm.o print-bootp.o print-decnet.o print-domain.o 
print-dvmrp.o print-egp.o print-ether.o print-fddi.o print-gre.o print-icmp.o 
print-igmp.o print-igrp.o print-ip.o print-ipx.o print-isoclns.o print-krb.o 
print-llc.o print-nfs.o print-ntp.o print-null.o print-ospf.o print-pim.o print-ppp.o 
print-raw.o print-rip.o print-sl.o print-snmp.o print-stp.o print-sunrpc.o print-tcp.o 
print-tftp.o print-udp.o print-wb.o addrtoname.o gmt2local.o machdep.o parsenfsfh.o 
util.o savestr.o setsignal.o print-esp.o print-ah.o print-vjc.o print-isakmp.o 
print-chdlc.o print-ipcomp.o print-mobile.o print-l2tp.o print-bgp.o print-rx.o 
print-lane.o print-cip.o print-pppoe.o print-lcp.o print-smb.o smbutil.o print-ascii.o 
print-telnet.o print-cnfp.o print-vrrp.o print-cdp.o print-token.o print-bxxp.o 
print-timed.o print-radius.o print-sll.o version.o  strlcat.o strlcpy.o -lcrypto 
../libpcap-0.6.1/libpcap.a 
../libpcap-0.6.1/libpcap.a(pcap-linux.o): In function `pcap_setfilter':
pcap-linux.o(.text+0x376): undefined reference to `fix_program'
make: *** [tcpdump] Error 1

tcpdump 0.5.2 compiled fine.

Please repair and put back the linux-include directory because I don't want
to update my libc5 systems, I even use some times to times an old
slackware-96 and it's impossible to me to upgrade it.

Thanks in advance,

Denis Ducamp.

-- 
 [EMAIL PROTECTED] --- Hervé Schauer Consultants --- http://www.hsc.fr/
snort, hping & dsniff en français : http://www.groar.org/~ducamp/#sec-trad
 Du bon usage de ... http://usenet-fr.news.eu.org/fr-chartes/rfc1855.html
  Netiquette Guidelines .... http://www.pasteur.fr/infosci/RFC/18xx/1855
-
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