Hi everyone, I'm new to the forum. I did a search but was unable to find the error I'm having.
I have installed the original version of cgminer from the original author onto my Rev 2 B RPi and it runs fine. However, I wanted to install the version by AdvancedStyle or Bitmaintech to enable support to Overclock the Bitmain Antminer U1 I currently own.
I followed the build instructions using their git repos, i.e.
./autogen.sh # only needed if building from git repo
CFLAGS="-O2 -Wall -march=native" ./configure --enable-bmsc
make
It goes fine until a few minutes in using make I get this error:
CC cgminer-usbutils.o
usbutils.c:304:26: error: redefinition of ‘ica_epinfos’
usbutils.c:242:26: note: previous definition of ‘ica_epinfos’ was here
usbutils.c:309:27: error: redefinition of ‘ica_ints’
usbutils.c:247:27: note: previous definition of ‘ica_ints’ was here
usbutils.c:313:26: error: redefinition of ‘amu_epinfos’
usbutils.c:251:26: note: previous definition of ‘amu_epinfos’ was here
usbutils.c:318:27: error: redefinition of ‘amu_ints’
usbutils.c:256:27: note: previous definition of ‘amu_ints’ was here
usbutils.c:322:26: error: redefinition of ‘llt_epinfos’
usbutils.c:260:26: note: previous definition of ‘llt_epinfos’ was here
usbutils.c:327:27: error: redefinition of ‘llt_ints’
usbutils.c:265:27: note: previous definition of ‘llt_ints’ was here
usbutils.c:331:26: error: redefinition of ‘cmr1_epinfos’
usbutils.c:269:26: note: previous definition of ‘cmr1_epinfos’ was here
usbutils.c:336:27: error: redefinition of ‘cmr1_ints’
usbutils.c:274:27: note: previous definition of ‘cmr1_ints’ was here
usbutils.c:340:26: error: redefinition of ‘cmr2_epinfos0’
usbutils.c:278:26: note: previous definition of ‘cmr2_epinfos0’ was here
usbutils.c:344:26: error: redefinition of ‘cmr2_epinfos1’
usbutils.c:282:26: note: previous definition of ‘cmr2_epinfos1’ was here
usbutils.c:348:26: error: redefinition of ‘cmr2_epinfos2’
usbutils.c:286:26: note: previous definition of ‘cmr2_epinfos2’ was here
usbutils.c:352:26: error: redefinition of ‘cmr2_epinfos3’
usbutils.c:290:26: note: previous definition of ‘cmr2_epinfos3’ was here
usbutils.c:357:27: error: redefinition of ‘cmr2_ints’
usbutils.c:295:27: note: previous definition of ‘cmr2_ints’ was here
make[2]: *** [cgminer-usbutils.o] Error 1
make[2]: Leaving directory `/home/pi/cgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pi/cgminer'
make: *** [all] Error 2
I get this exact same error with the AdvancedStyle version and the Bitmaintech version, both from github. I have searched and can't find an answer. I thought maybe it was a dependency issue, but I'm pretty sure I have all the required packages.
Any help would be appreciated.
Thanks in advance,
Oli.