CudaMiner icon indicating copy to clipboard operation
CudaMiner copied to clipboard

NVCC error in FreeBSD with all linux/compat prerequisites met

Open kreynolds opened this issue 12 years ago • 2 comments

kreynolds avatar Nov 30 '13 21:11 kreynolds

nvcc -g -O2 -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -o salsa_kernel.o -c salsa_kernel.cu In file included from /usr/include/sys/_types.h:33, from /usr/include/sys/endian.h:33, from miner.h:96, from salsa_kernel.cu:29: /usr/include/machine/_types.h:43:2: error: #error this file needs sys/cdefs.h as a prerequisite

kreynolds avatar Nov 30 '13 21:11 kreynolds

FreeBSD is not Linux. I have never tested on FreeBSD. I think you may be on your own. ;)

Christian

2013/11/30 Kelley Reynolds [email protected]

nvcc -g -O2 -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -o salsa_kernel.o -c salsa_kernel.cu In file included from /usr/include/sys/

_types.h:33, from /usr/include/sys/endian.h:33, from miner.h:96, from salsa_kernel.cu:29: /usr/include/machine/_types.h:43:2: error: #error this file needs sys/cdefs.h as a prerequisite

— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/27#issuecomment-29561346 .

cbuchner1 avatar Dec 01 '13 01:12 cbuchner1