[Pvfs2-developers] ppc64 compile problems?
Murali Vilayannur
murali.vilayannur at gmail.com
Mon Nov 20 23:23:32 EST 2006
Hi Kyle,
You are doing it right. I must have introduced this...I did not have
access to a ppc64 box when I did those cleanups.. Is this reproducible
on an x86_64 as well?
Apart from the simple cleanups to all the print statements, the only
serious error is the missing definition of XATTR_REPLACE which I think
is because configure was broken on ppc64 iirc. Can you send
pvfs2-config.h?
I really don't know how we can fix ppc64 builds since we rely on
-Werror in configure to detect missing/new function prototypes and
this causes even normal feature detection to break on ppc64.
RobL, correct me if I am wrong on that. Was that fixed subsequently?
thanks,
Murali
On 11/20/06, kyle schochenmaier <kschoche at scl.ameslab.gov> wrote:
> when compiling the latest 2.6.0 release on our ppc64 box I get the
> following:
> did I mess up the configure or something?
>
> $ ./configure --with-openib=/usr --with-openib-libs=/usr/local/lib
> --with-kern
> el=/usr/src/linux-2.6
>
> <snip stuff from make>
>
> LD src/apps/admin/pvfs2-perror
> CC src/apps/admin/pvfs2-mkspace.o
> LD src/apps/admin/pvfs2-mkspace
> CC src/apps/admin/pvfs2-migrate-collection.o
> LD src/apps/admin/pvfs2-migrate-collection
> CC src/apps/admin/pvfs2-showcoll.o
> LD src/apps/admin/pvfs2-showcoll
> p5l5:/usr/src/pvfs-2.6.0# make kmod
> CC [M] /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.o
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'copy_attributes_to_inode':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:260: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_inode_getattr':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:440: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:516: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_flush_inode':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:633: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:637: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_inode_getxattr':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:740: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:810: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:821: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_inode_setxattr':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:883: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_inode_removexattr':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1007: error:
> 'XATTR_REPLACE' undeclared (first use in this function)
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1007: error:
> (Each undeclared identifier is reported only once
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1007: error:
> for each function it appears in.)
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_create_file':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1190: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1206: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1215: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_create_dir':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1277: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1293: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1302: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_create_symlink':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1372: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1388: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1398: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_remove_entry':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1469: warning:
> format '%llu' expects type 'long long unsigned int', but argument 3
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1469: warning:
> format '%llu' expects type 'long long unsigned int', but argument 4
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_truncate_inode':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1517: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1517: warning:
> format '%llu' expects type 'long long unsigned int', but argument 3
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_cancel_op_in_progress':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1940: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'uint64_t'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c: In function
> 'pvfs2_make_bad_inode':
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:1998: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> /usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.c:2002: warning:
> format '%llu' expects type 'long long unsigned int', but argument 2
> has type 'PVFS_handle'
> make[3]: *** [/usr/src/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2-utils.o]
> Error 1
> make[2]: *** [_module_/usr/src/pvfs-2.6.0/src/kernel/linux-2.6] Error 2
> make[1]: *** [default] Error 2
> make: *** [just_kmod] Error 2
>
>
>
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>
More information about the Pvfs2-developers
mailing list