make can't find jansson Po files
Using Mac OS 10.8.
make all-recursive
Making all in compat
Making all in jansson
Makefile:254: .deps/dump.Po: No such file or directory
Makefile:255: .deps/hashtable.Po: No such file or directory
Makefile:256: .deps/load.Po: No such file or directory
Makefile:257: .deps/strbuffer.Po: No such file or directory
Makefile:258: .deps/utf.Po: No such file or directory
Makefile:259: .deps/value.Po: No such file or directory
make[3]: *** No rule to make target `.deps/value.Po'. Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
After the most recent commit, make is failing for me too.
test_kernel.cu(90): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(90): error: no suitable conversion function from "uint4" to "unsigned int" exists
test_kernel.cu(91): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(91): error: no suitable conversion function from "uint4" to "unsigned int" exists
test_kernel.cu(92): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(92): error: no suitable conversion function from "uint4" to "unsigned int" exists
test_kernel.cu(93): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(93): error: no suitable conversion function from "uint4" to "unsigned int" exists
test_kernel.cu(155): error: identifier "__ldg" is undefined
test_kernel.cu(191): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(191): error: no operator "*" matches these operands
operand types are: int * uint4
test_kernel.cu(191): error: identifier "__ldg" is undefined
test_kernel.cu(192): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(192): error: no operator "*" matches these operands
operand types are: int * uint4
test_kernel.cu(193): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(193): error: no operator "*" matches these operands
operand types are: int * uint4
test_kernel.cu(194): error: no suitable constructor exists to convert from "int" to "uint4"
test_kernel.cu(194): error: no operator "*" matches these operands
operand types are: int * uint4
test_kernel.cu(244): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(245): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(246): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(247): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(250): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(251): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(252): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(253): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(256): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(257): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(258): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(259): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(262): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(263): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(264): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(265): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(268): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(269): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(270): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(271): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(274): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(275): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(276): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(277): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(280): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(281): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(282): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(283): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(286): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(287): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(288): error: identifier "__funnelshift_l" is undefined
test_kernel.cu(289): error: identifier "__funnelshift_l" is undefined
50 errors detected in the compilation of "/tmp/tmpxft_00005ff2_00000000-6_test_kernel.cpp1.ii".
make[2]: *** [test_kernel.o] Error 2
make[2]: Leaving directory `/home/ec2-user/CudaMiner'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ec2-user/CudaMiner'
make: *** [all] Error 2
I changed Makefile.am to change the compute model for test_kernel.cu to compute 3.5. To propagate through to Makefile, you have to run autogen.sh (or the commands contained therein)
aclocal && autoheader && automake --add-missing --gnu --copy && autoconf
2013/12/1 Paul Brown [email protected]
After the most recent commit, make is failing for me too.
test_kernel.cu(90): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(90): error: no suitable conversion function from "uint4" to "unsigned int" exists test_kernel.cu(91): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(91): error: no suitable conversion function from "uint4" to "unsigned int" exists test_kernel.cu(92): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(92): error: no suitable conversion function from "uint4" to "unsigned int" exists test_kernel.cu(93): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(93): error: no suitable conversion function from "uint4" to "unsigned int" exists test_kernel.cu(155): error: identifier "__ldg" is undefined test_kernel.cu(191): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(191): error: no operator "" matches these operands operand types are: int * uint4 test_kernel.cu(191): error: identifier "__ldg" is undefined test_kernel.cu(192): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(192): error: no operator "" matches these operands operand types are: int * uint4 test_kernel.cu(193): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(193): error: no operator "" matches these operands operand types are: int * uint4 test_kernel.cu(194): error: no suitable constructor exists to convert from "int" to "uint4" test_kernel.cu(194): error: no operator "" matches these operands operand types are: int * uint4 test_kernel.cu(244): error: identifier "__funnelshift_l" is undefined test_kernel.cu(245): error: identifier "__funnelshift_l" is undefined test_kernel.cu(246): error: identifier "__funnelshift_l" is undefined test_kernel.cu(247): error: identifier "__funnelshift_l" is undefined test_kernel.cu(250): error: identifier "__funnelshift_l" is undefined test_kernel.cu(251): error: identifier "__funnelshift_l" is undefined test_kernel.cu(252): error: identifier "__funnelshift_l" is undefined test_kernel.cu(253): error: identifier "__funnelshift_l" is undefined test_kernel.cu(256): error: identifier "__funnelshift_l" is undefined test_kernel.cu(257): error: identifier "__funnelshift_l" is undefined test_kernel.cu(258): error: identifier "__funnelshift_l" is undefined test_kernel.cu(259): error: identifier "__funnelshift_l" is undefined test_kernel.cu(262): error: identifier "__funnelshift_l" is undefined test_kernel.cu(263): error: identifier "__funnelshift_l" is undefined test_kernel.cu(264): error: identifier "__funnelshift_l" is undefined test_kernel.cu(265): error: identifier "__funnelshift_l" is undefined test_kernel.cu(268): error: identifier "__funnelshift_l" is undefined test_kernel.cu(269): error: identifier "__funnelshift_l" is undefined test_kernel.cu(270): error: identifier "__funnelshift_l" is undefined test_kernel.cu(271): error: identifier "__funnelshift_l" is undefined test_kernel.cu(274): error: identifier "__funnelshift_l" is undefined test_kernel.cu(275): error: identifier "__funnelshift_l" is undefined test_kernel.cu(276): error: identifier "__funnelshift_l" is undefined test_kernel.cu(277): error: identifier "__funnelshift_l" is undefined test_kernel.cu(280): error: identifier "__funnelshift_l" is undefined test_kernel.cu(281): error: identifier "__funnelshift_l" is undefined test_kernel.cu(282): error: identifier "__funnelshift_l" is undefined test_kernel.cu(283): error: identifier "__funnelshift_l" is undefined test_kernel.cu(286): error: identifier "__funnelshift_l" is undefined test_kernel.cu(287): error: identifier "__funnelshift_l" is undefined test_kernel.cu(288): error: identifier "__funnelshift_l" is undefined test_kernel.cu(289): error: identifier "__funnelshift_l" is undefined
50 errors detected in the compilation of "/tmp/tmpxft_00005ff2_00000000-6_test_kernel.cpp1.ii". make[2]: *** [test_kernel.o] Error 2 make[2]: Leaving directory
/home/ec2-user/CudaMiner' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/ec2-user/CudaMiner' make: *** [all] Error 2— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/28#issuecomment-29569549 .
Any resolution for the original jansson missing .Po files?
Okay, when I cloned the git repo instead of downloading the sourceball the jansson error went away but was replaced with a missing omp.h
g++ -DHAVE_CONFIG_H -I. -msse2 -I/opt/local/include -pthread -fno-strict-aliasing -I./compat/jansson -g -O2 -MT cudaminer-scrypt.o -MD -MP -MF .deps/cudaminer-scrypt.Tpo -c -o cudaminer-scrypt.o test -f 'scrypt.cpp' || echo './'scrypt.cpp scrypt.cpp:34:10: fatal error: 'omp.h' file not found #include <omp.h> ^ 1 error generated. make[2]: *** [cudaminer-scrypt.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I'm at the same page with compilation.
g++ -DHAVE_CONFIG_H -I. -msse2 -pthread -fno-strict-aliasing -I./compat/jansson -g -O2 -MT cudaminer-scrypt.o -MD -MP -MF .deps/cudaminer-scrypt.Tpo -c -o cudaminer-scrypt.o test -f 'scrypt.cpp' || echo './'scrypt.cpp
scrypt.cpp:34:10: fatal error: 'omp.h' file not found
#include <omp.h>
^
1 error generated.
make[2]: *** [cudaminer-scrypt.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Did you have luck with it ?
Seeing the same problem running make. I'm on mac os.
scrypt.cpp:34:10: fatal error: 'omp.h' file not found #include <omp.h> ^ 1 error generated. make[2]: *** [cudaminer-scrypt.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
you need a compiler with OpenMP support, e.g. gcc
2014/1/18 Russell Thomason [email protected]
Seeing the same problem running make. I'm on mac os.
scrypt.cpp:34:10: fatal error: 'omp.h' file not found #include ^ 1 error generated. make[2]: *** [cudaminer-scrypt.o] Error 1
make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/28#issuecomment-32669521 .
@cbuchner1 I've been trying to compile on OS X myself and am having the same issue as @rthomason;
scrypt.cpp:34:10: fatal error: 'omp.h' file not found
I've gone so far as to compile and install the newest version of GCC so it definitely has OpenMP support; no problem there. Is there an option that I should be passing to configure that I'm missing?