should work now.
The line containing the definition of haval and sha512 was removed by mistake from the makefile when I edited the makefile to put keccak... (not sure how, might I have removed 2 lines instead of one by mistake... difficult to spot that one)
getting closer:
g++ -g -O2 -pthread -L/opt/cuda/lib64 -o ccminer ccminer-cpu-miner.o ccminer-util.o ccminer-bmw.o ccminer-blake.o ccminer-groestl.o ccminer-jh.o ccminer-keccak.o ccminer-skein.o ccminer-hefty1.o ccminer-scrypt.o ccminer-sha2.o heavy/heavy.o heavy/cuda_blake512.o heavy/cuda_combine.o heavy/cuda_groestl512.o heavy/cuda_hefty1.o heavy/cuda_keccak512.o heavy/cuda_sha256.o ccminer-fuguecoin.o cuda_fugue256.o ccminer-fugue.o ccminer-groestlcoin.o cuda_groestlcoin.o ccminer-myriadgroestl.o cuda_myriadgroestl.o JHA/jackpotcoin.o JHA/cuda_jha_keccak512.o JHA/cuda_jha_compactionTest.o quark/cuda_quark_checkhash.o quark/cuda_jh512.o quark/cuda_quark_blake512.o quark/cuda_quark_groestl512.o quark/cuda_skein512.o quark/cuda_bmw512.o quark/cuda_quark_keccak512.o quark/quarkcoin.o quark/animecoin.o quark/cuda_quark_compactionTest.o cuda_nist5.o ccminer-cubehash.o ccminer-echo.o ccminer-luffa.o ccminer-shavite.o ccminer-simd.o ccminer-hamsi.o ccminer-hamsi_helper.o ccminer-shabal.o ccminer-whirlpool.o ccminer-haval.o ccminer-sha2big.o qubit/qubit.o qubit/qubit_luffa512.o x13/x14.o x13/fresh.o x13/x17.o x13/x13.o x13/cuda_x13_hamsi512.o x13/cuda_x13_fugue512.o x13/x15.o x13/cuda_shabal512.o x13/cuda_whirlpool512.o x13/whirlcoin.o Algo256/cuda_keccak256.o Algo256/keccak256.o x11/x11.o x11/cuda_x11_luffa512.o x11/cuda_x11_cubehash512.o x11/cuda_x11_shavite512.o x11/cuda_x11_simd512.o x11/cuda_x11_echo.o -lcurl -lssl -lcrypto -lssl -lcrypto -lz -ljansson -lpthread -lcudart -fopenmp -lcrypto -lssl -lcrypto -lssl
x13/x17.o: In function `scanhash_x17':
tmpxft_000065d6_00000000-6_x17.compute_30.cudafe1.cpp:(.text+0x582): undefined reference to `sha512_cpu_hash_64(int, int, unsigned int, unsigned int*, unsigned int*, int)'
tmpxft_000065d6_00000000-6_x17.compute_30.cudafe1.cpp:(.text+0x5a1): undefined reference to `haval256_cpu_hash_64(int, int, unsigned int, unsigned int*, unsigned int*, int)'
tmpxft_000065d6_00000000-6_x17.compute_30.cudafe1.cpp:(.text+0x79e): undefined reference to `sha512_cpu_init(int, int)'
tmpxft_000065d6_00000000-6_x17.compute_30.cudafe1.cpp:(.text+0x7aa): undefined reference to `haval256_cpu_init(int, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [ccminer] Error 1
make[2]: Leaving directory `/home/skunk/bitcoin/ccminer-djm34'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/skunk/bitcoin/ccminer-djm34'
make: *** [all] Error 2
done... now at some point you might want to check what could be wrong in the makefile between the last working x17 version and this one...