Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd jansson problem #507

Open
ab1jx opened this issue Mar 22, 2019 · 0 comments
Open

Odd jansson problem #507

ab1jx opened this issue Mar 22, 2019 · 0 comments

Comments

@ab1jx
Copy link

ab1jx commented Mar 22, 2019

I'm trying to build from your master.zip on a Raspberry Pi ZeroW under current Raspbian. I had libjansson and libjansson-dev from the Raspbian debs installed, then when I got this error I tried the jansson install mentioned in doc/windows-build.txt, but I still get the same problem. I have built other miners that used jansson, but not on this machine. I have a cgminer running on another Zero without doing anything special.

make all-recursive
make[1]: Entering directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master'
Making all in lib
make[2]: Entering directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/lib'
GEN arg-nonnull.h
GEN c++defs.h
GEN warn-on-use.h
GEN signal.h
GEN string.h
make all-recursive
make[3]: Entering directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/lib'
make[4]: Entering directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/lib'
CC dummy.o
AR libgnu.a
ar: u' modifier ignored since D' is the default (see `U')
make[4]: Leaving directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/lib'
make[3]: Leaving directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/lib'
make[2]: Leaving directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/lib'
Making all in submodules
make[2]: Entering directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/submodules'
Making all in jansson
make[3]: Entering directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/submodules/jansson'
make[3]: *** No rule to make target 'all'. Stop.
make[3]: Leaving directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/submodules/jansson'
Makefile:513: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master/submodules'
Makefile:1459: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/misc/litecoin/sgminer-dev/sgminer-master'
Makefile:635: recipe for target 'all' failed
make: *** [all] Error 2

There's nothing in the submodules/jansson dir, except I built Jansson from sources there. Locate shows:

zero3# locate libjansson
/usr/lib/arm-linux-gnueabihf/libjansson.a
/usr/lib/arm-linux-gnueabihf/libjansson.so
/usr/lib/arm-linux-gnueabihf/libjansson.so.4
/usr/lib/arm-linux-gnueabihf/libjansson.so.4.9.0
/usr/local/lib/libjansson.a
/usr/local/lib/libjansson.la
/usr/local/lib/libjansson.so
/usr/local/lib/libjansson.so.4
/usr/local/lib/libjansson.so.4.11.1

Not that this is really an issue with the program, just something odd about trying to build it. The OpenCL I'm hoping to use when I get that far is at https://github.com/doe300/VC4CL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant