On 4/20/12 2:16 PM, Charles Meyer-Amiez wrote:
> I've made what you said, only adding -switch in you command (sudo
> xcode-select -switch /Path/to/Xcode.app/Contents/Developer)
Oops, I forgot '-switch'. Sorry about that.
> The result is that xcodebuild -version is now on 4.3.2, and clang
> --version on 3.1 Then I tried fink install ettercap... and it
> failed once again on the install of libpcap with the same errors as
OK, then the next thing to look for is what Martin mentioned: another
instance of bpf.h, e.g. in /usr/local/include/net. If you find one,
then rename it, at least temporarily.