Package: samba
Severity: wishlist
Tags: patch

When building 'samba' on ppc64, I get the following error:

checking for int... yes
checking size of int... configure: error: cannot compute sizeof (int), 77
See `config.log' for more details.
make: *** [configure-stamp] Error 1

I do not know the exact cause for this problem. However, it seems to be
related to the use of the '-gstabs' compiler option in CFLAGS in
'debian/rules'. If that option is changed to just '-g',
this FTBFS problem on ppc64 disappears.

Regards
Andreas Jochens

diff -urN ../tmp-orig/samba-3.0.10/debian/rules ./debian/rules
--- ../tmp-orig/samba-3.0.10/debian/rules       2005-03-11 12:50:33.131343621 
+0100
+++ ./debian/rules      2005-03-11 12:44:54.000000000 +0100
@@ -25,7 +25,7 @@
 
 
 # Support the DEB_BUILD_OPTIONS variable
-CFLAGS = -gstabs -Wall
+CFLAGS = -g -Wall
 INSTALL = install
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to