I am getting an error when trying to compile lustre. The error is: /root/lustre-1.4.6.4/lustre/ldiskfs/namei.c: In function ?ldiskfs_new_inode_wantedi?: /root/lustre-1.4.6.4/lustre/ldiskfs/namei.c:1648: error: dereferencing pointer to incomplete type Is there any way to solve this?
On Sep 03, 2006 21:13 -0400, Brian Taber wrote:> I am getting an error when trying to compile lustre. The error is: > > /root/lustre-1.4.6.4/lustre/ldiskfs/namei.c: In function > ?ldiskfs_new_inode_wantedi?: > /root/lustre-1.4.6.4/lustre/ldiskfs/namei.c:1648: error: dereferencing > pointer to incomplete typeCould you please be more specific about what is on this line? Since the ldiskfs code is just your kernel''s ext3 + patches, it really depends on what your kernel is. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
On Sep 06, 2006 08:45 -0400, Brian Taber wrote:> Sorry for the little information... I am using CentOS 4.4 (RHEL 4.4) > kernel version kernel-2.6.9 with all security updates applied (yum > update). I got it from kernel-2.6.9-42.0.2.EL.src.rpm, installed it, > applied patches (rpmbuild -bp), and did a manual make. I movet it to > /root/kernel/kernel-2.6.9/linux-2.6.9. I then did a configure of lustre > with ./configure --with-linux=/root/kernel/kernel-2.6.9/linux-2.6.9, the > make and that error appears. I downloaded lustre 1.4.6.4.Can you give a snippet of the source file at namei.c:1648 that is generating this error? Note that 1.4.7 is released and it has support for the 2.6.9-42.EL kernel, and 1.4.7.1 will have support for 2.6.9-42.0.2.EL (out this week).> > On Sep 03, 2006 21:13 -0400, Brian Taber wrote: > >> I am getting an error when trying to compile lustre. The error is: > >> > >> /root/lustre-1.4.6.4/lustre/ldiskfs/namei.c: In function > >> ?ldiskfs_new_inode_wantedi?: > >> /root/lustre-1.4.6.4/lustre/ldiskfs/namei.c:1648: error: dereferencing > >> pointer to incomplete type > > > > Could you please be more specific about what is on this line? Since the > > ldiskfs code is just your kernel''s ext3 + patches, it really depends on > > what your kernel is.Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
On Wednesday 06 September 2006 19:49, Andreas Dilger wrote:> 1.4.7.1 will have support for 2.6.9-42.0.2.EL > (out this week). >Uh. Random unrelated question: will it include the infiniband kernel modules like the upstream kernels? For whatever reason, they don''t seem to be in your 1.4.7 / 2.6.9-42 release, but were built in your 1.4.6 releases AFAIK. There are a range of reasons I can imagine why you mightn''t want to (big customer preferring different IB stack version, say, or unwillingness to certify Lustre-filesystem-comms-over-those-particular-IB-modules production ready*, or something), on the other hand could just be an oversight. Best Regards, David Golden * In our case, we do use Lustre fs and do use IB, just not Lustre fs over IB...