public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Weird compile issue on sparc
@ 2009-06-15 22:00 Josef Bacik
  0 siblings, 0 replies; only message in thread
From: Josef Bacik @ 2009-06-15 22:00 UTC (permalink / raw)
  To: linux-btrfs

Hello,

When trying to rebuild fedora for sparc, the btrfs-progs package failed to
compile.  This is what it spit out in the build log

gcc -Wp,-MMD,./.convert.o.d,-MT,convert.o -Wall -fno-strict-aliasing
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mcpu=ultrasparc -c convert.c
In file included from /usr/include/ext2fs/ext2_types.h:23,
                 from /usr/include/ext2fs/ext2_fs.h:19,
                 from convert.c:41:
/usr/include/ext2fs/ext2_types-sparc64.h:97: error: conflicting types for
'__u64'
/usr/include/asm-generic/int-ll64.h:28: note: previous declaration of '__u64'
was here
/usr/include/ext2fs/ext2_types-sparc64.h:113: error: conflicting types for
'__s64'
/usr/include/asm-generic/int-ll64.h:27: note: previous declaration of '__s64'
was here

I assume its because we typedef in kerncompat.h and then it gets done elsewhere
via the ext2 headers.  This was just brought to my attention.  I will look at it
tomorrow unless somebody has an idea of how to fix this before then (like say
Yan :) ) then I would be grateful.  Thanks,

Josef

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-15 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15 22:00 Weird compile issue on sparc Josef Bacik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox