OpenWrt Forum Archive

Topic: Kamikaze 7.09 with Kismet - Compile error

The content of this topic has been archived on 12 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi!
(bad english)

When I try to compile Kamikaze 7.09 with Kismet I get the following errors:

kismet_server.cc: In function `int networkmanager_control(char*)':
kismet_server.cc:224: error: `DBusMessage' was not declared in this scope
kismet_server.cc:224: error: `msg' was not declared in this scope
kismet_server.cc:225: error: `DBusMessageIter' was not declared in this scope
kismet_server.cc:225: error: expected `;' before "args"
kismet_server.cc:226: error: `DBusConnection' was not declared in this scope
kismet_server.cc:226: error: `conn' was not declared in this scope
kismet_server.cc:227: error: `DBusError' was not declared in this scope
kismet_server.cc:227: error: expected `;' before "err"
kismet_server.cc:228: error: expected `;' before "iter"
kismet_server.cc:234: error: `err' was not declared in this scope
kismet_server.cc:234: error: `dbus_error_init' was not declared in this scope
kismet_server.cc:237: error: `DBUS_BUS_SYSTEM' was not declared in this scope
kismet_server.cc:237: error: `dbus_bus_get' was not declared in this scope
kismet_server.cc:240: error: `dbus_error_free' was not declared in this scope
kismet_server.cc:240: warning: unused variable 'dbus_error_free'
kismet_server.cc:237: warning: unused variable 'DBUS_BUS_SYSTEM'
kismet_server.cc:237: warning: unused variable 'dbus_bus_get'
kismet_server.cc:244: error: `dbus_message_new_signal' was not declared in this scope
kismet_server.cc:246: error: `dbus_message_set_destination' was not declared in this scope
kismet_server.cc:249: error: `dbus_error_free' was not declared in this scope
kismet_server.cc:250: error: `dbus_connection_unref' was not declared in this scope
kismet_server.cc:249: warning: unused variable 'dbus_error_free'
kismet_server.cc:250: warning: unused variable 'dbus_connection_unref'
kismet_server.cc:246: warning: unused variable 'dbus_message_set_destination'
kismet_server.cc:254: error: `dbus_connection_send' was not declared in this scope
kismet_server.cc:255: error: `dbus_connection_flush' was not declared in this scope
kismet_server.cc:257: error: `dbus_message_unref' was not declared in this scope
kismet_server.cc:258: error: `dbus_connection_unref' was not declared in this scope
kismet_server.cc:224: warning: unused variable 'DBusMessage'
kismet_server.cc:226: warning: unused variable 'DBusConnection'
kismet_server.cc:227: warning: unused variable 'DBusError'
kismet_server.cc:234: warning: unused variable 'dbus_error_init'
kismet_server.cc:244: warning: unused variable 'dbus_message_new_signal'
kismet_server.cc:254: warning: unused variable 'dbus_connection_send'
kismet_server.cc:255: warning: unused variable 'dbus_connection_flush'
kismet_server.cc:257: warning: unused variable 'dbus_message_unref'
kismet_server.cc:258: warning: unused variable 'dbus_connection_unref'
/home/ubuntu/kamikaze_7.09/staging_dir_mipsel/usr/include/uClibc++/string: At global scope:
/home/ubuntu/kamikaze_7.09/staging_dir_mipsel/usr/include/uClibc++/string:104: warning: inline function `std::basic_string<Ch, Tr, A>::~basic_string() [with Ch = char, Tr = std::char_traits<char>, A = std::allocator<char>]' used but never defined
/home/ubuntu/kamikaze_7.09/staging_dir_mipsel/usr/include/uClibc++/string:75: warning: inline function `std::basic_string<Ch, Tr, A>::basic_string(const A&) [with Ch = char, Tr = std::char_traits<char>, A = std::allocator<char>]' used but never defined
make[4]: *** [kismet_server.o] Error 1
make[3]: *** [/home/ubuntu/kamikaze_7.09/build_mipsel/kismet-2007-10-R1/.built] Error 2
make[2]: *** [kismet-compile] Error 2
make[1]: *** [package/compile] Error 2
make: *** [world] Error 2
ubuntu@ubuntu:~/kamikaze_7.09$

Whats wrong?
What informations do you need?
The "dbus" package was automatically selected by Kismet Package on menuconfig.

thx a lot!! smile

$ cd ~
$ svn checkout https://svn.openwrt.org/openwrt/trunk/ trunk/
$ cd trunk/
$ ./scripts/feeds update -a
$ ./scripts/feeds install -d m dbus kismet-client kismet-drone kismet-server
$ make menuconfig
$ make world

$ ls -al bin/packages/mipsel/kismet-*
-rw-r--r-- 1 openwrt openwrt 161938 May 25 23:04 bin/packages/mipsel/kismet-client_2007-10-R1-1_mipsel.ipk
-rw-r--r-- 1 openwrt openwrt 105350 May 25 23:04 bin/packages/mipsel/kismet-drone_2007-10-R1-1_mipsel.ipk
-rw-r--r-- 1 openwrt openwrt 242858 May 25 23:04 bin/packages/mipsel/kismet-server_2007-10-R1-1_mipsel.ipk

At least in trunk Kismet compiles fine. Sorry, I don't know 7.09. 7.09 is too old.

Strange...

./scripts/feeds update -a

This program doesnt load the packages right at first but after update 3 times more its now working!

THX :)

openwrt ruleZ!! :)

The discussion might have continued from here.