Título: Problema al Compilar con ettercap Publicado por: cls_1231 en 30 Noviembre 2009, 23:16 pm buenas tarde bueno mi problema fue que me descargue el sslstrip-0.6 y ettercap-NG-0.7.3 y cuando voy al terminal y mando "sudo ./configure "me configura todo bien pero al momento q hago " sudo make " me sale esto y no terminar :
Making all in man make[1]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/man' make[1]: No se hace nada para `all'. make[1]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/man' Making all in share make[1]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/share' make[1]: No se hace nada para `all'. make[1]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/share' Making all in include make[1]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' make all-am make[2]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' make[2]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' make[1]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' Making all in include make[1]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' make all-am make[2]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' make[2]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' make[1]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/include' Making all in src make[1]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src' Making all in os make[2]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/os' make[2]: No se hace nada para `all'. make[2]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/os' Making all in interfaces make[2]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces' Making all in daemon make[3]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/daemon' make[3]: No se hace nada para `all'. make[3]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/daemon' Making all in text make[3]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/text' make[3]: No se hace nada para `all'. make[3]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/text' Making all in curses make[3]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/curses' Making all in widgets make[4]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/curses/widgets' make[4]: No se hace nada para `all'. make[4]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/curses/widgets' make[4]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/curses' make[4]: No se hace nada para `all-am'. make[4]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/curses' make[3]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/curses' Making all in gtk make[3]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/gtk' make[3]: No se hace nada para `all'. make[3]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces/gtk' make[3]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces' make[3]: No se hace nada para `all-am'. make[3]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces' make[2]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src/interfaces' make[2]: se ingresa al directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src' if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include/pcap -g -O2 -MT ettercap-ec_log.o -MD -MP -MF ".deps/ettercap-ec_log.Tpo" -c -o ettercap-ec_log.o `test -f 'ec_log.c' || echo './'`ec_log.c; \ then mv -f ".deps/ettercap-ec_log.Tpo" ".deps/ettercap-ec_log.Po"; else rm -f ".deps/ettercap-ec_log.Tpo"; exit 1; fi ec_log.c: In function ‘log_packet’: ec_log.c:248: warning: pointer targets in passing argument 2 of ‘regexec’ differ in signedness /usr/include/regex.h:571: note: expected ‘const char * __restrict__’ but argument is of type ‘u_char *’ ec_log.c: In function ‘log_write_info’: ec_log.c:491: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘u_char *’ ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’ ec_log.c:491: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘u_char *’ ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’ ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’ ec_log.c:491: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness ec_log.c:491: note: expected ‘const char *’ but argument is of type ‘u_char *’ In file included from /usr/include/fcntl.h:217, from ec_log.c:32: In function ‘open’, inlined from ‘log_open’ at ec_log.c:193: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[2]: *** [ettercap-ec_log.o] Error 1 make[2]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/cls/Escritorio/ettercap-NG-0.7.3/src' make: *** [all-recursive] Error 1 y se queda ahi :S no se cual podria ser el problema xq no parecer ser falta de una libreria Título: Re: Problema al Compilar con ettercap Publicado por: Festor en 1 Diciembre 2009, 11:01 am distribución linux...?
versión del compilador gcc...? (aunque eso ya lo sabríamos si al menos das el nombre y versión de la distro que usas...) /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments Por el momento eso parece estar relacionado con lo que aparece aquí (https://wiki.ubuntu.com/CompilerFlags) pero esa información sólo es de una distribución en particular que no sé si es la que usas... Por asi acaso puedes probar con desactivar las optimizaciones de segundo nivel en el gcc Código: ./configure CFLAGS="-O0" El primero es la letra "o" mayuscula y el segundo el número cero. Título: Re: Problema al Compilar con ettercap Publicado por: Jrt_1990 en 13 Enero 2010, 00:55 am http://www.hacktoolrepository.com/tool/31/Ettercap
Citar If you get the following error: In function "open", inlined from "log_open" at ec_log.c:193: /usr/include/bits/fcntl2.h:51: error: call to "__open_missing_mode" declared with attribute error: open with O_CREAT in second argument needs 3 arguments You will need to change the following line in src/ec_log.c: fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY); into: fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0666); Espero que te sirva Título: Re: Problema al Compilar con ettercap Publicado por: [L]ord [R]NA en 13 Enero 2010, 02:02 am Estamos trabajando a ciegas... no sabemos que distribucion tienes?
Título: Re: Problema al Compilar con ettercap Publicado por: rockernault en 13 Enero 2010, 05:07 am esta usando sudo..
Debian, Ubuntu o derivados Título: Re: Problema al Compilar con ettercap Publicado por: baronobus en 14 Julio 2010, 22:57 pm hola
Me sucede lo mismo al intentar compilar ettercap.Mi sistema es : Linux hell-laptop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux ubuntu 10.04 lucid la maquina es un portatil packard bell Easy note LJ65. La parte de ./configure sale bien (pego la ultima parte....) pero no el make que me da el siguiente error: -----------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------- A que puede ser debido? He probado ya lo de ./configure CFLAGS="-O0" y tambien el otro ejemplo de modificar permisos con 0666. gracias |