Scott, Thanks for your information.
I tried to build Topspin uDAPL under my environment, but the makefile located in top directory need to include "vars.mk" and "rules.mk" under the directory "../../../make". I am wondering this dapl package cannot be built by itself and parent source code tree is needed to have these make configuration files. Could you kindly show me the way to build Topspin uDAPL ? "Scott Weitzenkamp \(sweitzen\)" <[EMAIL PROTECTED]> 2007/09/12 00:48 To Shingo Nagai/Japan/[EMAIL PROTECTED], <[email protected]> cc Subject RE: [ofa-general] DAPL Package Build Error on PPC64 Arch You are hitting https://bugs.openfabrics.org/show_bug.cgi?id=48. Scott Weitzenkamp SQA and Release Manager Server Virtualization Business Unit Cisco Systems > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 5:28 AM > To: [email protected] > Subject: [ofa-general] DAPL Package Build Error on PPC64 Arch > > I am trying to build OFED with enabling DAPL package, but > build proceess did not complete due to some errors. > > I just unzipped tar ball "OFED-1.2.tgz" and run build script > "build.sh". > Because I need to enable uDAPL on ppc64 linux machine, if > someone has already succeeded it, please show me the way. > > My build environment and error messages are below. It seems > the definition of "__PPC64__" is missing. > > [ build environment ] > > - machine arch: ppc64 > - OS : Fedora Core6 > - compiler: gcc4.1.1 > > [ error messages in build.log ] > > Make dapl started > make -C src/userspace/dapl \ > CPPFLAGS="-I../libibverbs/include/infiniband > -I../librdmacm/include \ > -I../libibverbs/include -I../../dat/include" \ > > AM_LDFLAGS="-L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspac e/libibverbs/src -libverbs -> L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/librdmacm/s > rc/ -lrdmacm" > make[1]: Entering directory > `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/dapl' > make all-recursive > make[2]: Entering directory > `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/dapl' > Making all in . > make[3]: Entering directory > `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/dapl' > if /bin/sh ./libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I. -I. > -I../libibverbs/include/infiniband -I../librdmacm/include > -I../libibverbs/include -I../../dat/include -Wall -g > -D_GNU_SOURCE -DOS_RELEASE=131078 -DOPENIB -DCQ_WAIT_OBJECT > -I./dat/include/ -I./dapl/include/ -I./dapl/common > -I./dapl/udapl/linux -I./dapl/openib_cma -m32 -g -O2 > -L/usr/lib -MT dapl_udapl_libdaplcma_la-dapl_init.lo -MD -MP > -MF ".deps/dapl_udapl_libdaplcma_la-dapl_init.Tpo" -c -o > dapl_udapl_libdaplcma_la-dapl_init.lo `test -f > 'dapl/udapl/dapl_init.c' || echo './'`dapl/udapl/dapl_init.c; \ > then mv -f > ".deps/dapl_udapl_libdaplcma_la-dapl_init.Tpo" > ".deps/dapl_udapl_libdaplcma_la-dapl_init.Plo"; else rm -f > ".deps/dapl_udapl_libdaplcma_la-dapl_init.Tpo"; exit 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I. > -I../libibverbs/include/infiniband -I../librdmacm/include > -I../libibverbs/include -I../../dat/include -Wall -g > -D_GNU_SOURCE -DOS_RELEASE=131078 -DOPENIB -DCQ_WAIT_OBJECT > -I./dat/include/ -I./dapl/include/ -I./dapl/common > -I./dapl/udapl/linux -I./dapl/openib_cma -m32 -g -O2 > -L/usr/lib -MT dapl_udapl_libdaplcma_la-dapl_init.lo -MD -MP > -MF .deps/dapl_udapl_libdaplcma_la-dapl_init.Tpo -c > dapl/udapl/dapl_init.c -fPIC -DPIC -o > .libs/dapl_udapl_libdaplcma_la-dapl_init.o > In file included from ./dapl/include/dapl.h:50, > from dapl/udapl/dapl_init.c:39: > ./dapl/udapl/linux/dapl_osd.h:53:2: error: #error UNDEFINED ARCH > make[3]: *** [dapl_udapl_libdaplcma_la-dapl_init.lo] Error 1 > make[3]: Leaving directory > `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/dapl' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/dapl' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/dapl' > make: *** [dapl] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.33577 (%install) > > > RPM build errors: > user vlad does not exist - using root > group vlad does not exist - using root > user vlad does not exist - using root > group vlad does not exist - using root > Bad exit status from /var/tmp/rpm-tmp.33577 (%install) > ERROR: Failed executing "rpmbuild --rebuild --define '_topdir > /var/tmp/OFEDRPM' --define '_prefix /usr' --define > 'build_root /home/testuser/tmp/OFED' --define > 'configure_options --with-dapl --with-ipoibtools > --with-libcxgb3 --with-libehca --with-libibcm > --with-libibcommon --with-libibmad --with-libibumad > --with-libibverbs --with-libipathverbs --with-libmthca > --with-opensm --with-librdmacm --with-libsdp > --with-openib-diags --with-sdpnetstat --with-srptools > --with-perftest --sysconfdir=/etc --mandir=/usr/share/man' > --define 'configure_options32 --with-dapl --with-ipoibtools > --with-libcxgb3 --with-libehca --with-libibcm > --with-libibcommon --with-libibmad --with-libibumad > --with-libibverbs --with-libipathverbs --with-libmthca > --with-opensm --with-librdmacm --with-libsdp > --with-openib-diags --with-sdpnetstat --with-srptools > --with-mstflint --with-tvflash --sysconfdir=/etc > --mandir=/usr/share/man' --define 'build_32bit 1' --define > '_mandir /usr/share/man' /home/testuser/archives/OFED-1.2/SRPMS/ofa_user-1.2-0.src.rpm" > > > -- > This message was sent on behalf of [EMAIL PROTECTED] at > openSubscriber.com > http://www.opensubscriber.com/messages/[EMAIL PROTECTED] > cs.org/topic.html > _______________________________________________ > general mailing list > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general > > To unsubscribe, please visit > http://openib.org/mailman/listinfo/openib-general >
_______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
