Ubuntu Error help


#1

anyone come across this??? Using Virtualbox on a mac with Ubuntu

mark@mark-VirtualBox:~/nheqminer/build$ make
g++ -c -m64 -pipe -std=gnu++11 -O3 -Wall -W -fPIC -DHAVE_DECL_HTOBE16 -DHAVE_DECL_HTOLE16 -DHAVE_DECL_BE16TOH -DHAVE_DECL_LE16TOH -DHAVE_DECL_HTOBE32 -DHAVE_DECL_HTOLE32 -DHAVE_DECL_BE32TOH -DHAVE_DECL_LE32TOH -DHAVE_DECL_HTOBE64 -DHAVE_DECL_HTOLE64 -DHAVE_DECL_BE64TOH -DHAVE_DECL_LE64TOH -DHAVE_BYTESWAP_H -DHAVE_DECL_BSWAP_16 -DHAVE_DECL_BSWAP_32 -DHAVE_DECL_BSWAP_64 -I../nheqminer -I. -I../nheqminer/3rdparty -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o ../nheqminer/main.cpp
In file included from ../nheqminer/3rdparty/boost/predef/architecture.h:28:0,
from ../nheqminer/3rdparty/boost/predef.h:14,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/yield_k.hpp:28,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_sync.hpp:18,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock.hpp:50,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from ../nheqminer/3rdparty/boost/smart_ptr/shared_ptr.hpp:35,
from ../nheqminer/3rdparty/boost/shared_ptr.hpp:17,
from ../nheqminer/3rdparty/boost/signals2/deconstruct.hpp:28,
from ../nheqminer/3rdparty/boost/signals2.hpp:15,
from ../nheqminer/libstratum/ZcashStratum.h:10,
from ../nheqminer/libstratum/StratumClient.h:6,
from ../nheqminer/main.cpp:8:
../nheqminer/3rdparty/boost/predef/architecture/x86.h:8:46: fatal error: boost/predef/architecture/x86/32.h: No such file or directory
compilation terminated.
Makefile:1859: recipe for target 'main.o' failed
make: *** [main.o] Error 1


#2

I am having the same issue:

g++ -c -m64 -pipe -std=gnu++11 -O3 -Wall -W -fPIC -DHAVE_DECL_HTOBE16 -DHAVE_DECL_HTOLE16 -DHAVE_DECL_BE16TOH -DHAVE_DECL_LE16TOH -DHAVE_DECL_HTOBE32 -DHAVE_DECL_HTOLE32 -DHAVE_DECL_BE32TOH -DHAVE_DECL_LE32TOH -DHAVE_DECL_HTOBE64 -DHAVE_DECL_HTOLE64 -DHAVE_DECL_BE64TOH -DHAVE_DECL_LE64TOH -DHAVE_BYTESWAP_H -DHAVE_DECL_BSWAP_16 -DHAVE_DECL_BSWAP_32 -DHAVE_DECL_BSWAP_64 -I../nheqminer -I. -I../nheqminer/3rdparty -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o ../nheqminer/main.cpp
In file included from ../nheqminer/3rdparty/boost/predef/architecture.h:28:0,
from ../nheqminer/3rdparty/boost/predef.h:14,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/yield_k.hpp:28,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_sync.hpp:18,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock.hpp:50,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from ../nheqminer/3rdparty/boost/smart_ptr/shared_ptr.hpp:35,
from ../nheqminer/3rdparty/boost/shared_ptr.hpp:17,
from ../nheqminer/3rdparty/boost/signals2/deconstruct.hpp:28,
from ../nheqminer/3rdparty/boost/signals2.hpp:15,
from ../nheqminer/libstratum/ZcashStratum.h:10,
from ../nheqminer/libstratum/StratumClient.h:6,
from ../nheqminer/main.cpp:8:
../nheqminer/3rdparty/boost/predef/architecture/x86.h:8:46: fatal error: boost/predef/architecture/x86/32.h: No such file or directory
compilation terminated.
Makefile:1859: recipe for target 'main.o' failed
make: *** [main.o] Error 1


#3

@ronin I think I found the solution.

