Some problems

17 views
Skip to first unread message

Den

unread,
Mar 30, 2010, 2:51:45 PM3/30/10
to Socket Sentry
Hello, thanks for your project. It looks great but I have some
problems when compile program from source.
My system is Open Suse 11.0 and I can't find any binary files. I
installed all dependences and ran ./install.sh.

But following error was displayed:
[ 25%] Building CXX object socketsentry-service/CMakeFiles/socksent-
service-common.dir/src/PcapThread.cpp.o
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp: In member function ‘pcap_t*
PcapThread::initializePcap(QString&) const’:
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp:146: error: ‘pcap_create’ was not declared
in this scope
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp:149: error: ‘pcap_set_snaplen’ was not
declared in this scope
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp:150: error: ‘pcap_set_timeout’ was not
declared in this scope
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp:160: error: ‘pcap_activate’ was not
declared in this scope
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp:161: error: ‘PCAP_WARNING’ was not declared
in this scope
/home/denis/Distrib/KDE-Plasmoids/socketsentry-0.9.1/socketsentry-
service/src/PcapThread.cpp:177: error: ‘PCAP_ERROR_IFACE_NOT_UP’ was
not declared in this scope
make[2]: *** [socketsentry-service/CMakeFiles/socksent-service-
common.dir/src/PcapThread.cpp.o] Error 1
make[1]: *** [socketsentry-service/CMakeFiles/socksent-service-
common.dir/all] Error 2
make: *** [all] Error 2

Rob Hasselbaum

unread,
Mar 30, 2010, 3:07:00 PM3/30/10
to Socket Sentry
Hi Den. It looks like you're trying to build against an older version
of libpcap. On openSUSE, the build has been tested against libpcap
1.0, although 0.8 might work, too.

Den

unread,
Mar 30, 2010, 3:19:14 PM3/30/10
to Socket Sentry
Thanks for quick answer.
According to yast information I have libpicap-devel-0.9.8. And it is
latest version for my system in repositories :-(

Rob Hasselbaum

unread,
Mar 30, 2010, 3:42:47 PM3/30/10
to Socket Sentry
OK. I thought 0.8 might work because that version number is part of
the package name on Ubuntu, but I think it's really 1.0 there, too.
Reply all
Reply to author
Forward
0 new messages