Skip to content

build error on Ubuntu 18.04 #4

Description

@unclevito2017
jojo@gorilla:~/Downloads/parcrypt-main$ make
make -j8 all
make[1]: Entering directory '/home/jojo/Downloads/parcrypt-main'
make --directory address
make --directory parcrypt_lib
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/address'
for file in base58.cpp address_hash.cpp ripemd160.cpp checksum.cpp sha256.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
make --directory gpu
make --directory logger
make --directory modules
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/parcrypt_lib'
for file in server_common.cpp brute_force_work_unit.cpp http_client.cpp work_unit_factories.cpp settings_cache.cpp work_unit_manager.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
make --directory platform
make --directory secp256k1
make --directory util
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/logger'
for file in logger.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/platform'
for file in console_handler.cpp platform.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/secp256k1'
for file in secp256k1.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/modules'
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/gpu'
python3 ../tools/concat.py btc_pub_key_hash/secp256k1.cl btc_pub_key_hash/public_key_hash.cl > btc_pub_key_hash/btc_pub_key_hash.cl
for file in gpu.cpp tuner.cpp opencl/opencl_device.cpp opencl/opencl_internal.cpp opencl/opencl_device_memory.cpp opencl/opencl_kernel.cpp opencl/opencl_lib.cpp opencl/opencl.cpp opencl/opencl_module.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers -O2 -std=c++2a;\
done
make[2]: Entering directory '/home/jojo/Downloads/parcrypt-main/util'
for file in timer.cpp util.cpp ; do\
	g++ -c $file  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/logger'
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:74: recipe for target 'dir_logger' failed
make[1]: *** [dir_logger] Error 2
make[1]: *** Waiting for unfinished jobs....
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/secp256k1'
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:80: recipe for target 'dir_secp256k1' failed
make[1]: *** [dir_secp256k1] Error 2
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/platform'
Makefile:77: recipe for target 'dir_platform' failed
make[1]: *** [dir_platform] Error 2
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/util'
Makefile:68: recipe for target 'dir_util' failed
make[1]: *** [dir_util] Error 2
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/address'
Makefile:71: recipe for target 'dir_address' failed
make[1]: *** [dir_address] Error 2
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/parcrypt_lib'
Makefile:83: recipe for target 'dir_parcrypt_lib' failed
make[1]: *** [dir_parcrypt_lib] Error 2
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:10: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/gpu'
Makefile:86: recipe for target 'dir_gpulib' failed
make[1]: *** [dir_gpulib] Error 2
python3 ../tools/embed_string.py --input btc_pub_key_hash/btc_pub_key_hash.cl --symbol _btc_pub_key_hash_cl_source --output btc_pub_key_hash/btc_pub_key_hash_cl.cpp
for file in btc_pub_key_hash/btc_pub_key_hash.cpp btc_pub_key_hash/btc_pub_key_hash_cl.cpp btc_pub_key_hash/btc_pub_key_hash_gpu.cpp ; do\
	g++ -c $file -I./ -Ibtc_pub_key_hash  -I/home/jojo/Downloads/parcrypt-main/include  -I/home/jojo/Downloads/parcrypt-main/./  -I/home/jojo/Downloads/parcrypt-main/third_party/OpenCL-Headers  -I/home/jojo/Downloads/parcrypt-main/third_party/fmt/include  -I/home/jojo/Downloads/parcrypt-main/third_party/json11  -I/home/jojo/Downloads/parcrypt-main/address  -I/home/jojo/Downloads/parcrypt-main/parcrypt_lib  -I/home/jojo/Downloads/parcrypt-main/gpu  -I/home/jojo/Downloads/parcrypt-main/logger  -I/home/jojo/Downloads/parcrypt-main/platform  -I/home/jojo/Downloads/parcrypt-main/secp256k1  -I/home/jojo/Downloads/parcrypt-main/util -O2 -std=c++2a;\
done
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
g++: error: unrecognized command line option ‘-std=c++2a’; did you mean ‘-std=c++03’?
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/jojo/Downloads/parcrypt-main/modules'
Makefile:89: recipe for target 'dir_modules' failed
make[1]: *** [dir_modules] Error 2
make[1]: Leaving directory '/home/jojo/Downloads/parcrypt-main'
Makefile:57: recipe for target 'main' failed
make: *** [main] Error 2
jojo@gorilla:~/Downloads/parcrypt-main$ 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions