Kismet Wireless

Kismet Forums


Posted by:acidking
Subject:Error compiling lorcon2 on Mac OS X
Date:19:18:41 11/10/2011

I run make, but I get this error. Familiar to anyone?

/usr/bin/gcc-4.2 -I. -I/opt/local/include/ruby-1.9.1/x86_64-darwin10 -I/opt/local/include/ruby-1.9.1/ruby/backward -I/opt/local/include/ruby-1.9.1 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -pipe -O2 -arch x86_64 -fno-common -DRUBY_19 -o Lorcon2.o -c Lorcon2.c
In file included from /opt/local/include/pcap.h:45,
from Lorcon2.h:11,
from Lorcon2.c:1:
/opt/local/include/pcap/pcap.h:81: error: redefinition of typedef ‘pcap_t’
./lorcon2/lorcon.h:36: error: previous declaration of ‘pcap_t’ was here
make: *** [Lorcon2.o] Error 1

Reply to this message