Author

Topic: cgminer: --A1Pll1: unrecognized option (Read 632 times)

newbie
Activity: 6
Merit: 0
June 06, 2016, 04:05:50 AM
#1
i can't run cgminer
Please Help me

Code:
minera@minera ~ $ git clone https://github.com/ckolivas/cgminer
Cloning into 'cgminer'...
remote: Counting objects: 27363, done.
remote: Total 27363 (delta 0), reused 0 (delta 0), pack-reused 27363
Receiving objects: 100% (27363/27363), 20.13 MiB | 1.08 MiB/s, done.
Resolving deltas: 100% (17783/17783), done.
Checking connectivity... done.
minera@minera ~ $ ls
cgminer  custom  pistore.desktop
minera@minera ~ $ cd cgminer/

minera@minera ~/cgminer $ ./autogen.sh # only needed if building from git repo
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:38: installing './compile'
configure.ac:39: installing './config.guess'
configure.ac:39: installing './config.sub'
configure.ac:29: installing './install-sh'
configure.ac:29: installing './missing'
libusb/Makefile.am: installing './depcomp'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:13: installing './compile'
configure.ac:14: installing './config.guess'
configure.ac:14: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
configure.ac:24: installing './compile'
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:22: installing './install-sh'
configure.ac:22: installing './missing'
Makefile.am: installing './depcomp'

minera@minera ~/cgminer $ CFLAGS="-O2 -Wall -march=native" ./configure --enable-bitmine_A1
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking target system type... armv6l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pthread_create in -lpthread... yes
checking for library containing addstr... -lncurses
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=== configuring in compat/jansson-2.6 (/home/minera/cgminer/compat/jansson-2.6)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-bitmine_A1' 'CFLAGS=-O2 -Wall -march=native' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for int32_t... yes
checking for uint32_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for inline... inline
checking for close... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for open... yes
checking for read... yes
checking for sched_yield... yes
checking for strtoll... yes
checking for gcc __sync builtins... yes
checking for gcc __atomic builtins... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating jansson.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/jansson_config.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands



------------------------------------------------------------------------
cgminer 4.9.2
------------------------------------------------------------------------


Configuration Options Summary:

  libcurl(GBT).: Enabled: -lcurl
  libsystemd...........: Disabled
  curses.TUI...........: FOUND: -lncurses

  Antminer.S1.Bitmain..: Disabled
  Antminer.S2.Bitmain..: Disabled
  Antminer.S3.Bitmain..: Disabled
  Avalon.ASICs.........: Disabled
  Avalon2.ASICs........: Disabled
  Avalon4.ASICs........: Disabled
  Avalon miner.ASICs...: Disabled
  BlackArrowMinion.ASIC: Disabled
  BlackArrow.ASICs.....: Disabled
  BFL.ASICs............: Disabled
  BitForce.FPGAs.......: Disabled
  BitFury.ASICs........: Disabled
  BlockErupter.ASICs...: Disabled
  Cointerra.ASICs......: Disabled
  Spond-sp10.ASICs.....: Disabled
  Spond-sp30.ASICs.....: Disabled
  Bitmine-A1.ASICs.....: Enabled
  Drillbit.BitFury.....: Disabled
  Hashfast.ASICs.......: Disabled
  Hashratio.ASICs......: Disabled
  Icarus.ASICs/FPGAs...: Disabled
  Klondike.ASICs.......: Disabled
  KnC.ASICs............: Disabled
  ModMiner.FPGAs.......: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -Wall -march=native
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl   compat/jansson-2.6/src/.libs/libjansson.a -lpthread    -lm  -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

minera@minera ~/cgminer $ make
make  all-recursive
make[1]: Entering directory '/home/minera/cgminer'
Making all in lib
make[2]: Entering directory '/home/minera/cgminer/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 '/home/minera/cgminer/lib'
make[4]: Entering directory '/home/minera/cgminer/lib'
  CC       dummy.o
  AR       libgnu.a
make[4]: Leaving directory '/home/minera/cgminer/lib'
make[3]: Leaving directory '/home/minera/cgminer/lib'
make[2]: Leaving directory '/home/minera/cgminer/lib'
Making all in compat
make[2]: Entering directory '/home/minera/cgminer/compat'
Making all in jansson-2.6
make[3]: Entering directory '/home/minera/cgminer/compat/jansson-2.6'
make  all-recursive
make[4]: Entering directory '/home/minera/cgminer/compat/jansson-2.6'
Making all in src
make[5]: Entering directory '/home/minera/cgminer/compat/jansson-2.6/src'
  CC       dump.lo
  CC       error.lo
  CC       hashtable.lo
  CC       hashtable_seed.lo
  CC       load.lo
  CC       memory.lo
  CC       pack_unpack.lo
  CC       strbuffer.lo
  CC       strconv.lo
  CC       utf.lo
  CC       value.lo
  CCLD     libjansson.la
make[5]: Leaving directory '/home/minera/cgminer/compat/jansson-2.6/src'
make[5]: Entering directory '/home/minera/cgminer/compat/jansson-2.6'
make[5]: Leaving directory '/home/minera/cgminer/compat/jansson-2.6'
make[4]: Leaving directory '/home/minera/cgminer/compat/jansson-2.6'
make[3]: Leaving directory '/home/minera/cgminer/compat/jansson-2.6'
make[3]: Entering directory '/home/minera/cgminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/minera/cgminer/compat'
make[2]: Leaving directory '/home/minera/cgminer/compat'
Making all in ccan
make[2]: Entering directory '/home/minera/cgminer/ccan'
  CC       opt/libccan_a-helpers.o
  CC       opt/libccan_a-opt.o
  CC       opt/libccan_a-parse.o
  CC       opt/libccan_a-usage.o
  AR       libccan.a
make[2]: Leaving directory '/home/minera/cgminer/ccan'
make[2]: Entering directory '/home/minera/cgminer'
  CC       cgminer-cgminer.o
  CC       cgminer-util.o
  CC       cgminer-sha2.o
  CC       cgminer-api.o
  CC       cgminer-logging.o
  CC       cgminer-klist.o
  CC       cgminer-noncedup.o
  CC       cgminer-driver-SPI-bitmine-A1.o
  CC       cgminer-spi-context.o
  CC       cgminer-A1-board-selector-CCD.o
  CC       cgminer-A1-board-selector-CCR.o
  CC       cgminer-A1-trimpot-mcp4x.o
  CC       cgminer-i2c-context.o
  CCLD     cgminer
make[2]: Leaving directory '/home/minera/cgminer'
make[1]: Leaving directory '/home/minera/cgminer'

./cgminer -V
cgminer 4.9.2

minera@minera ~/cgminer $ ./cgminer -o stratum+tcp://scrypt.ltcrabbit.com:3338 -u mousesport.1 -p x --A1Pll1 1200 --A1Pll2 1200 --A1Pll3 1200 --A1Pll4 1200 --A1Pll5 1200 --A1Pll6 1200 --diff 13 --api-listen --api-network --cs 8 --stmcu 0 --hwreset --lowmem --voltage 0
 [2016-05-23 01:23:01.342] ./cgminer: --A1Pll1: unrecognized option
Jump to: