[openib-general] openMPI for 2.6.17.10 kernel
david elsen
elsen_david at yahoo.com
Fri Dec 1 14:40:04 PST 2006
Steve,
I added
#include <stddef.h>
in amso.h file, then I can compile it.
David
david elsen <elsen_david at yahoo.com> wrote: Hi Steve,
I am trying to use the https://openib.org/svn/gen2/branches/iwarp/tags/iwarp-2.6.17-stable
for the Ammasso card.
While compiling the libamso library, I got the following error:
make all-am
make[1]: Entering directory `/usr/src/gen2/branches/iwarp/userspace/libamso'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -D_GNU_SOURCE -g -O2 -MT src_amso_la-cq.lo -MD -MP -MF ".deps/src_amso_la-cq.Tpo" -c -o src_amso_la-cq.lo `test -f 'src/cq.c' || echo './'`src/cq.c; \
then mv -f ".deps/src_amso_la-cq.Tpo" ".deps/src_amso_la-cq.Plo"; else rm -f ".deps/src_amso_la-cq.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -D_GNU_SOURCE -g -O2 -MT src_amso_la-cq.lo -MD -MP -MF .deps/src_amso_la-cq.Tpo -c src/cq.c -fPIC -DPIC -o .libs/src_amso_la-cq.o
In file included from src/cq.c:42:
src/amso.h: In function 'to_amso_dev':
src/amso.h:83: warning: implicit declaration of function 'offsetof'
src/amso.h:83: error: expected expression before 'struct'
src/amso.h: In function 'to_amso_ctx':
src/amso.h:88: error: expected expression before 'struct'
src/amso.h: In function 'to_amso_pd':
src/amso.h:93: error: expected expression before 'struct'
src/amso.h: In function 'to_amso_cq':
src/amso.h:98: error: expected expression before 'struct'
src/amso.h: In function 'to_amso_qp':
src/amso.h:103: error: expected expression before 'struct'
make[1]: *** [src_amso_la-cq.lo] Error 1
make[1]: Leaving directory `/usr/src/gen2/branches/iwarp/userspace/libamso'
make: *** [all] Error 2
which seems to be complaining something in amso.h file in the following lins:
#define to_amso_xxx(xxx, type) \
((struct amso_##type *) \
((void *) ib##xxx - offsetof(struct amso_##type, ibv_##xxx)))
Can you let me know if I am missing something?
Thanks,
David
Steve Wise <swise at opengridcomputing.com> wrote:
On Fri, 2006-12-01 at 12:50 -0800, david elsen wrote:
> Steve,
>
> Is this https://openfabrics.org/svn/gen2/branches/iwarp/ the iWARP
> stable branch?
>
> I do not get some of library (librdmacm) gets created to be used by
> mvapich2-0.9.8 on the Fedora 6 distribution with 2.6.17.13 kernel.
>
> David
>
The stable release of the iWARP branch is here:
https://openib.org/svn/gen2/branches/iwarp/tags/iwarp-2.6.17-stable
Instructions on setting this up with Chelsio's T3 device are here:
https://openib.org/tiki/tiki-index.php?page=Install+OpenIB+for+Chelsio+T3
Steve.
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta._______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20061201/1c23114d/attachment.html>
More information about the general
mailing list