elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía rápida para descarga de herramientas gratuitas de seguridad y desinfección


+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Hacking Wireless
| | |-+  Wireless en Linux
| | | |-+  Problema al Compilar con ettercap
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Problema al Compilar con ettercap  (Leído 4,046 veces)
cls_1231

Desconectado Desconectado

Mensajes: 6


Ver Perfil
Problema al Compilar con ettercap
« 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
En línea

Festor
Ex-Staff
*
Desconectado Desconectado

Mensajes: 1.955


Ver Perfil
Re: Problema al Compilar con ettercap
« Respuesta #1 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í 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.
« Última modificación: 1 Diciembre 2009, 11:16 am por Festor » En línea

Jrt_1990

Desconectado Desconectado

Mensajes: 9


Ver Perfil
Re: Problema al Compilar con ettercap
« Respuesta #2 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
En línea

[L]ord [R]NA


Desconectado Desconectado

Mensajes: 1.513

El Dictador y Verdugo de H-Sec


Ver Perfil WWW
Re: Problema al Compilar con ettercap
« Respuesta #3 en: 13 Enero 2010, 02:02 am »

Estamos trabajando a ciegas... no sabemos que distribucion tienes?
En línea

rockernault


Desconectado Desconectado

Mensajes: 2.046


Linux User!!!


Ver Perfil
Re: Problema al Compilar con ettercap
« Respuesta #4 en: 13 Enero 2010, 05:07 am »

esta usando sudo..

Debian, Ubuntu o derivados
En línea




baronobus

Desconectado Desconectado

Mensajes: 9



Ver Perfil
Re: Problema al Compilar con ettercap
« Respuesta #5 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:
-----------------------------------------------------------------------------------------------------------------------------------------------

config.status: creating plug-ins/smb_clear/Makefile
config.status: creating plug-ins/smb_down/Makefile
config.status: creating plug-ins/stp_mangler/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands

ettercap has been configured as follow...

==================================================

 Install directory:  /usr/local


Libraries :

 LIBPCAP ................  default
 LIBNET .................  default
 LIBSSL .................  default
 NCURSES ................  NO
 GTK+ ...................  yes

Functionalities :

 Debug mode .............  no
 Plugin support .........  no
 Passive DNS ............  yes
 Perl regex in filters ..  yes
 Iconv UTF-8 support ....  yes

==================================================

Making all in man
make[1]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/man'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/man'
Making all in share
make[1]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/share'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/share'
Making all in include
make[1]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
make  all-am
make[2]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
make[2]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
make[1]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
Making all in include
make[1]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
make  all-am
make[2]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
make[2]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
make[1]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/include'
Making all in src
make[1]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src'
Making all in os
make[2]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/os'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/os'
Making all in interfaces
make[2]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces'
Making all in daemon
make[3]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces/daemon'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces/daemon'
Making all in text
make[3]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces/text'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces/text'
Making all in gtk
make[3]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: No se hace nada para `all'.
make[3]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces/gtk'
make[3]: se ingresa al directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces'
make[3]: No se hace nada para `all-am'.
make[3]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces'
make[2]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src/interfaces'
make[2]: se ingresa al directorio `/home/hell/Descargas/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 ‘set_loglevel’:
ec_log.c:104: error: invalid application of ‘sizeof’ to incomplete type ‘struct log_wfd’
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 *’
make[2]: *** [ettercap-ec_log.o] Error 1
make[2]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/hell/Descargas/ettercap-NG-0.7.3/src'
make: *** [all-recursive] Error 1
root@hell-laptop:/home/hell/Descargas/ettercap-NG-0.7.3#


--------------------------------------------------------------------------------------------------------------------------------------
A que puede ser debido? He probado ya lo de ./configure CFLAGS="-O0" y tambien el otro ejemplo de modificar permisos con 0666.
gracias
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
error al compilar ettercap desde la fuente
GNU/Linux
comosea 0 2,722 Último mensaje 9 Noviembre 2011, 04:58 am
por comosea
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines