[Lustre-discuss] error compiling ldiskfs - error: implicit declaration of function ‘d_move_locked’[Scanned]

Arif Ali aali at ocf.co.uk
Fri Mar 13 05:45:08 PDT 2009


Hi list,

I'm a newbie to lustre, and trying to get the lustre 1.6.7 compiled on 
SLES10 SP2 x86_64. All the rpms compile except for the lustre-ldiskfs, I 
have googled, but haven't found anything; So I hope one of you guys may 
have seen this problem or provide a fix for it

doing make rpms in the ldiskfs folder, the last few lines give me:

# make rpms
...
...
...
Now at patch patches/ext3-big-endian-check-2.6-sles10.patch
Replacing 'ext3' with 'ldiskfs': acl.h namei.h xattr.h acl.c balloc.c 
bitmap.c dir.c file.c fsync.c hash.c ialloc.c inode.c ioctl.c namei.c 
resize.c super.c symlink.c xattr.c xattr_security.c xattr_trusted.c 
xattr_user.c iopen.c iopen.h extents.c mballoc.c group.h fiemap.h 
ext3_fs.h ext3_fs_i.h ext3_fs_sb.h ext3_jbd.h ext3_extents.h
make[5]: Leaving directory 
`/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs'
make[5]: Entering directory `/root/lustre/kernel-lustre'

  WARNING: Symbol version dump /root/lustre/kernel-lustre/Module.symvers
           is missing; modules will have no dependencies and modversions.

/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs/iopen.c: In 
function ‘iopen_lookup’:
/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs/iopen.c:117: error: 
implicit declaration of function ‘d_rehash_cond’
/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs/iopen.c: In 
function ‘iopen_connect_dentry’:
/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs/iopen.c:166: error: 
implicit declaration of function ‘d_move_locked’
make[7]: *** 
[/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs/iopen.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7/ldiskfs] Error 2
make[5]: *** [_module_/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7] Error 2
make[5]: Leaving directory `/root/lustre/kernel-lustre'
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/lustre-ldiskfs-3.0.7'
error: Bad exit status from /var/tmp/rpm-tmp.54732 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.54732 (%build)
make[1]: *** [rpms-real] Error 1
make[1]: Leaving directory `/root/lustre/lustre-1.6.7/ldiskfs'
make: *** [rpms] Error 2

regards,

-- 
Arif Ali MBCS
HPC Software Engineer
OCF plc

Support Phone:   +44 (0)845 702 3829
Support E-mail:  support at ocf.co.uk

Please note, any emails relating to an OCF Support request must always be 
sent to support at ocf.co.uk for a ticket number to be generated or existing 
support ticket to be updated. Should this not be done then OCF cannot be 
held responsible for requests not dealt with in a timely manner.

This email is confidential in that it is intended for the exclusive 
attention of the addressee(s) indicated. If you are not the intended 
recipient, this email should not be read or disclosed to any other 
person. Please notify the sender immediately and delete this email from 
your computer system. Any opinions expressed are not necessarily those 
of the company from which this email was sent and, whilst to the best of
our knowledge no viruses or defects exist, no responsibility can be 
accepted for any loss or damage arising from its receipt or subsequent 
use of this email. 

OCF plc have been short-listed for the 2009 MicroScope ACE's for Hardware Reseller of the Year.

Please vote for us online by following this link (Voting Closes 2nd April 2009):

http://www.microscopeacesawards.co.uk/awardsnominees/2887/177




More information about the lustre-discuss mailing list