Randall Martin
2008-Feb-18 17:49 UTC
[Lustre-discuss] Problems building mxlnd module on lustre-1.6.4.2
I''m trying to build the mxlnd module, but there are missing header files referenced by the lustre source code. Here''s the error I''m seeing: CC [M] /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.o In file included from /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:25: /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.h:238:24: error: mxlnd_wire.h: No such file or directory /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c: In function `mxlnd_ctx_init'': /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:157: error: dereferencing pointer to incomplete type /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:158: error: dereferencing pointer to incomplete type /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:159: error: dereferencing pointer to incomplete type /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:160: error: dereferencing pointer to incomplete type /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c: In function `mxlnd_init_mx'': /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: `MXLND_MSG_MAGIC'' undeclared (first use in this function) /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: (Each undeclared identifier is reported only once /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: for each function it appears in.) Any ideas on how to get the missing files? Thanks! Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080218/bb53e42e/attachment-0002.html
Scott Atchley
2008-Feb-19 00:34 UTC
[Lustre-discuss] Problems building mxlnd module on lustre-1.6.4.2
Hi Randall, It has been fixed in CVS but not in the release tarballs. You can get the file from: http://www.myri.com/serve/bags/mxlnd_wire.h Regards, Scott On Feb 18, 2008, at 12:49 PM, Randall Martin wrote:> I?m trying to build the mxlnd module, but there are missing header > files referenced by the lustre source code. Here?s the error I?m > seeing: > > > > CC [M] /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.o > > In file included from /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/ > mxlnd.c:25: > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.h:238:24: error: > mxlnd_wire.h: No such file or directory > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c: In function > `mxlnd_ctx_init?: > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:157: error: > dereferencing pointer to incomplete type > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:158: error: > dereferencing pointer to incomplete type > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:159: error: > dereferencing pointer to incomplete type > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:160: error: > dereferencing pointer to incomplete type > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c: In function > `mxlnd_init_mx?: > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: > `MXLND_MSG_MAGIC? undeclared (first use in this function) > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: (Each > undeclared identifier is reported only once > > /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: for > each function it appears in.) > > > > Any ideas on how to get the missing files? > > > > Thanks! > > Randy > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss
Scott Atchley
2008-Feb-19 13:58 UTC
[Lustre-discuss] Problems building mxlnd module on lustre-1.6.4.2
Hi Randall, If the README fails to mention it, you need to compile MX with "-- enable-kernel-lib" in order for Lustre to compile and work. Scott On Feb 18, 2008, at 7:34 PM, Scott Atchley wrote:> Hi Randall, > > It has been fixed in CVS but not in the release tarballs. You can get > the file from: > > http://www.myri.com/serve/bags/mxlnd_wire.h > > Regards, > > Scott > > On Feb 18, 2008, at 12:49 PM, Randall Martin wrote: > >> I?m trying to build the mxlnd module, but there are missing header >> files referenced by the lustre source code. Here?s the error I?m >> seeing: >> >> >> >> CC [M] /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.o >> >> In file included from /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/ >> mxlnd.c:25: >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.h:238:24: error: >> mxlnd_wire.h: No such file or directory >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c: In function >> `mxlnd_ctx_init?: >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:157: error: >> dereferencing pointer to incomplete type >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:158: error: >> dereferencing pointer to incomplete type >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:159: error: >> dereferencing pointer to incomplete type >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:160: error: >> dereferencing pointer to incomplete type >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c: In function >> `mxlnd_init_mx?: >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: >> `MXLND_MSG_MAGIC? undeclared (first use in this function) >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: (Each >> undeclared identifier is reported only once >> >> /usr/src/lustre-1.6.4.2/lnet/klnds/mxlnd/mxlnd.c:555: error: for >> each function it appears in.) >> >> >> >> Any ideas on how to get the missing files? >> >> >> >> Thanks! >> >> Randy >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-discuss > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >