Currently I am trying to make cgminer as well as bfgminer for Bitcoin mining.
With both makes I get the same error:
In file included from /usr/include/curl/curl.h:35:0,
from cgminer.c:47:
/usr/include/curl/curlrules.h:142:3: error: size of array »__curl_rule_01__« is negative
__curl_rule_01__
Makefile:879: recipe for target 'cgminer-cgminer.o' failed
I already tried to circumvent this with the following hack in curlbuild.h:
- Code: Select all
#ifdef __arch64__
#define CURL_SIZEOF_LONG 8
#else
#define CURL_SIZEOF_LONG 4
#endif
Now it should work, right, because he gets what to take for LONG depending on my architecture!? No. It doesn't. Same "curl rule" error. Both with cgminer AND bfgminer. Can't make, thus can't install. -.-
Any ideas??? Running into walls here...
Thanks in advance, guys!