tags 400190 + patch
thanks

The testcase needs to use -fPIC on amd64. This is available in the
$CFLAG_PIC variable ... Applying the attached patch and running
"autoconf" solves the problem for me.

Patch attached (and don't forget to run "autoconf").

-- 
Regards,
Andreas Henriksson
diff -ur unixcw-2.3/configure.ac unixcw-2.3-fixed/configure.ac
--- unixcw-2.3/configure.ac     2006-07-13 05:31:21.000000000 +0000
+++ unixcw-2.3-fixed/configure.ac       2006-12-04 13:04:17.000000000 +0000
@@ -190,7 +190,7 @@
   cat >conftest.c <<-EOF
   int so_test() { return 0; }
 EOF
-  $CC -c conftest.c >/dev/null 2>/dev/null
+  $CC $CFLAG_PIC -c conftest.c >/dev/null 2>/dev/null
   $CC -shared -o conftest.so conftest.o >/dev/null 2>/dev/null
   rm -f conftest.c conftest.o
   if test -f conftest.so ; then

Reply via email to