Начало Вход/Регистрация Помощ Tazi stranica s latinski bukwi
Области
 Новини
 Актуална тема
 Linux портали
 Какво е Линукс?
 Въпроси-отговори
 Форуми
   •Трудова борса
   •Конкурс
 Статии
 Дистрибуции
   •Поръчка на CD
 Made In BG
 Файлове
 Връзки
 Галерия
 Конференции
Настройки
 Външен вид
 Предложения
 Направи си сам
И още ...
 За нас
 Линукс за българи ЕООД
 Линк към нас
 Предложения

Подкрепяно от:
TelePoint - Място за хора със свободни идеи

SiteGround

initLab

Adsys Group

SAP Bulgaria

Въпроси отговори
Въпрос: problem4e
[Търси: ]

ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.

Към началото |Добави въпрос |Отговори
 
Въпрос
От: dsniff Дата: 07/19/2004
 abe izteglih si novata versia na dsniff 2.4 pri ./configure
nikvi problemi vsi4ko proti4a normalno 
 no pri make-vaneto izliza slednoto suob6tenie arp.h:14:
warning: `struct ether_addr' declared inside parameter list
 arp.h:14: warning: its scope is only this definition or
declaration, which is probably not what you want
 arpspoof.c:28: warning: `struct ether_addr' declared inside
parameter list
arpspoof.c: In function `arp_send':
 arpspoof.c:51: warning: passing arg 1 of `libnet_get_hwaddr'
from incompatible pointer type
 arpspoof.c:51: too many arguments to function
`libnet_get_hwaddr'
 arpspoof.c:62: warning: passing arg 6 of
`libnet_build_ethernet' from incompatible pointer type
 arpspoof.c:62: too few arguments to function
`libnet_build_ethernet'
 arpspoof.c:66: `ETH_H' undeclared (first use in this
function)
 arpspoof.c:66: (Each undeclared identifier is reported only
once
arpspoof.c:66: for each function it appears in.)
 arpspoof.c:66: too few arguments to function
`libnet_build_arp'
 arpspoof.c:69: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
 arpspoof.c:73: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
 arpspoof.c:79: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
 arpspoof.c:82: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c: In function `arp_find':
 arpspoof.c:116: warning: passing arg 2 of `arp_cache_lookup'
from incompatible pointer type
arpspoof.c: In function `main':
 arpspoof.c:185: warning: assignment makes pointer from
integer without a cast
/usr/include/linux/byteorder/swab.h: At top level:
arpspoof.c:31: storage size of `spoof_mac' isn't known
arpspoof.c:31: storage size of `target_mac' isn't known
make: *** [arpspoof.o] Error 1

niakoi da pomogne ...



Отговор #1
От: fr3d0x (ciaksd__at__yahoo __точка__ com) Дата: 10/20/2004
 ZNACHI I AZ IMAM SUSHTIQ PROBLEM ARE NQKOI AKO MOJE DA
POMOGNE DA PISHE !..... PLS



Отговор #2
От: ivo (siten __@__ abv __точка__ bg) Дата: 11/14/2004
сега шъе ви кажа как...
 предполагам сте изтеглили всички програми от списака на FAQ
na dsniff:
Berkeley DB 
OpenSSL 
libpcap 
libnet 
libnids
парво компилирате тях...
 обаче ще ви кажа че ви трябва версия >>1.0.2а<< на libnet
 подчертава тази версия засхтото с най-новата 1.1.x няма да
трагне.
 давате ./configure make и тн за да компилирате всички тия
порг и най-накрая компилирате dsnif...
 обаче при мен изникна друг проблем... при dsniff не ми го
компилира цялото... сега 6те ви го paste:)



Отговор #3
От: ivo (siten __@__ abv[ точка ]bg) Дата: 11/14/2004
етого и моя проблем за dsniff 

 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./arpspoof.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./arp.c
 gcc -o arpspoof arpspoof.o arp.o -lresolv -lnsl -lrpcsvc -L.
-lmissing -L/usr/local/lib -lpcap -lnet
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./dnsspoof.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./pcaputil.c
 gcc -o dnsspoof dnsspoof.o pcaputil.o -lresolv -lnsl
-lrpcsvc -L. -lmissing -L/usr/local/lib -lpcap -lnet
rpcgen -h mount.x -o mount.h
rpcgen -c mount.x -o mount.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./asn1.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./base64.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./buf.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./hex.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./magic.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./mount.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./rpc.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./tcp_raw.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./trigger.c
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./record.c
record.c: In function `record_save':
 record.c:130: error: `R_NOOVERWRITE' undeclared (first use
in this function)
 record.c:130: error: (Each undeclared identifier is reported
only once
record.c:130: error: for each function it appears in.)
 record.c:130: warning: passing arg 2 of pointer to function
from incompatible pointer type
record.c:130: error: too few arguments to function
record.c: In function `record_dump':
record.c:143: error: structure has no member named `seq'
 record.c:143: error: `R_NEXT' undeclared (first use in this
function)
record.c: In function `record_init':
 record.c:167: warning: assignment makes pointer from integer
without a cast
record.c: In function `record_close':
record.c:206: error: too few arguments to function
make: *** [record.o] Error 1
bash-2.05b# make
 gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE
 -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
 -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
 -I/usr/local/include -I/usr/local/ssl/include
-I/usr/X11R6/include -I./missing -c ./record.c
record.c: In function `record_save':
 record.c:130: error: `R_NOOVERWRITE' undeclared (first use
in this function)
 record.c:130: error: (Each undeclared identifier is reported
only once
record.c:130: error: for each function it appears in.)
 record.c:130: warning: passing arg 2 of pointer to function
from incompatible pointer type
record.c:130: error: too few arguments to function
record.c: In function `record_dump':
record.c:143: error: structure has no member named `seq'
 record.c:143: error: `R_NEXT' undeclared (first use in this
function)
record.c: In function `record_init':
 record.c:167: warning: assignment makes pointer from integer
without a cast
record.c: In function `record_close':
record.c:206: error: too few arguments to function
make: *** [record.o] Error 1


Отговор #4
От: koko777 (koko777 (a) Gorna __точка__ Net) Дата: 10/02/2005
prosto pishesh: 
cd /usr/include/
ln -s db3/db_185.h db_185.h

vryshtash se v */dsniff$
./configure && make && make install

have fun :)



Отговор #5
От: Night_Hawk (spasitel __@__ gorna __точка__ net) Дата: 10/02/2005
 Priznavam go toq Koko777 za nai golemiq "Hoher"
EAxeXAeXAEXAEXAExA
Blagodarenie na nego shte razbiim sveta {}



<< шейпър под Фрее БСД (6 ) | За Trustix... (2 ) >>

 
© 2011-... Асоциация "Линукс за българи"
© 2007-2010 Линукс за българи ЕООД
© 1999-2006 Slavej Karadjov
Ако искате да препечатате или цитирате информация от този сайт прочетете първо това
Външния вид е направен от MOMCHE
Code Version: 1.0.8 H (Revision: 23-09-2011)
 
Изпълнението отне: 0 wallclock secs ( 0.07 usr + 0.01 sys = 0.08 CPU)