Re: [Osace-users] make errors (help)
Status: Beta
Brought to you by:
jeneral
|
From: Al G. <big...@gm...> - 2011-07-21 18:52:54
|
And finally I am getting:
root@bt:/pentest/scanners/unicornscan# unicornscan -i wlan0 -I -epgsqldb
192.168.70.0/24
Main [Error pgsqldb.c:117] PostgreSQL connection fails: could not connect
to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7175?
could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7175?
Main [Error pgsqldb.c:426] PostgreSQL scan insert id returned a strange
return code PGRES_FATAL_ERROR:
Main [Error pgsqldb.c:350] PostgreSQL scan insert id returned a strange
return code PGRES_FATAL_ERROR:
postgre sql not quite configuered right?
Cheers
-Al
On Fri, Jul 22, 2011 at 6:17 AM, Al Grant <big...@gm...> wrote:
> Possib;y getting closer:
>
> CALSTATEDIR=\"/var\" -DPROGNAME=\"unicornscan\"
> -I/root/unicornscan-0.4.7/src -I/root/unicornscan-0.4.7/libs/fake/include
> -I/root/unicornscan-0.4.7/ext_src -export-dynamic -o unisend send_packet.lo
> init_packet.lo entry.lo -L/root/unicornscan-0.4.7/src/unilib
> -L/root/unicornscan-0.4.7/src/parse -L/root/unicornscan-0.4.7/src/scan_progs
> -luext -lltdl -lpcap -L/root/unicornscan-0.4.7/libs/fake/lib
> -L/root/unicornscan-0.4.7/ext_src -lscan -lparse -lunilib -lltdl -ldnet
> -luext
> .libs/send_packet.o: In function `priority_send_packet':
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:1122: undefined
> reference to `ip_send'
> .libs/send_packet.o: In function `open_link':
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:1152: undefined
> reference to `ip_close'
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:1174: undefined
> reference to `eth_open'
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:1165: undefined
> reference to `ip_open'
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:1145: undefined
> reference to `eth_close'
> .libs/send_packet.o: In function `_send_packet':
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:945: undefined
> reference to `eth_send'
> /root/unicornscan-0.4.7/src/scan_progs/send_packet.c:926: undefined
> reference to `ip_send'
> /root/unicornscan-0.4.7/src/scan_progs/.libs/libscan.a(makepkt.o): In
> function `makepkt_getbuf':
> /root/unicornscan-0.4.7/src/scan_progs/makepkt.c:65: undefined reference to
> `ip_checksum'
> collect2: ld returned 1 exit status
> make[2]: *** [unisend] Error 1
>
> make[2]: Leaving directory `/root/unicornscan-0.4.7/src/scan_progs'
> make[1]: *** [alld] Error 1
> make[1]: Leaving directory `/root/unicornscan-0.4.7/src'
> make: *** [all] Error 1
> root@bt:~/unicornscan-0.4.7#
>
> On Fri, Jul 22, 2011 at 5:35 AM, Al Grant <big...@gm...> wrote:
>
>> Morning Aleksey,
>>
>> I am on Backtrack 5, 32bit version.
>>
>> I think libdnet is installed:
>>
>> root@bt:~# dpkg -s libdnet
>> Package: libdnet
>> Status: install ok installed
>> Priority: extra
>> Section: libs
>> Installed-Size: 256
>> Maintainer: Ubuntu Developers <ubu...@li...>
>> Architecture: i386
>> Source: dnprogs
>> Version: 2.49ubuntu1
>> Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
>> Recommends: dnet-common (>= 2.49ubuntu1)
>> Description: DECnet Libraries
>> This package contains the libraries necessary for a functioning DECnet
>> system. Most DECnet programs require these libraries to be present on
>> the system. The libraries are:
>> libdnet - the basic DECnet API as featured on Ultrix(R) systems
>> libdnet_daemon - useful calls for writing DECnet daemons
>> libdap - DAP (Data Access Protocol) C++ classes
>> librms - High level library for programmatic access VMS files
>> from Linux.
>> .
>> If you're looking for libdnet, the "dumb" networking library from
>> libdnet.sf.net by Dug Song then you should install libdumbnet instead.
>> Sorry for any confusion caused!
>> Original-Maintainer: Christine Caulfield <
>> chr...@go...>
>> root@bt:~# dpkg -s libdumbnet
>> Package `libdumbnet' is not installed and no info is available.
>> Use dpkg --info (= dpkg-deb --info) to examine archive files,
>> and dpkg --contents (= dpkg-deb --contents) to list their contents.
>> root@bt:~# sudo apt-get install libdumbnet
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Couldn't find package libdumbnet
>> root@bt:~# sudo apt-get install libdumbnet-dev
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> libdumbnet-dev is already the newest version.
>> 0 upgraded, 0 newly installed, 0 to remove and 10 not
>> upgraded.
>>
>> root@bt:~# dpkg -s libdumbnet-dev
>> Package:
>> libdumbnet-dev
>>
>> Status: install ok
>> installed
>>
>> Priority:
>> optional
>>
>> Section:
>> libdevel
>>
>> Installed-Size:
>> 264
>>
>> Maintainer: Ubuntu Developers <ubu...@li...>
>>
>> Architecture:
>> i386
>>
>> Source:
>> libdumbnet
>>
>> Version:
>> 1.12-3
>>
>> Depends: libc6 (>= 2.7), libdumbnet1 (=
>> 1.12-3)
>>
>> Description: A dumb, portable networking library -- development
>> files
>>
>> libdumbnet provides a simplified, portable interface to several
>> low-level
>>
>> networking routines,
>> including
>>
>> * network address
>> manipulation
>>
>> * kernel arp(4) cache and route(4) table lookup and
>> manipulation
>>
>> * network firewalling (Ip filter, ipfw, ipchains, pdf,
>> ...)
>>
>> * network interface lookup and
>> manipulation
>>
>> * raw IP packet and Ethernet frame
>> transmission
>>
>> .
>>
>> libdumbnet is known as libdnet in other distributions, but was
>> renamed
>>
>> in Debian in favour of the older DECnet library
>> 'libdnet'.
>>
>> .
>>
>> This package contains the static library and the C header
>> files.
>>
>> Original-Maintainer: Jan Christoph Nordholz <he...@po...>
>>
>> Homepage: http://code.google.com/p/libdnet/
>>
>> root@bt:~#
>>
>> Help! Thanks,
>>
>>
>> On Fri, Jul 22, 2011 at 1:13 AM, Aleksey Valov <ale...@gm...>wrote:
>>
>>> Hey Al, what system are you trying to compile to program on? Which
>>> architecture? Version?
>>> Also check if you have libdnet and it's development version installed on
>>> your system.
>>> Regards,
>>> Aleksey
>>>
>>> On Thu, Jul 21, 2011 at 11:06 AM, Al Grant <big...@gm...> wrote:
>>>
>>>> HI All,
>>>>
>>>> Trying to install Unicornscan-0.4.7.
>>>>
>>>> After:
>>>>
>>>> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
>>>> --enable-bundled-ltdl
>>>>
>>>> Runs all ok. Then:
>>>>
>>>> /usr/bin/make:
>>>>
>>>>
>>>> root@bt:~/unicornscan-0.4.7# /usr/bin/make
>>>> make[1]: Entering directory `/root/unicornscan-0.4.7/libs'
>>>> make[1]: Nothing to be done for `all'.
>>>> make[1]: Leaving directory `/root/unicornscan-0.4.7/libs'
>>>> make[1]: Entering directory `/root/unicornscan-0.4.7/etc'
>>>> cat unicorn.conf.in | sed -e 's#@CONFDIR@#/etc/unicornscan#g' -e
>>>> 's#@MODDIR@#/usr/lib/unicornscan/modules#g' > unicorn.conf
>>>> make[1]: Leaving directory `/root/unicornscan-0.4.7/etc'
>>>> make[1]: Entering directory `/root/unicornscan-0.4.7/selinux'
>>>> cat unicornscan.fc.in | sed -e "s,@BINDIR@,/usr/bin,g" -e
>>>> "s,@LIBEXECDIR@,/usr/libexec,g" \
>>>> -e "s,@SYSCONFDIR@,/etc,g" -e "s,@LIBDIR@,/usr/lib,g" -e
>>>> "s,@LOCALSTATEDIR@,/var,g" \
>>>> > unicornscan.fc
>>>> make[1]: Leaving directory `/root/unicornscan-0.4.7/selinux'
>>>> make[1]: Entering directory `/root/unicornscan-0.4.7/ext_src'
>>>> make[1]: Nothing to be done for `all'.
>>>> make[1]: Leaving directory `/root/unicornscan-0.4.7/ext_src'
>>>> make[1]: Entering directory `/root/unicornscan-0.4.7/src'
>>>> Entering unilib
>>>> make[2]: Entering directory `/root/unicornscan-0.4.7/src/unilib'
>>>> make[2]: Nothing to be done for `all'.
>>>> make[2]: Leaving directory `/root/unicornscan-0.4.7/src/unilib'
>>>> Entering parse
>>>> make[2]: Entering directory `/root/unicornscan-0.4.7/src/parse'
>>>> make[2]: Nothing to be done for `all'.
>>>> make[2]: Leaving directory `/root/unicornscan-0.4.7/src/parse'
>>>> Entering scan_progs
>>>> make[2]: Entering directory `/root/unicornscan-0.4.7/src/scan_progs'
>>>> /bin/sh /root/unicornscan-0.4.7/libtool --quiet --mode=compile gcc -g
>>>> -O2 -O2 -DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\"
>>>> -DLIBEXECDIR=\"/usr/libexec\" -DLOCALSTATEDIR=\"/var\"
>>>> -DPROGNAME=\"unicornscan\" -I/root/unicornscan-0.4.7/src
>>>> -I/root/unicornscan-0.4.7/libs/fake/include
>>>> -I/root/unicornscan-0.4.7/ext_src -c send_packet.c
>>>> send_packet.c:22:18: error: dnet.h: No such file or directory
>>>> send_packet.c:110: error: expected specifier-qualifier-list before
>>>> 'ip_t'
>>>> send_packet.c: In function '_send_packet':
>>>> send_packet.c:926: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:945: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> send_packet.c: In function 'priority_send_packet':
>>>> send_packet.c:1122: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c: In function 'open_link':
>>>> send_packet.c:1144: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> send_packet.c:1145: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> send_packet.c:1146: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> send_packet.c:1151: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:1152: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:1153: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:1164: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:1165: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:1166: error: 'union <anonymous>' has no member named
>>>> 'ipsock'
>>>> send_packet.c:1173: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> send_packet.c:1174: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> send_packet.c:1175: error: 'union <anonymous>' has no member named
>>>> 'llsock'
>>>> make[2]: *** [send_packet.lo] Error 1
>>>> make[2]: Leaving directory `/root/unicornscan-0.4.7/src/scan_progs'
>>>> make[1]: *** [alld] Error 1
>>>> make[1]: Leaving directory `/root/unicornscan-0.4.7/src'
>>>> make: *** [all] Error 1
>>>> root@bt:~/unicornscan-0.4.7#
>>>>
>>>> Anyone able to help me with these errors please?
>>>>
>>>> Thanks in advance,
>>>>
>>>> -Al
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Between stimulus and response there is a space. In that space is our
>>>> power to choose our response. In our response lies our growth and our
>>>> freedom.
>>>> - Viktor E. Frankl
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 5 Ways to Improve & Secure Unified Communications
>>>> Unified Communications promises greater efficiencies for business. UC
>>>> can
>>>> improve internal communications as well as offer faster, more efficient
>>>> ways
>>>> to interact with customers and streamline customer service. Learn more!
>>>> http://www.accelacomm.com/jaw/sfnl/114/51426253/
>>>> _______________________________________________
>>>> Osace-users mailing list
>>>> Osa...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/osace-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 5 Ways to Improve & Secure Unified Communications
>>> Unified Communications promises greater efficiencies for business. UC can
>>> improve internal communications as well as offer faster, more efficient
>>> ways
>>> to interact with customers and streamline customer service. Learn more!
>>> http://www.accelacomm.com/jaw/sfnl/114/51426253/
>>> _______________________________________________
>>> Osace-users mailing list
>>> Osa...@li...
>>> https://lists.sourceforge.net/lists/listinfo/osace-users
>>>
>>>
>>
>>
>> --
>> Between stimulus and response there is a space. In that space is our power
>> to choose our response. In our response lies our growth and our freedom.
>> - Viktor E. Frankl
>>
>
>
>
> --
> Between stimulus and response there is a space. In that space is our power
> to choose our response. In our response lies our growth and our freedom.
> - Viktor E. Frankl
>
--
Between stimulus and response there is a space. In that space is our power
to choose our response. In our response lies our growth and our freedom.
- Viktor E. Frankl
|