Author

Topic: json error when installing cgminer and bfgminer on raspberry pi (Read 1929 times)

newbie
Activity: 21
Merit: 0
Hello,

does anybody have similar error when installing cgminer (3.1.1, according to http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/install-cgminer) on raspbery pi (raspian) for asic erupter usb?

Code:
In file included from cgminer.c:44:0:
miner.h:860:1: error: unknown type name 'json_t'
cgminer.c:1195:27: error: unknown type name 'json_t'
cgminer.c: In function 'load_config':
cgminer.c:1268:2: error: unknown type name 'json_error_t'
cgminer.c:1269:2: error: unknown type name 'json_t'
cgminer.c:1281:9: warning: assignment makes pointer from integer without a cast [enabled by default]
cgminer.c:1284:69: error: request for member 'text' in something not a structure or union
cgminer.c:1288:48: error: request for member 'text' in something not a structure or union
cgminer.c:1296:2: warning: return makes pointer from integer without a cast [enabled by default]
cgminer.c: At top level:
cgminer.c:1403:1: error: unknown type name 'json_t'
cgminer.c: In function 'jobj_binary':
cgminer.c:1407:2: error: unknown type name 'json_t'

and so on...

Any help would be appreciated.
Jump to: