Did you add the '-b 606' flag to the git command? I just followed the instructions on page 1 to reinstall it just to see if I could reproduce the bug but I got version 4.11.1 and I'm running Ubuntu 18.04.
i followed this:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential git autoconf automake libtool pkg-config zlib1g-dev libcurl4-openssl-dev libncurses5-dev libusb-1.0-0-dev libudev-dev
mkdir -p git/vthoang; cd git/vthoang
git clone -b r606 https://github.com/vthoang/cgminer.git
cd cgminer
CFLAGS="-O2 -march=native" ./autogen.sh --enable-gekko
make -j 2
and when i look in Git directory i find this file:
Makefile.am merged upstream 4.11.1its getting weirder to me.
When i browse and read the files on Git i should get 4.11.1 not 4.9.2
Tried it again, below the results of this new install:
ww@DM3:~/git/mining/cgminer$ sudo apt-get update [<-- command]
[sudo] password for:
Hit:1 http://archive.canonical.com/ubuntu bionic InRelease
Hit:2 http://nl.archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Hit:5 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Hit:7 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38,5 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17,6 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41,5 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42,1 kB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2464 B]
Fetched 364 kB in 6s (65,6 kB/s)
Reading package lists... Done
ww@DM3:~/git/mining/cgminer$
ww@DM3:~/git/mining/cgminer$ sudo apt-get install -y build-essential git autoconf automake libtool pkg-config zlib1g-dev libcurl4-openssl-dev libncurses5-dev libusb-1.0-0-dev libudev-dev [<-- command]
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-11).
automake is already the newest version (1:1.15.1-3ubuntu2).
build-essential is already the newest version (12.4ubuntu1).
libtool is already the newest version (2.4.6-2).
libusb-1.0-0-dev is already the newest version (2:1.0.21-2).
pkg-config is already the newest version (0.29.1-0ubuntu2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.4).
libcurl4-openssl-dev is already the newest version (7.58.0-2ubuntu3.8).
libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
libudev-dev is already the newest version (237-3ubuntu10.31).
sh: 0: getcwd() failed: No such file or directory
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sh: 0: getcwd() failed: No such file or directory
ww@DM3:~/git/mining/cgminer$ mkdir -p git/vthoang; cd git/vthoang [<-- command]
mkdir: cannot create directory ‘git’: No such file or directory
bash: cd: git/vthoang: No such file or directory
ww@DM3:~$ mkdir -p git/vthoang; cd git/vthoang [<-- command]
ww@DM3:~/git/vthoang$ git clone -b r606 https://github.com/vthoang/cgminer.git [<-- command]
Cloning into 'cgminer'...
remote: Enumerating objects: 28957, done.
remote: Total 28957 (delta 0), reused 0 (delta 0), pack-reused 28957
Receiving objects: 100% (28957/28957), 20.29 MiB | 1.56 MiB/s, done.
Resolving deltas: 100% (18972/18972), done.
ww@DM3:~/git/vthoang$ [b]cd cgminer[/b]
ww@DM3:~/git/vthoang/cgminer$ CFLAGS="-O2 -march=native" ./autogen.sh --enable-gekko [<-- command]
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:11: installing './compile'
configure.ac:12: installing './config.guess'
configure.ac:12: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: 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'
Configuring...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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 LIBUSB... yes
checking for JANSSON... yes
checking uthash.h usability... no
checking uthash.h presence... no
checking for uthash.h... no
checking for pkg-config... (cached) /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
------------------------------------------------------------------------
cgminer 4.11.1
------------------------------------------------------------------------
Configuration Options Summary:
libcurl(GBT).: Enabled: -lcurl
libsystemd...........: Disabled
curses.TUI...........: FOUND: -lncurses
DragonMint.T1.Halong.: Disabled
Antminer.S1.Bitmain..: Disabled
Antminer.S2.Bitmain..: Disabled
Antminer.S3.Bitmain..: Disabled
Avalon.ASICs.........: Disabled
Avalon2.ASICs........: Disabled
Avalon4.ASICs........: Disabled
Avalon7.ASICs........: Disabled
Avalon8.ASICs........: Disabled
Avalon miner.ASICs...: Disabled
BlackArrowMinion.ASIC: Disabled
BlackArrow.ASICs.....: Disabled
BFL.ASICs............: Disabled
BitForce.FPGAs.......: Disabled
BitFury.ASICs........: Disabled
BitFury16.ASICs......: Disabled
Bitmain.ASICs......: Disabled
BlockErupter.ASICs...: Disabled
GekkoScience.ASICs...: Enabled
Cointerra.ASICs......: Disabled
Spond-sp10.ASICs.....: Disabled
Spond-sp30.ASICs.....: Disabled
Bitmine-A1.ASICs.....: Disabled
Dragonmint.T1.ASICs..: Disabled
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 -march=native
LDFLAGS..............: -lpthread
LDADD................: -ldl -lcurl -ljansson -lz -lpthread -lm -lusb-1.0 -lrt
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
ww@DM3:~/git/vthoang/cgminer$ sudo make -j 2 [<-- command]
make all-recursive
make[1]: Entering directory '/home/ww/git/vthoang/cgminer'
Making all in lib
make[2]: Entering directory '/home/ww/git/vthoang/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/ww/git/vthoang/cgminer/lib'
make[4]: Entering directory '/home/ww/git/vthoang/cgminer/lib'
CC dummy.o
AR libgnu.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/ww/git/vthoang/cgminer/lib'
make[3]: Leaving directory '/home/ww/git/vthoang/cgminer/lib'
make[2]: Leaving directory '/home/ww/git/vthoang/cgminer/lib'
Making all in compat
make[2]: Entering directory '/home/ww/git/vthoang/cgminer/compat'
make[3]: Entering directory '/home/ww/git/vthoang/cgminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ww/git/vthoang/cgminer/compat'
make[2]: Leaving directory '/home/ww/git/vthoang/cgminer/compat'
Making all in ccan
make[2]: Entering directory '/home/ww/git/vthoang/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
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/ww/git/vthoang/cgminer/ccan'
make[2]: Entering directory '/home/ww/git/vthoang/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-usbutils.o
CC cgminer-crc16.o
CC cgminer-driver-gekko.o
CCLD cgminer
make[2]: Leaving directory '/home/ww/git/vthoang/cgminer'
make[1]: Leaving directory '/home/ww/git/vthoang/cgminer'
Then when i start cgminer i get this:
cgminer version 4.9.2 - Started: [2019-10-19 20:03:38]
--------------------------------------------------------------------------------
(5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s
A:0 R:0 HW:0 WU:0.0/m
Connected to sha256.mining-dutch.nl diff with stratum as user xxx
Block: ... Diff: Started: Best share: 0
--------------------------------------------------------------------------------
[U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
--------------------------------------------------------------------------------
[2019-10-19 20:03:35] Started cgminer 4.9.2
[2019-10-19 20:03:37] No devices detected!
[2019-10-19 20:03:37] Waiting for USB hotplug devices or press q to quit
[2019-10-19 20:03:37] Probing for an alive pool
[2019-10-19 20:03:37] Pool 0 difficulty changed to 262144
Remark: did not connect newpacs yet, want the version to be right first
Really don got a clue what is going wrong.
As you can see, with ... autogen.sh ... its is showing a v4.11.1 header.
I really don see what i am doing different than what is being told on 1st page.
When i look @ logfile of config "config.log" its like below. in it it says it should be v4.11.1, then why am i getting 4.9.2
I have never seen a thing like this before.