[FUGSPBR] iptraf funciona no free!!

Ricardo A. Reis n.i.b em terra.com.br
Sex Jul 19 17:39:48 BRT 2002


        o binario pra linux sobe numa boa, o grande problema esta na
interface que saum diferente! Estou tentando compilar o source estou
esbarando em alguns problemas!!


nib# make
gcc -Wall -c iptraf.c
iptraf.c:28: getopt.h: No such file or directory
iptraf.c:39: menurt.h: No such file or directory
iptraf.c:40: winops.h: No such file or directory
iptraf.c:41: msgboxes.h: No such file or directory
In file included from iptraf.c:54:
tcptable.h:22: asm/types.h: No such file or directory
tcptable.h:23: linux/if_packet.h: No such file or directory
tcptable.h:24: linux/if_ether.h: No such file or directory
tcptable.h:25: linux/if_fddi.h: No such file or directory
tcptable.h:26: linux/if_tr.h: No such file or directory
In file included from tcptable.h:31,
                 from iptraf.c:54:
tcphdr.h:8: endian.h: No such file or directory
*** Error code 1

Stop in /usr/compat/linux/iptraf-2.7.0/src.

 

editando o makefile tem a path para as includes,..

# you may want to change this to point to your ncurses include directory
# if the ncurses include files are not in the default location.

INCLUDEDIR      = -I/usr/include/ncurses -I../support


o diretorio da includes no free esta.

/usr/local/include


ja alterei e nada!!!


Alquem com mais esperiencia em prog naum gostaria de tentar??

t+++













--------------------------------------------
"FreeBSD,BeOS,Linux"|"Cisco Network Academy" 
--------------------------------------------
  BSD User = 050834 | Linux User = 280168
--------------------------------------------
        The Power to the Serve
         


________________________________________________
Para sair da lista visite o URL abaixo:
http://www2.fugspbr.org/mailman/listinfo/fugspbr



Mais detalhes sobre a lista de discussão freebsd