Package: partimage
Version: 0.6.4-15
Severity: serious
Tags: patch

When building 'partimage' on amd64/unstable, I get the following error:

In file included from misc.cpp:61:
fs/fs_jfs.h:41:1: warning: this is the location of the previous definition
fs/fs_xfs.h:158: error: conflicting declaration 'typedef long unsigned int 
__u64'
/usr/include/asm-x86_64/types.h:24: error: '__u64' has a previous declaration 
as 'typedef long long unsigned int __u64'
fs/fs_xfs.h:159: error: conflicting declaration 'typedef long int __s64'
/usr/include/asm-x86_64/types.h:23: error: '__s64' has a previous declaration 
as 'typedef long long int __s64'
make[5]: *** [misc.o] Error 1
make[5]: Leaving directory `/partimage-0.6.4/src/client'

This seems to be related to the new version of linux-kernel-headers.

With the attached patch 'partimage' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/partimage-0.6.4/debian/patches/xfs.diff 
./debian/patches/xfs.diff
--- ../tmp-orig/partimage-0.6.4/debian/patches/xfs.diff 2006-06-20 
10:28:33.000000000 +0000
+++ ./debian/patches/xfs.diff   2006-06-20 10:28:31.000000000 +0000
@@ -22,7 +22,7 @@
 -typedef unsigned long  __u64; 
 -typedef signed long    __s64; 
 -#elif __alpha__
-+#if defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || 
defined(__x86_64__)
++#if defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__)
  typedef unsigned long  __u64; 
  typedef signed long    __s64; 
  #else


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

Reply via email to