Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
aarons6
on 25/11/2017, 00:11:26 UTC
im getting my sticks today and i am trying to compile this for linux 32bit.

im running into a issue..

steps taken.

wget https://github.com/jstefanop/bfgminer/archive/bfgminer-5.4.2-futurebit2.tar.gz
tar zxfv bfgminer-5.4.2-futurebit2.tar.gz
cd bfgminer-5.4.2-futurebit2


when i do
./autogen.sh it says

aaron@aaron-701:~/bfgminer-bfgminer-5.4.2-futurebit2$ ./autogen.sh
Getting submodules...
fatal: Not a git repository (or any of the parent directories): .git


im stuck.


also why did you name the driver futurebit.c and not futurebit2.c and also why did you use the same github and not make a new one?

its going to make things really complicated since i have v1 and v2 sticks.. :/


edit i "think" i got it to compile not sure until i can test it.
i did this.

first i cloned the main branch.

git clone --branch futurebit_driver https://github.com/jstefanop/bfgminer.git

then i downloaded the v2 source
wget https://github.com/jstefanop/bfgminer/archive/bfgminer-5.4.2-futurebit2.tar.gz
tar zxfv bfgminer-5.4.2-futurebit2.tar.gz
cd bfgminer-5.4.2-futurebit2

then i copied the driver-futurebit.c from there and put it in the main branch.
cp driver-futurebit.c ~/bfgminer

and copy bwltc-commands.h
cp bwltc-commands.h ~/bfgminer

then cd into the main branch.

cd ~/bfgminer


then i ran autogen.sh
then configure CFLAGS=-O3 --enable-scrypt --enable-futurebit --disable-other-drivers
then sudo make