Are you sure you have cloned the right repo(https://github.com/ocminer/nheqminer.git)

I used ocminer's nheqminer, and here is what I did

  • sudo apt-get install cmake build-essential libboost-all-dev
  • cd nheqminer/nheqminer && mkdir build && cd build
  • cmake
  • make

And then you're done!!!


#4

Is gpu mining available with NVIDIA cards?


#5

I solved it by using
"Linux cmake recommended (Tested on Ubuntu Desktop 14.04 and 16.04 and Ubuntu server 14.04)"
instead of "Linux (Ubuntu/Debian based, Tested on Ubuntu 16.04)"
in the Build Instructions on the https://github.com/ocminer/nheqminer page, hope this helps you!


#6

I solved it by using
"Linux cmake recommended (Tested on Ubuntu Desktop 14.04 and 16.04 and Ubuntu server 14.04)"
instead of "Linux (Ubuntu/Debian based, Tested on Ubuntu 16.04)"
in the Build Instructions on the https://github.com/ocminer/nheqminer page, hope this helps you!

Was just typing this at the same time ha ha


#7

haha, where are you mining man? @ronin


#8

zed.suprnova.cc
But hoping ethos is going to update to allow zcash on my rigs
Right now only CPU mining zec
What about yourself?

Mark


#9

Yep, me too.

You running Ubuntu 14?

I've heard rumor that it works on Ubuntu 16. But I'd like to get this running on 14.


#10

16.04 running on 3 computers running virtual box mac


#11

am getting the same error....

/nheqminer/build$ make
g++ -c -m64 -pipe -std=gnu++11 -O3 -Wall -W -fPIC -DHAVE_DECL_HTOBE16 -DHAVE_DECL_HTOLE16 -DHAVE_DECL_BE16TOH -DHAVE_DECL_LE16TOH -DHAVE_DECL_HTOBE32 -DHAVE_DECL_HTOLE32 -DHAVE_DECL_BE32TOH -DHAVE_DECL_LE32TOH -DHAVE_DECL_HTOBE64 -DHAVE_DECL_HTOLE64 -DHAVE_DECL_BE64TOH -DHAVE_DECL_LE64TOH -DHAVE_BYTESWAP_H -DHAVE_DECL_BSWAP_16 -DHAVE_DECL_BSWAP_32 -DHAVE_DECL_BSWAP_64 -I../nheqminer -I. -I../nheqminer/3rdparty -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o ../nheqminer/main.cpp
In file included from ../nheqminer/3rdparty/boost/predef/hardware/simd.h:9:0,
from ../nheqminer/3rdparty/boost/predef/hardware.h:14,
from ../nheqminer/3rdparty/boost/predef.h:20,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/yield_k.hpp:28,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_sync.hpp:18,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock.hpp:50,
from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from ../nheqminer/3rdparty/boost/smart_ptr/shared_ptr.hpp:35,
from ../nheqminer/3rdparty/boost/shared_ptr.hpp:17,
from ../nheqminer/3rdparty/boost/signals2/deconstruct.hpp:28,
from ../nheqminer/3rdparty/boost/signals2.hpp:15,
from ../nheqminer/libstratum/ZcashStratum.h:10,
from ../nheqminer/libstratum/StratumClient.h:6,
from ../nheqminer/main.cpp:8:
../nheqminer/3rdparty/boost/predef/hardware/simd/x86.h:13:53: fatal error: boost/predef/hardware/simd/x86/versions.h: No such file or directory
compilation terminated.
Makefile:1859: recipe for target 'main.o' failed
make: *** [main.o] Error 1
streetlight@streetlight3:~/nheqminer/build$


#12

@Streetlight, Please follow my instructions in above comments, hopefully that will solve your issue.


#13

I have, but still getting the same problem. :frowning:


#14

which repo you are using?


#15

16.04

have Gpu's running without a problem.

New 16.04...sudo apt-get install qt5-default.

git clone https://github.com/ocminer/nheqminer.git
cd nheqminer
mkdir build
cd build
qmake ../nheqminer/nheqminer.pro
make

then thats when i get the error when i make

if I cmake... i get this...

build$ cmake
Usage

cmake [options]
cmake [options]

Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.