Post
Topic
Board Mining software (miners)
Re: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0
by
mutluit
on 26/07/2017, 17:53:14 UTC
Hi ck,
there is an unimportant, but nasty :-), warning when doing make:

   --define-variable argument does not have a value for the variable

I think this has to be fixed in configure.ac somewhere in or around these lines:

PKG_PROG_PKG_CONFIG()

if test "x$have_cgminer_sdk" = "xtrue"; then
        if test "x$have_x86_64" = xtrue; then
                ARCH_DIR=x86_64
        else
                ARCH_DIR=x86
        fi
        PKG_CONFIG="${PKG_CONFIG:-pkg-config} --define-variable=arch=$ARCH_DIR --define-variable=target=$target --define-variable=cgminersdkdir=$CGMINER_SDK"
        PKG_CONFIG_PATH="$CGMINER_SDK/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
fi


or maybe in one of the *.in files?
Or should one set an environment variable CGMINER_SDK ?