KlausT / ccminer-cryptonight

Software for mining various cryptocoins, like Monero (pool mining only)
GNU General Public License v3.0
133 stars 30 forks source link

Undefined reference to `jsonp_dtostr' #39

Closed Megavolv closed 6 years ago

Megavolv commented 6 years ago

I see these errors when run make.

compat/jansson/libjansson.a(dump.o): In function do_dump': /home/user/ccminer-cryptonight/compat/jansson/dump.c:210: undefined reference tojsonp_dtostr' compat/jansson/libjansson.a(load.o): In function lex_scan_number': /home/user/ccminer-cryptonight/compat/jansson/load.c:555: undefined reference tojsonp_strtod' compat/jansson/libjansson.a(load.o): In function parse_value': /home/user/ccminer-cryptonight/compat/jansson/load.c:797: undefined reference tojsonp_strtod'

Can you help me?

Thank you!

KlausT commented 6 years ago

I don't use Linux, so I have to make guesses here. Did you run ./autogen.sh ./configure before you run make?

Megavolv commented 6 years ago

Thanks for your answer! Yes, of course.

KlausT commented 6 years ago

When libjansson-dev is installed then make should ignore the jansson files. I will have to check what happened with jsonp_dtostr. Under Windows there's no problem with those files.

Megavolv commented 6 years ago

libjansson-dev wasn't installed. Now compile is ok.