[Neurodebian-devel] Compile error for fsl-5.0-core with gpu
Parzer, Peter
Peter.Parzer at med.uni-heidelberg.de
Wed Dec 7 14:47:43 UTC 2016
Hi,
I tried to compile the package fsl-5.0-core with CUDA enabled, but it fails with an error, that does not make sense to me:
/usr/bin/nvcc --shared --compiler-options '-fPIC' -o CUDA/libbedpostx_cuda.so CUDA/init_gpu.cu CUDA/samples.cu CUDA/diffmodels.cu CUDA/runmcmc.cu CUDA/xfibres_gpu.cu -O3 -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -lcudart -lcuda -lcurand -I. -L/usr/lib64 -L/usr/lib -ICUDA/options -I/usr/include/thrust -I/srv/src/fslbuild/fsl-5.0.9/extras/include/newmat -I/srv/src/fslbuild/fsl-5.0.9/include -I/srv/src/fslbuild/fsl-5.0.9/extras/include/boost -maxrregcount=64 -DBOOST_NOINLINE='__attribute__ ((noinline))'
ptxas warning : Too big maxrregcount value specified 64, will be ignored
ptxas warning : Too big maxrregcount value specified 64, will be ignored
/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;
The function memcpy is of course declared in /usr/lib/string.h, so I have no clue what is going on. Has someone an idea how I can fix this?
Peter
More information about the Neurodebian-devel
mailing list