Hi Isaac,

Thanks.  Which bugid can this be tracked with in bugster, is it 12615? 

-frank

On Sun, 2007-08-19 at 06:02 +0800, Isaac Huang wrote:
> Hi,
> 
> It's a known problem and work is in progress to fix it.
> 
> Isaac
> 
> On Sat, Aug 18, 2007 at 04:52:36PM -0500, Frank Leers wrote:
> > Has anyone been successful in building this combination, I can't seem to
> > get it to build:
> > 
> > OFED 1.2.5 GA
> > lustre 1.6.1
> > kernel 2.6.9-55 
> > 
> > 
> > ./configure --with-linux=/usr/src/linux-2.6.9-55.EL_lustre-1.6.1
> > --with-o2ib=/usr/src/openib
> > 
> > 'make rpms' is failing in lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c with
> > syntax errors.
> > 
> > 
> > thanks,
> > 
> > -frank
> > 
> > --
> > 
> > 
> > <snip>
> > CC:            gcc -m64
> > LD:            
> > CPPFLAGS:      -include $(top_builddir)/config.h -I
> > $(top_builddir)/lnet/include -I$(top_srcdir)/lnet/include -I
> > $(top_builddir)/lustre/include -I$(top_srcdir)/lustre/include 
> > LLCPPFLAGS:    -D__arch_lib__ -D_LARGEFILE64_SOURCE=1
> > CFLAGS:        -g -O2
> > EXTRA_KCFLAGS: -include /usr/src/redhat/BUILD/lustre-1.6.1/config.h  -g
> > -I/usr/src/redhat/BUILD/lustre-1.6.1/lnet/include
> > -I/usr/src/redhat/BUILD/lustre-1.6.1/lustre/include
> > LLCFLAGS:      -g -Wall -fPIC
> > 
> > Type 'make' to build Lustre.
> > + make -j 4 -s
> > make[2]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1'
> > make[3]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1'
> > Making all in ldiskfs
> > make[4]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > Making all in .
> > make[6]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > make[7]: Entering directory
> > `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs/ldiskfs'
> > Applying ext3-wantedi-2.6-rhel4
> > Applying iopen-2.6-rhel4
> > Applying export_symbols-ext3-2.6-suse
> > Applying ext3-map_inode_page-2.6-suse
> > Applying ext3-ea-in-inode-2.6-rhel4
> > Applying export-ext3-2.6-rhel4
> > Applying ext3-include-fixes-2.6-rhel4
> > Applying ext3-extents-2.6.9-rhel4
> > Applying ext3-extents-fixes-2.6.9-rhel4
> > Applying ext3-extents-multiblock-directio-2.6.9-rhel4
> > Applying ext3-extents-search-2.6.9-rhel4
> > Applying ext3-extents-sanity-checks
> > Applying ext3-mballoc3-core
> > Applying ext3-mballoc3-rhel4
> > Applying ext3-nlinks-2.6.9
> > Applying ext3-ialloc-2.6
> > Applying ext3-lookup-dotdot-2.6.9
> > Applying ext3-sector_t-overflow-2.6.9-rhel4
> > Applying ext3-check-jbd-errors-2.6.9
> > Applying ext3-uninit-2.6.9
> > Applying ext3-nanosecond-2.6-rhel4
> > Applying ext3-unlink-race
> > Applying ext3-mmp-2.6-rhel4
> > Now at patch ext3-mmp-2.6-rhel4
> > Replacing 'ext3' with 'ldiskfs': acl.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 ext3_fs.h ext3_fs_i.h
> > ext3_fs_sb.h ext3_jbd.h ext3_extents.h
> > make[7]: Leaving directory
> > `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs/ldiskfs'
> > make[7]: Entering directory `/usr/src/linux-2.6.9-55.EL_lustre-1.6.1'
> >   Building modules, stage 2.
> > make[7]: Leaving directory `/usr/src/linux-2.6.9-55.EL_lustre-1.6.1'
> > make[6]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > Making all in ldiskfs
> > make[6]: Entering directory
> > `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs/ldiskfs'
> > make[6]: Leaving directory
> > `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs/ldiskfs'
> > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > Making all in .
> > make[4]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1'
> > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1/ldiskfs'
> > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1/lnet'
> > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1/lnet'
> > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.6.1/lustre'
> > make[6]: Entering directory
> > `/usr/src/redhat/BUILD/lustre-1.6.1/lustre/lvfs'
> > make[6]: Leaving directory
> > `/usr/src/redhat/BUILD/lustre-1.6.1/lustre/lvfs'
> > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1/lustre'
> > make[5]: Entering directory `/usr/src/linux-2.6.9-55.EL_lustre-1.6.1'
> > In file included
> > from /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:24:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:330:
> > error: syntax error before "DECLARE_PCI_UNMAP_ADDR"
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:330:
> > warning: no semicolon at end of struct or union
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:333:
> > error: syntax error before '}' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:333:
> > warning: type defaults to `int' in declaration of `kib_rx_t'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:333:
> > warning: data definition has no type or storage class
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:353:
> > error: syntax error before "DECLARE_PCI_UNMAP_ADDR"
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:353:
> > warning: no semicolon at end of struct or union
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:369:
> > error: syntax error before '}' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:369:
> > warning: type defaults to `int' in declaration of `kib_tx_t'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:369:
> > warning: data definition has no type or storage class
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:400:
> > error: syntax error before "kib_rx_t"
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:400:
> > warning: no semicolon at end of struct or union
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:407:
> > error: syntax error before '}' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:407:
> > warning: type defaults to `int' in declaration of `kib_conn_t'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:407:
> > warning: data definition has no type or storage class
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:492:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:494:
> > warning: return type defaults to `int'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: In
> > function `kiblnd_get_conn_locked':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:498:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:498:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:498:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:498:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:498:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:502:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:503:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: In
> > function `kiblnd_send_keepalive':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:505:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:505:
> > error: (Each undeclared identifier is reported only once
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:505:
> > error: for each function it appears in.)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:505:
> > warning: type defaults to `int' in declaration of `__dummy2'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:505:
> > warning: comparison of distinct pointer types lacks a cast
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:510:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:511:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: In
> > function `kiblnd_abort_receives':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:512:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:547:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:548:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: In
> > function `kiblnd_set_conn_state':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:549:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:549:
> > error: `state' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:703:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:703:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:704:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:705:
> > warning: type defaults to `int' in declaration of `kiblnd_create_conn'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:705:
> > warning: data definition has no type or storage class
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:706:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:706:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:707:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:707:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:708:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:708:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:710:
> > error: syntax error before "kib_tx_t"
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:711:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:713:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:713:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:714:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:714:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:715:
> > error: syntax error before "kib_tx_t"
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:715:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:717:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:717:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:727:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.h:727:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_del_peer_locked':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:452:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:458:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:458:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:458:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:458:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:458:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:521:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:523:
> > warning: return type defaults to `int'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_get_conn_by_idx':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:526:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:527:
> > warning: ISO C90 forbids mixed declarations and code
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:548:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:548:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:548:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:548:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:548:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:562:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:563:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_debug_rx':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:564:
> > error: `rx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:570:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:571:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_debug_tx':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:572:
> > error: `tx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:582:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:583:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_debug_conn':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:587:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:598:
> > warning: left-hand operand of comma expression has no effect
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:599:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:599:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:599:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:599:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:599:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:602:
> > warning: left-hand operand of comma expression has no effect
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:603:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:603:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:603:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:603:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:603:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:606:
> > warning: left-hand operand of comma expression has no effect
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:607:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:607:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:607:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:607:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:607:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:610:
> > warning: left-hand operand of comma expression has no effect
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:611:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:611:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:611:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:611:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:611:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:614:
> > warning: left-hand operand of comma expression has no effect
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:615:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:615:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:615:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:615:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:615:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:624:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:626:
> > warning: return type defaults to `int'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_create_conn':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:634:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:635:
> > warning: ISO C90 forbids mixed declarations and code
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:695:
> > error: `rx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:721:
> > error: too few arguments to function `ib_create_cq'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: At top
> > level:
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:837:
> > error: syntax error before '*' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:838:
> > warning: function declaration isn't a prototype
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_destroy_conn':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:839:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:880:
> > error: `rx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_close_peer_conns_locked':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:916:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:917:
> > warning: ISO C90 forbids mixed declarations and code
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:922:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:922:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:922:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:922:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:922:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_close_stale_conns_locked':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:934:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:935:
> > warning: ISO C90 forbids mixed declarations and code
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:940:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:940:
> > warning: type defaults to `int' in declaration of `__mptr'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:940:
> > warning: initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:940:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:940:
> > error: syntax error before ')' token
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_ctl':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1027:
> > error: `conn' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_free_tx_descs':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1102:
> > error: `tx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1102:
> > error: invalid use of undefined type `struct kib_tx'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1102:
> > error: dereferencing pointer to incomplete type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_alloc_tx_descs':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1166:
> > error: `tx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1166:
> > error: invalid use of undefined type `struct kib_tx'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1166:
> > error: dereferencing pointer to incomplete type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_unmap_tx_descs':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1210:
> > error: `tx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1211:
> > warning: ISO C90 forbids mixed declarations and code
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1216:
> > error: invalid use of undefined type `struct kib_tx'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1216:
> > error: dereferencing pointer to incomplete type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c: In
> > function `kiblnd_map_tx_descs':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1232:
> > error: `tx' undeclared (first use in this function)
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1233:
> > warning: ISO C90 forbids mixed declarations and code
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1245:
> > error: invalid use of undefined type `struct kib_tx'
> > /usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.c:1245:
> > error: dereferencing pointer to incomplete type
> > make[9]: ***
> > [/usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd/o2iblnd.o] Error
> > 1
> > make[8]: *** [/usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds/o2iblnd]
> > Error 2
> > make[7]: *** [/usr/src/redhat/BUILD/lustre-1.6.1/lnet/klnds] Error 2
> > make[7]: *** Waiting for unfinished jobs....
> > make[6]: *** [/usr/src/redhat/BUILD/lustre-1.6.1/lnet] Error 2
> > make[6]: *** Waiting for unfinished jobs....
> > /usr/src/redhat/BUILD/lustre-1.6.1/lustre/llite/rw26.c:288: warning:
> > initialization from incompatible pointer type
> > /usr/src/redhat/BUILD/lustre-1.6.1/lustre/mds/mds_lov.c: In function
> > `mds_notify':
> > /usr/src/redhat/BUILD/lustre-1.6.1/lustre/mds/mds_lov.c:814: warning:
> > cast from pointer to integer of different size
> > make[5]: *** [_module_/usr/src/redhat/BUILD/lustre-1.6.1] Error 2
> > make[5]: Leaving directory `/usr/src/linux-2.6.9-55.EL_lustre-1.6.1'
> > make[4]: *** [modules] Error 2
> > make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.1'
> > error: Bad exit status from /var/tmp/rpm-tmp.7384 (%build)
> > 
> > 
> > RPM build errors:
> >     Bad exit status from /var/tmp/rpm-tmp.7384 (%build)
> > make[1]: *** [rpms-real] Error 1
> > make[1]: Leaving directory `/usr/src/lustre-1.6.1'
> > make: *** [rpms] Error 2
> > 
> 

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to