Package: aolserver4
Version: 4.0.10-5
Severity: normal
Tags: patch
When building 'aolserver4' on ppc64/unstable,
I get the following error:
gcc -pipe -L../nsthread -L../nsd -o nsd main.o libnsd.so -lnsthread -L/usr/lib
-ltcl8.4 -ldl -lpthread -lieee -lm -lgcc_s -Wl,--export-dynamic
libnsd.so: undefined reference to `pthread_kill_other_threads_np'
collect2: ld returned 1 exit status
make[2]: *** [nsd] Error 1
make[2]: Leaving directory `/aolserver4-4.0.10/nsd'
This occurs because the glibc library on ppc64 is NPTL-only.
With the attached patch 'aolserver4' can be compiled on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/aolserver4-4.0.10/debian/patches/amd64.dpatch
./debian/patches/amd64.dpatch
--- ../tmp-orig/aolserver4-4.0.10/debian/patches/amd64.dpatch 2006-04-04
10:19:46.000000000 +0000
+++ ./debian/patches/amd64.dpatch 2006-04-04 10:19:35.000000000 +0000
@@ -13,7 +13,7 @@
FatalSignalHandler(int signal)
{
-#ifdef __linux
-+#if defined( __linux ) && !defined(__x86_64__)
++#if defined( __linux ) && !defined(__x86_64__) &&!defined(__powerpc64__)
/*
* LinuxThreads thread manager needs to kill all child threads
* on fatal signals, else they get left behind as dead threads.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]