Socket Sentry won't make in 12.1

Nice KDE network traffic monitoring tool Socket Sentry - KDE Store

has any one been able to get it to compile in 12.1?

when I run make it errors out

Linking CXX executable runPcapManagerTest
/usr/lib64/gcc/x86_64-suse-linux/4.6/…/…/…/…/x86_64-suse-linux/bin/ld: CMakeFiles/runPcapManagerTest.dir/test/PcapManagerTest.cpp.o: undefined reference to symbol ‘pthread_setspecific@@GLIBC_2.2.5
/usr/lib64/gcc/x86_64-suse-linux/4.6/…/…/…/…/x86_64-suse-linux/bin/ld: note: ‘pthread_setspecific@@GLIBC_2.2.5’ is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [socketsentry-service/runPcapManagerTest] Error 1
make[1]: *** [socketsentry-service/CMakeFiles/runPcapManagerTest.dir/all] Error 2
make: *** [all] Error 2

thanks,

Hi
So add the linker flag in to pthread? Probably needs some mods in
CMakeLists.txt or export a flag…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 1 day 20:17, 5 users, load average: 0.09, 0.08, 0.07
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi
This version builds on 12.1 without errors via osc;
http://download.opensuse.org/repositories/home:/rhasselbaum/openSUSE_11.3/src/

It does however fail the RPMLINT report, so needs fixing, splitting
into a shared library etc, but doesn’t error out on the build.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 1 day 21:57, 5 users, load average: 0.40, 0.49, 0.24
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi
So add the linker flag in to pthread? Probably needs some mods in
CMakeLists.txt or export a flag…

[/QUOTE]
Hi
This version builds on 12.1 without errors via osc;
http://download.opensuse.org/repositories/home:/rhasselbaum/openSUSE_11.3/src/

It does however fail the RPMLINT report, so needs fixing, splitting
into a shared library etc, but doesn’t error out on the build.

[/QUOTE]
Builds for 12.1 here;
https://build.opensuse.org/package/show?package=testing222&project=home%3Amalcolmlewis%3ATesting

Note the warnings at the end of the build log, as well as the rpmlintrc
file in the sources list (or src rpm).


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 1 day 22:46, 5 users, load average: 0.21, 0.39, 0.41
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi all. I’m the original author of Socket Sentry. Other projects have kept me busy so I haven’t updated the build for 12.1. If anyone would like to contribute a patch, I’d be very willing to accept over at Google Code. Otherwise, I hope to get back to this when time permits.

Hi
I will branch your package and submit the updates back to you :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 2 days 10:39, 6 users, load average: 0.00, 0.01, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU