[HECnet] New Nodes
Johnny Billquist
bqt at softjar.se
Wed Aug 20 14:43:55 PDT 2008
You're on some kind of Linux, right?
There is probably some packet manager in there, which you can request to install the pcap library.
Johnny
Angela Kahealani wrote:
On Tue, 2008-08-19 23:35:02 Johnny Billquist wrote:
I'm setting up 1.500 for KAHEA and 1.501 for LANI.
As soon as your end of the bridge is compiled, let me know, and we'll the the connection running.
Hmmmm... Houston, we have a problem. Where do I get "pcap"?
angela at pc:/usr/local/src/DECnet.bridge$ make
cc -O2 -o bridge bridge.c -lpcap
bridge.c:24:22: error: pcap-bpf.h: No such file or directory
bridge.c:31:18: error: pcap.h: No such file or directory
bridge.c:72: error: array type has incomplete element type
bridge.c:73: error: BPF_LD undeclared here (not in a function)
bridge.c:73: error: BPF_H undeclared here (not in a function)
bridge.c:73: error: BPF_ABS undeclared here (not in a function)
bridge.c:74: error: BPF_JMP undeclared here (not in a function)
bridge.c:74: error: BPF_JEQ undeclared here (not in a function)
bridge.c:74: error: BPF_K undeclared here (not in a function)
bridge.c:78: error: BPF_RET undeclared here (not in a function)
bridge.c:136: error: expected = , , , ; , asm or __attribute__ before * token
bridge.c: In function add_bridge :
bridge.c:200: error: storage size of pgm isn t known
bridge.c:201: error: PCAP_ERRBUF_SIZE undeclared (first use in this function)
bridge.c:201: error: (Each undeclared identifier is reported only once
bridge.c:201: error: for each function it appears in.)
bridge.c:203: error: pcap undeclared (first use in this function)
bridge.c:209: error: invalid application of sizeof to incomplete type struct bpf_insn
bridge.c: In function main :
bridge.c:614: error: storage size of h isn t known
bridge.c:615: error: pcap undeclared (first use in this function)
bridge.c:615: warning: cast to pointer from integer of different size
make: *** [bridge] Error 1
angela at pc:/usr/local/src/DECnet.bridge$ cat Makefile
bridge: bridge.c
cc -O2 -o bridge bridge.c -lpcap
angela at pc:/usr/local/src/DECnet.bridge$
Aloha, Angela
More information about the Hecnet-list
mailing list