cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
692 stars 304 forks source link

make can't find jansson Po files #28

Open Kudu opened 10 years ago

Kudu commented 10 years ago

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
pawl commented 10 years ago

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
cbuchner1 commented 10 years ago

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 notifications@github.com

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" testkernel.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" testkernel.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" testkernel.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" testkernel.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 .

LMariachi commented 10 years ago

Any resolution for the original jansson missing .Po files?

LMariachi commented 10 years ago

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.otest -f 'scrypt.cpp' || echo './'`scrypt.cpp 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`

prediction-labs commented 10 years ago

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

     ^

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 ?

rthomason commented 10 years ago

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

cbuchner1 commented 10 years ago

you need a compiler with OpenMP support, e.g. gcc

2014/1/18 Russell Thomason notifications@github.com

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 .

elb101 commented 10 years ago

@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?