VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Cant install sentinel  (Read 1133 times)

asphyx

  • Member
  • *
  • Posts: 9
Cant install sentinel
« on: February 12, 2009, 06:13:54 am »

Error mesages within instalation of sentinel 1.0
Code: [Select]

root:# make
gcc -Wall -I. -I/usr/local/include `libnet-config --defines`   -c -o sentinel.o sentinel.c
gcc -Wall -I. -I/usr/local/include `libnet-config --defines`   -c -o list.o list.c
list.c: In function 'sentinel_list_insert':
list.c:19: warning: implicit declaration of function 'libnet_name_resolve'
gcc -Wall -I. -I/usr/local/include `libnet-config --defines`   -c -o init.o init.c
init.c: In function 'net_init':
init.c:37: error: storage size of 'link_int' isn't known
init.c:65: warning: implicit declaration of function 'libnet_get_ipaddr'
init.c:71: warning: implicit declaration of function 'libnet_host_lookup'
init.c:71: warning: assignment makes pointer from integer without a cast
init.c:72: warning: implicit declaration of function 'libnet_name_resolve'
init.c:74: error: too many arguments to function 'libnet_get_hwaddr'
init.c:37: warning: unused variable 'link_int'
init.c: In function 'init_ipfile':
init.c:139: warning: comparison between pointer and integer
make: *** [init.o] Error 1
Before installing sentinel 1.0 i installed libnet-1.1.2.1-i486-1sv.tgz .
Any ideas ?
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3235
Re: Cant install sentinel
« Reply #1 on: February 12, 2009, 07:19:27 am »

That looks like a bug in the source code to me.

But I'm no expert :D

asphyx

  • Member
  • *
  • Posts: 9
Re: Cant install sentinel
« Reply #2 on: February 12, 2009, 07:28:43 am »

Quote
   The Sentinel project is designed to be a portable, accurate, and effective implementation of all publicly known promiscuous detection techniques. Sentinel currently supports 3 methods of remote promiscuous detection: The DNS test, icmp etherping test, and ARP test. Tested on OpenBSD-3.0beta, FreeBSD 4.0, Netbsd 1.5.2, and Linux 2.4.x.

Maybe kernel version or may be you right ?!
Logged

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: Cant install sentinel
« Reply #3 on: February 12, 2009, 07:38:16 am »

Error mesages within instalation of sentinel 1.0
Code: [Select]


init.c:74: error: too many arguments to function 'libnet_get_hwaddr'
Before installing sentinel 1.0 i installed libnet-1.1.2.1-i486-1sv.tgz .
Any ideas ?

looks like the header of that function does not correspond to expected one... maybe a prior version will do.