Closed ThePeach closed 10 years ago
try running autogen.sh, then configure, and it should build fine.
On Mon, Jan 27, 2014 at 11:40 AM, Matteo Pescarin notifications@github.comwrote:
I've just pulled from master and I've got this error while running make:
... g++ -g -O2 -pthread -L/opt/cuda/lib64 -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o cudaminer-sha2.o cudaminer-scrypt.o cudaminer-scrypt-jane.o salsa_kernel.o spinlock_kernel.o legacy_kernel.o fermi_kernel.o kepler_kernel.o test_kernel.o titan_kernel.o -lcurl -lidn -lssl -lcrypto -lssl -lcrypto -lz -ljansson -lpthread -lcudart -fopenmp cudaminer-cpu-miner.o: In function
parse_arg': /opt/CudaMiner/cpu-miner.c:1298: undefined reference to
cuda_finddevice' cudaminer-scrypt-jane.o: In functionscanhash_scrypt_jane': /opt/CudaMiner/scrypt-jane.cpp:502: undefined reference to
pre_keccak512' /opt/CudaMiner/scrypt-jane.cpp:531: undefined reference topre_keccak512' /opt/CudaMiner/scrypt-jane.cpp:582: undefined reference to
post_keccak512' /opt/CudaMiner/scrypt-jane.cpp:475: undefined reference toprepare_keccak512' collect2: error: ld returned 1 exit status make[2]: *** [cudaminer] Error 1 make[2]: Leaving directory
/opt/CudaMiner' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/opt/CudaMiner' make: * [all] Error 2— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/81 .
wow! That did the trick. Maybe these steps could end up in the README for Linux users. Thank you!
I've just pulled from master and I've got this error while running make: