[ofa-general] dapl compilation fails on Fedora 9
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Tue Jun 17 01:10:34 PDT 2008
Hello Arlin,
I got the following dapl compilation errors on Fedora 9:
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 -DDAT_EXTENSIONS
-I./dat/include/ -I./dat/udat/ -I./dat/udat/linux -I./dat/common/ -g -O2 -MT dat_udat_libdat2_la-dat_strerror.lo -MD -MP -MF .deps/dat_udat_libdat2_la-dat_strerror.Tpo -c dat/common/dat_strerror.c
-fPIC -DPIC -o .libs/dat_udat_libdat2_la-dat_strerror.o
dat/common/dat_strerror.c: In function 'dat_strerror':
dat/common/dat_strerror.c:621: error: 'NULL' undeclared (first use in this function)
dat/common/dat_strerror.c:621: error: (Each undeclared identifier is reported only once
dat/common/dat_strerror.c:621: error: for each function it appears in.)
make[3]: Leaving directory `/tmp/ofa_1_4_dev_user-20080617-1038_check/src/userspace/dapl'
Making all in test/dtest
make[3]: *** [dat_udat_libdat2_la-dat_strerror.lo] Error 1
...
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I include -I mdep/linux -I ./../../dat/include -I../libibverbs/include/infiniband -I../librdmacm/include -I../libibverbs/include -I../../dat/include
-DDAT_EXTENSIONS -g -O2 -MT dapltest-dapl_netaddr.o -MD -MP -MF ".deps/dapltest-dapl_netaddr.Tpo" -c -o dapltest-dapl_netaddr.o `test -f 'cmd/dapl_netaddr.c' || echo './'`cmd/dapl_netaddr.c; \
then mv -f ".deps/dapltest-dapl_netaddr.Tpo" ".deps/dapltest-dapl_netaddr.Po"; else rm -f ".deps/dapltest-dapl_netaddr.Tpo"; exit 1; fi
cmd/dapl_netaddr.c: In function ×’DT_NetAddrLookupHostAddress×’:
cmd/dapl_netaddr.c:94: error: EAI_ADDRFAMILY undeclared (first use in this function)
cmd/dapl_netaddr.c:94: error: (Each undeclared identifier is reported only once
cmd/dapl_netaddr.c:94: error: for each function it appears in.)
cmd/dapl_netaddr.c:99: error: EAI_NODATA undeclared (first use in this function)
make[3]: Leaving directory `/tmp/ofa_1_4_dev_user-20080617-1038_check/src/userspace/dapl/test/dapltest'
make[3]: *** [dapltest-dapl_netaddr.o] Error 1
make[2]: Leaving directory `/tmp/ofa_1_4_dev_user-20080617-1038_check/src/userspace/dapl'
make[1]: Leaving directory `/tmp/ofa_1_4_dev_user-20080617-1038_check/src/userspace/dapl'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
Regards,
Vladimir
More information about the general
mailing list