Comments on: Compile Ettercap-NG-0.7.3 natively on Leopard Fix http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/ Tu fui, ego eris Fri, 15 Aug 2014 11:26:27 +0000 hourly 1 http://wordpress.org/?v=4.1.5 By: Austen http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-800 Fri, 12 Aug 2011 09:22:27 +0000 http://writequit.org/blog/?p=88#comment-800 You can skip manually changing wdg.h and wdg.c by passing the sys/type.h include to the complier during config:

./configure CFLAGS=”-include /usr/include/sys/types.h”

]]>
By: evilfoo http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-150 Wed, 02 Jan 2008 23:46:47 +0000 http://writequit.org/blog/?p=88#comment-150 Anybody got the curses interface to work? What do i need to do to get the curses interface to work?

]]>
By: Felix http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-154 Thu, 13 Dec 2007 20:20:10 +0000 http://writequit.org/blog/?p=88#comment-154 Doh…. I forgot about running ettercap as root. Disregard post above.

]]>
By: Felix http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-152 Thu, 13 Dec 2007 20:15:44 +0000 http://writequit.org/blog/?p=88#comment-152 I’m still getting errors during runtime with leopard:

Felle$ ettercap -T

ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA

ERROR : 9, Bad file descriptor
[ec_capture.c:capture_init:116]

No suitable interface found…

Any clues to this?

]]>
By: njstaticuser http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-153 Fri, 30 Nov 2007 01:15:29 +0000 http://writequit.org/blog/?p=88#comment-153 Well THAT error only shows up during compile time, i am referring to the error found in runtime. I will look into it and see if i can come up with a possible solution. In the meantime, i can put together a binary version with text and curses capabilities and distribute it. Let me know if I can do that, cuz it looks like a lot of people are getting frustrated over this silly ordeal. ;)

]]>
By: Lee Hinman http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-149 Thu, 29 Nov 2007 21:19:54 +0000 http://writequit.org/blog/?p=88#comment-149 njstaticuser: The pthread error I addressed in this post: http://thnetos.wordpress.com/2007/08/10/how-to-compile-ettercap-ng-073-on-mac-osx-when-you-get-that-annoying-pthread-error/

It *should* still apply to Leopard

Yea, I do know about the curses interface, unfortunately I’m not hardcore enough to know how to fix it. ^_^

Hopefully the macports guys come out with a fix soon, but hey, there’s always text mode, right? :)

]]>
By: njstaticuser http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-155 Thu, 29 Nov 2007 20:37:40 +0000 http://writequit.org/blog/?p=88#comment-155 Well adding that #include into the wdg.c file doesnt make any sense, as it is referred ito n the wdg.h file. Now i downloaded the source from ettercap.sourceforge.net and all the dependancies required to run ettercap. I have compiled it before on linux and mac os x prior to leopard and this is the first time that curses breaks. The #include doesn’t solve the problem with running the curses interface. I ran gdb and i got this error:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x901ecbb4 in memchr ()

Then I got info of which library memchr() was declared:

memchr + 54 in section LC_SEGMENT.__TEXT.__text of /usr/lib/libSystem.B.dylib

Also memchr() is originally declared in /usr/include/string.h I also believe to suspect that pthread is the culprit here. Any suggestions on how to get this working? I would love to use the curses interface. Also get this: I compiled ettercap on Tiger awhile back and it continued on with my leopard installation and worked like a charm. The only original problem is leopard linking pthread to ettercap (you have to do some os variable change in the configure script) because almost every symbol is called dynamically.

]]>
By: njstaticuser http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-148 Tue, 27 Nov 2007 18:54:43 +0000 http://writequit.org/blog/?p=88#comment-148 there is no wdc.h in the widgets directory. How about explaining where you can get this file?

]]>
By: How to compile ettercap NG 0.7.3 on Mac OSX when you get that annoying pthread error « :wq http://writequit.org/blog/2007/11/15/compile-ettercap-ng-073-natively-on-leopard-fix/comment-page-1/#comment-151 Mon, 19 Nov 2007 20:54:46 +0000 http://writequit.org/blog/?p=88#comment-151 […] August 10, 2007 · 4 Comments [Update]: If you’re trying to compile Ettercap on Leopard, check here. […]

]]>