Visualizzazione dei risultati da 1 a 7 su 7

Discussione: nel fare make...

  1. #1

    nel fare make...

    salve sto installando un prog, quando faccio il ./configure sembra tutto ok dà tutti yes....successivamente faccio make e mi genera un'errore....come lo risolvo?Grazie mille!!!

    [root@Fed dsniff-2.3]# make
    gcc -g -O2 -D_BSD_SOURCE -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -
    I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I.
    /missing -c ./arpspoof.c
    arpspoof.c:25: warning: `struct ether_addr' declared inside parameter
    list
    arpspoof.c:25: warning: its scope is only this definition or
    declaration, which is probably not what you want
    arpspoof.c:26: warning: `struct ether_addr' declared inside parameter
    list
    arpspoof.c: In function `arp_send':
    arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from
    incompatible pointer type
    arpspoof.c:49: error: too many arguments to function
    `libnet_get_hwaddr'
    arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from
    incompatible pointer type
    arpspoof.c:60: error: too few arguments to function
    `libnet_build_ethernet'
    arpspoof.c:64: error: `ETH_H' undeclared (first use in this function)
    arpspoof.c:64: error: (Each undeclared identifier is reported only
    once
    arpspoof.c:64: error: for each function it appears in.)
    arpspoof.c:64: error: too few arguments to function `libnet_build_arp'
    arpspoof.c:67: warning: passing arg 1 of `ether_ntoa' from
    incompatible pointer type
    arpspoof.c:71: warning: passing arg 1 of `ether_ntoa' from
    incompatible pointer type
    arpspoof.c:77: warning: passing arg 1 of `ether_ntoa' from
    incompatible pointer type
    arpspoof.c:80: warning: passing arg 1 of `ether_ntoa' from
    incompatible pointer type
    arpspoof.c: In function `arp_find':
    arpspoof.c:114: warning: passing arg 2 of `arp_cache_lookup' from
    incompatible pointer type
    arpspoof.c: In function `main':
    arpspoof.c:181: warning: assignment makes pointer from integer without
    a cast
    arpspoof.c: At top level:
    arpspoof.c:29: error: storage size of `spoof_mac' isn't known
    arpspoof.c:29: error: storage size of `target_mac' isn't known
    make: *** [arpspoof.o] Error 1
    [root@Fed dsniff-2.3]#




    libnet, libnids e libpcap sono installate.

  2. #2
    hai installato anche i -dev delle varie librerie necessarie? sembra che ti manchino gli header file che contengono le definizioni di quelle due strutture sulle quali ricevi l'errore...
    Powered by MacOSX Lion

  3. #3
    sinceramente non so cosa sia il -dev.....ho installato linux da pochissimi giorni quindi è già un miracolo se ho fatto il dual boot con windows, installato i plug-in del browser ecc :-)) eheheh....cmq forse può aiutarti ad aiutarmi il fatto che nmap ed ettercap funzionano bene....adesso non so che ruolo abbia il -dev di cui mi parli.....grazie dell'aiuto sono tutt'orecchi

  4. #4
    sono i pacchetti per fare development... necessari se devi compilare qualcosa che richiede le librerie ai quali si riferiscono...


    basta che installi il pacchetto nomelibreria-dev

    se non hai capito dimmi che provo ad essere + preciso
    Powered by MacOSX Lion

  5. #5
    Se il configure è andato bene le librerie di sviluppo dovrebbero essere installate.
    E comunque non sono necessarie in tutte le distro...

    Sergej
    :: Il Deposito
    Canti di protesta politica e sociale
    Archivio di testi e accordi

  6. #6
    boo io ho fedora 2
    kernel 2.6.10-1.771-fc2 i686
    installata libnet 1.1.2.1-2.1.fc2.rf.x86_64.rpm
    libnids-1.21
    libpcap-0.9.5.tar.gz

    che devo fare?

  7. #7
    Sinceramente, quando il configure dà tutto ok e il make va male, abbandono, nel senso che potrebbe essere un bub o un errore nel codice, oppure qualche incompatibilità con le librerie installate, che non viene rilevata dal configure.

    Sergej
    :: Il Deposito
    Canti di protesta politica e sociale
    Archivio di testi e accordi

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.