I'm having a bit of trouble getting an application using the PVFS2 static
library to link with it on x86_64 machines.

 

/usr/bin/ld: /usr/lib64/libpvfs2.a(errno-mapping.o): relocation R_X86_64_32S
against `PINT_errno_mapping' can not be used when making a shared object;
recompile with -fPIC 

/usr/lib64/libpvfs2.a: could not read symbols: Bad value

 

 

I don't know if this is the preferred way for the fpic settings, but
attached is a patch just adding fPIC to all the objects compiles. 

 

 

 

Attachment: fpic.patch
Description: Binary data

_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to