Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified #29

Open
EugeneRymarev opened this issue Nov 1, 2022 · 0 comments

Comments

@EugeneRymarev
Copy link

EugeneRymarev commented Nov 1, 2022

Hello!
After make command i receive this error

[ 10%] Linking C static library libargon2.a
[ 10%] Built target argon2
[ 10%] Building NVCC (Device) object algo/argon2/argon2d/argon2-gpu/CMakeFiles/argon2-cuda.dir/lib/argon2-cuda/argon2-cuda_generated_kernels.cu.o
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified
CMake Error at argon2-cuda_generated_kernels.cu.o.cmake:220 (message):
  Error generating
  /home/e/multiminer/build/algo/argon2/argon2d/argon2-gpu/CMakeFiles/argon2-cuda.dir/lib/argon2-cuda/./argon2-cuda_generated_kernels.cu.o


make[2]: *** [algo/argon2/argon2d/argon2-gpu/CMakeFiles/argon2-cuda.dir/build.make:65: algo/argon2/argon2d/argon2-gpu/CMakeFiles/argon2-cuda.dir/lib/argon2-cuda/argon2-cuda_generated_kernels.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:247: algo/argon2/argon2d/argon2-gpu/CMakeFiles/argon2-cuda.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

gcc version

$ gcc --version
gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0

Ubuntu 20.04, cuda 11.6

What should be done to fix this error? What information is needed for diagnosis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant