[Pvfs2-users] pvfs-2.6.0 compilation with IBGD

Vikrant Kumar vsk at fluent.co.in
Wed Dec 6 05:05:18 EST 2006


Thanks a lot Pete! The patch worked for us.


Pete Wyckoff wrote:
> vsk at fluent.co.in wrote on Fri, 01 Dec 2006 18:21 +0530:
>   
>> Im running into a compilation problem as below. Is there any known 
>> compatibility issue in pvfs-2.6.0 and IBGD?
>>
>> kernel : 2.6.5-7.244-smp running on SLES 9 x86_64
>> IBGD-1.8.2-rc3-srpt
>>
>> $ ./configure --prefix=/opt/pvfs2 \
>> --with-kernel=/usr/src/linux-2.6.5-7.244 \
>> --disable-kernel-aio \
>> --enable-mmap-racache \
>> --with-ib=/usr/ibgd/driver/infinihost \
>> --with-ib-includes=/usr/ibgd/driver/infinihost/include \
>> --with-ib-libs=/usr/ibgd/driver/infinihost/lib64
>> $ make
>> : undefined reference to `VAPI_create_qp'
>> /home/packages/sources/pvfs-2.6.0/lib/libpvfs2-threaded.a(vapi-threaded.o)(.text+0x8e1): 
>> In function `vapi_wc_status_string':
>> : undefined reference to `VAPI_wc_status_sym'
>> collect2: ld returned 1 exit status
>> make: *** [src/apps/kernel/linux/pvfs2-client-core-threaded] Error 1
>>     
>
> The threaded build was missing interface-specific libraries in the
> vapi case.  Here's a patch to the top-level Makefile.in.  Let us
> know if you have any other problems.
>
> 		-- Pete
>
> Index: Makefile.in
> ===================================================================
> RCS file: /projects/cvsroot/pvfs2/Makefile.in,v
> retrieving revision 1.229
> retrieving revision 1.230
> diff -u -p -r1.229 -r1.230
> --- Makefile.in	29 Nov 2006 22:06:27 -0000	1.229
> +++ Makefile.in	1 Dec 2006 14:58:43 -0000	1.230
> @@ -303,6 +303,7 @@ ifdef BUILD_IB
>      IBLIBS := -L at IB_LIBDIR@ \
>  	      -lvapi -lmtl_common -lmosal -lmpga -lpthread -ldl
>      LIBS += $(IBLIBS)
> +    LIBS_THREADED += $(IBLIBS)
>      SERVERLIBS += $(IBLIBS)
>  endif
>  
>
>   



More information about the Pvfs2-users mailing list