Post
Topic
Board Hardware
Re: GekkoScience NewPac / Terminus R606 (BM1387) Official Support Thread
by
0bit
on 21/04/2020, 03:06:37 UTC
Is there any way I could get some help compiling cgminer? I cloned the repository listed in the OP and followed the instructions given by user vh on the first page. However, make fails with the following error:
Code:
/usr/bin/ld: cannot find -lws2_32
/usr/bin/ld: cannot find -lwinmm
collect2: error: ld returned 1 exit status
Anybody know how I fix this?
EDIT: It's worth mentioning as well that I am trying to cross compile this to run on Windows
EDIT 2: Also worth mentioning I am using different options for configure.
Code:
./configure --host=i686-w64-mingw32.static --disable-gpu --enable-bflsc --enable-gekko --enable-blockreupter --disable-shared
Update: after recompiling MXE I am now getting a different error
Code:
CC cgminer-driver-blockerupter.o
CC cgminer-driver-gekko.o
CCLD cgminer.exe
cgminer-crc16.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status