cbuchner1 / CudaMiner

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

Make fails on ec2 instance with GRID K520 #73

Closed malford closed 10 years ago

malford commented 10 years ago

Not sure if it is known already I am not able to build the most recent commit. and get this error:

g++  -g -O2 -pthread -L/usr/local/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 -L/usr/lib/x86_64-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro compat/jansson/libjansson.a -lpthread  -lcudart -fopenmp
salsa_kernel.o: In function `validate_config(char*, int&, int&, KernelInterface**, cudaDeviceProp*)':
/home/ubuntu/CudaMiner/salsa_kernel.cu:131: undefined reference to `NV2Kernel::NV2Kernel()'
/home/ubuntu/CudaMiner/salsa_kernel.cu:130: undefined reference to `NVKernel::NVKernel()'
salsa_kernel.o: In function `find_optimal_blockcount(int, KernelInterface*&, bool&, int&)':
/home/ubuntu/CudaMiner/salsa_kernel.cu:346: undefined reference to `NV2Kernel::NV2Kernel()'
/home/ubuntu/CudaMiner/salsa_kernel.cu:344: undefined reference to `NVKernel::NVKernel()'
collect2: ld returned 1 exit status
make[2]: *** [cudaminer] Error 1
make[2]: Leaving directory `/home/ubuntu/CudaMiner'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/CudaMiner'
make: *** [all] Error 2

I can though build from this commit with out trouble: fba1561

oholiab commented 10 years ago

+1 on this, building on Ubuntu 13.10 and I get the same error

oholiab commented 10 years ago

Build is successful on 142261bb89144364873ab4c70772a96d16647966 (HEAD~3 at this point)

techdragon commented 10 years ago

Something in the commits after https://github.com/cbuchner1/CudaMiner/commit/142261bb89144364873ab4c70772a96d16647966 breaks this again as I had to roll back my repo after cloning from master and attempting to run the code.

zerowind168 commented 10 years ago

Anyone has a solution to this error?

cbuchner1 commented 10 years ago

Is everyone running ./autogen.sh before configure ?

2014/1/24 zerowind168 notifications@github.com

Anyone has a solution to this error?

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

cadwallion commented 10 years ago

I had this same problem, and running ./autogen.sh before ./configure fixed this for me (after running apt-get install automake).

zerowind168 commented 10 years ago

YES, THANK YOU. I have noted the authors notation.

On Thursday, January 30, 2014 4:20 AM, Andrew Nordman notifications@github.com wrote:

I had this same problem, and running ./autogen.sh before ./configure fixed this for me (after running apt-get install automake). — Reply to this email directly or view it on GitHub.

minasami commented 9 years ago

when i ./autogen.sh it gives me this error autom4te: cannot open autom4te.cache/requests: Permission denied aclocal: autom4te failed with exit status: 1