-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: redefinition of 'bpf_program' #415
Comments
Can you please try the latest git? This has been fixed some weeks ago, after 0.8.0 release |
Thanks! Yes the latest git does build. |
wonderful to hear! |
I can give you the patch for making it work! https://github.com/Ettercap/ettercap/pull/382/files Anyway would be nice to have a closer collaboration with you before a release, we don't have now many mac users and testers, and having a feedback prior to release would be wonderful |
Thanks. I saw that, but it's a lot of changes. I just put together a smaller diff with which 0.8.0 compiles ok. Of course I'm not familiar with ettercap so I'm not sure how to test if it's working. |
#ifdef OS_DARWIN adding this to include/ec.h can be enough to make it build, right @eaescob ? Maybe you will face another build failure, not sure |
My patches right now are:
And all of 33ac95f. |
I like, I was remembering something related to safe free undefined! thanks! |
BTW can you help in this our issue? |
Right now my goal is to get ettercap in MacPorts updated to a current working version, since our ettercap maintainer appears to have vanished. I can test it on my menagerie of Macs with various OS versions and file tickets if there are problems and try out patches. But I maintain hundreds of packages for MacPorts, which keeps me busy, so I don't plan to become too terribly involved with ettercap specifically. But thank you very much for being so responsive to my tickets; it's very helpful. |
I don't want to ask you anything :) And I don't know if it is trivial or not, but is that difficult to make an xcode project with ettercap inside? |
Sure, I can try out the latest code before a release, if you remind me. I have used Xcode off and on since before it was called Xcode, but I use it so infrequently, and it changes so much between major versions (currently version 5), that I am very unfamiliar with it. I'm more comfortable dealing with command line build systems. Is there some reason why there should be an ettercap Xcode project? |
No, I don't know I don't understand anything about macos |
Ah, I'm aware of Travis CI, but don't know anything about setting up a project on it. OS X is pretty easy. :) It's a nice GUI on top of a POSIX-compliant UNIX core based in part on BSD UNIX, with a different kernel (Mach). Other differences from other UNIX systems are that Apple has moved from gcc to clang and from libstdc++ to libc++, so test with those on your systems if you can to get a head start on issues you might see on a Mac. |
Ok everything you might need to know about travis is this file as you might see is just more or less a command line interface with dependencies installed. Is it difficult to do the same list of commands on mac? |
We should probably move this discussion to #398, right? |
would be awesome if you have time! |
Hello, I'm a developer with the MacPorts package management system, trying to update ettercap in MacPorts to version 0.8.0 since it has long been neglected by us.
It does not build for me on OS X 10.9 Mavericks. I get:
/opt/local/include/pcap/bpf.h is from libpcap 1.5.2; I understand libpcap to be a dependency of ettercap.
The text was updated successfully, but these errors were encountered: