Sep 21, 2017, 11:42 am

News:

Ufasoft Coin 0.110 new features: SOCKS5, TOR,
bootstrap.dat DB format


Not loading on Mint, existing libraries seen as missing, various errors

Started by Epsylon80, May 06, 2014, 10:55 am

previous topic - next topic
Go Down

Epsylon80

Hi,

I'm running under Linux Mint 13 Xfce, 64-bit, CPU: Intel Pentium Dual-Core G3220, mother board: Gigabyte GA-H81M-S1, no dedicated graphic card. I have the 0.82 version but whatever I do it can't load. I even tryied to run the most recent Windows version using the Wine emulator, but with no success neither.

Here is what I get when I try "./configure":
Quote
epsylon@Gemini ~/Téléchargements/ufasoft_coin-0.82 $ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/epsylon/Téléchargements/ufasoft_coin-0.82/missing: Unknown `--is-lightweight' option
Try `/home/epsylon/Téléchargements/ufasoft_coin-0.82/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... /usr/bin/g++
checking for pcre_compile in -lpcre... yes
checking for pthread_create in -lpthread... yes
checking for __gmpz_init in -lgmp... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking for JANSSON... yes
checking for SQLITE3... no
checking for XML... no
checking for OPENSSL... yes
checking for UDEV... no
checking for clock_gettime in -lrt... yes
checking for library containing dlopen... -ldl
checking for library containing iconv... none required
checking for gcc... yes
checking whether C++ compiler accepts -std=c++1y... no
checking for pthread_setname_np... yes
checking for OpenCL... no
checking for cal.h... no
checking how to run the C++ preprocessor... g++ -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 boost/random/mersenne_twister.hpp usability... no
checking boost/random/mersenne_twister.hpp presence... no
checking for boost/random/mersenne_twister.hpp... no
checking for jwasm... jwasm
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands



------------------------------------------------------------------------
ufasoft_coin 0.82
------------------------------------------------------------------------


Configuration Options Summary:

  OpenCL...............: NOT FOUND. GPU mining support DISABLED
  libudev..............: no

coind build disabled, following libs are missing:
  libxml2-dev
  SQLite3


Compilation............: make (gmake on FreeBSD)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2   
  CXXFLAGS.............. -g -O2 -std=c++0x
  LDFLAGS..............:   
  LDADD................: -lcurl  -ljansson 

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


Please note that it says "libxml2-dev" and "SQLite3" libs are missing whereas this is NOT the case.

When using "make":

Quote
epsylon@Gemini ~/Téléchargements/ufasoft_coin-0.82 $ make
g++ -DHAVE_CONFIG_H -I.  -I coin/util -I coin/miner -I foreign -pthread   -Wno-invalid-offsetof  -g -O2 -std=c++0x -c el/ext.h
make  all-am
make[1]: entrant dans le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.82 »
  CXX      el/crypto/sha256.o
  CXX      el/crypto/sha512.o
  CXX      el/crypto/sha-3.o
  CC       foreign/sphlib/keccak.o
  CXX      el/crypto/scrypt.o
  CXX      el/crypto/salsa20.o
  CXX      coin/util/util.o
  CXX      coin/util/base58.o
  CXX      coin/util/prime-util.o
  CXX      coin/util/momentum.o
  CC       coin/util/metis-imp.o
  CXX      coin/util/metis.o
  CC       foreign/sphlib/aes_helper.o
  CC       foreign/sphlib/shavite.o
  CXX      coin/miner/bitcoin-miner.o
  CXX      coin/miner/bitcoin-sha256.o
  CXX      coin/miner/miner.o
  CXX      coin/miner/stratum-client.o
  CXX      coin/miner/dynclock.o
  CXX      coin/miner/serial-device.o
  CXX      coin/miner/miner-bitforce.o
  CXX      coin/miner/miner-fpga-modminer.o
  CXX      coin/util/block-template.o
  CXX      coin/miner/hasher/hasher-sha256.o
  CXX      coin/miner/hasher/hasher-sha3.o
  CXX      coin/miner/hasher/hasher-metis.o
  CXX      coin/miner/hasher/hasher-prime.o
In file included from ./el/libext/afterstl.h:12:0,
                 from ./el/libext/ext-cpp.h:811,
                 from ./el/libext.h:1509,
                 from el/ext.h:22:
./el/stl/dynamic_bitset: In member function 'ExtSTL::dynamic_bitsetBase::size_type ExtSTL::dynamic_bitset<T>::count() const [with T = long unsigned int, ExtSTL::dynamic_bitsetBase::size_type = long unsigned int]':
coin/miner/hasher/hasher-prime.cpp:129:37:   instantiated from here
./el/stl/dynamic_bitset:100:4: erreur: call of overloaded 'PopCount(ExtSTL::dynamic_bitset<long unsigned int>::block_type&)' is ambiguous
./el/stl/dynamic_bitset:100:4: note: candidates are:
./el/libext/ext-core.h:609:13: note: int Ext::PopCount(unsigned int)
./el/libext/ext-core.h:610:13: note: int Ext::PopCount(long long unsigned int)
make[1]: *** [coin/miner/hasher/hasher-prime.o] Erreur 1
make[1]: quittant le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.82 »
make: *** [all] Erreur 2


When using "sudo make install":
Quote
epsylon@Gemini ~/Téléchargements/ufasoft_coin-0.82 $ sudo make install
[sudo] password for epsylon:
make  install-am
make[1]: entrant dans le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.82 »
  CXX      coin/miner/hasher/hasher-prime.o
In file included from ./el/libext/afterstl.h:12:0,
                 from ./el/libext/ext-cpp.h:811,
                 from ./el/libext.h:1509,
                 from el/ext.h:22:
./el/stl/dynamic_bitset: In member function 'ExtSTL::dynamic_bitsetBase::size_type ExtSTL::dynamic_bitset<T>::count() const [with T = long unsigned int, ExtSTL::dynamic_bitsetBase::size_type = long unsigned int]':
coin/miner/hasher/hasher-prime.cpp:129:37:   instantiated from here
./el/stl/dynamic_bitset:100:4: erreur: call of overloaded 'PopCount(ExtSTL::dynamic_bitset<long unsigned int>::block_type&)' is ambiguous
./el/stl/dynamic_bitset:100:4: note: candidates are:
./el/libext/ext-core.h:609:13: note: int Ext::PopCount(unsigned int)
./el/libext/ext-core.h:610:13: note: int Ext::PopCount(long long unsigned int)
make[1]: *** [coin/miner/hasher/hasher-prime.o] Erreur 1
make[1]: quittant le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.82 »
make: *** [install] Erreur 2


GCC version should be 4.7, G++ should be 4.6. Can you help? Thank you very much in advance!

P.S.: Or if it still doesn't work, maybe you have some tips to make it run under Wine or PlayOnLinux (which libs to install, etc...)?   

ufasoft


Epsylon80

Hi,


I tried it yesterday and there are still some glitches I don't understand.

First, I really don't know if I have to type some special command instead of only "./configure" to start the process, since there isn't much change here:

Quote
epsylon@Gemini ~/Téléchargements/ufasoft_coin-0.92 $ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/epsylon/Téléchargements/ufasoft_coin-0.92/missing: Unknown `--is-lightweight' option
Try `/home/epsylon/Téléchargements/ufasoft_coin-0.92/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... /usr/bin/g++
checking for pcre_compile in -lpcre... yes
checking for pthread_create in -lpthread... yes
checking for __gmpz_init in -lgmp... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking for JANSSON... yes
checking for SQLITE3... no
checking for XML... no
checking for OPENSSL... yes
checking for UDEV... no
checking for clock_gettime in -lrt... yes
checking for library containing dlopen... -ldl
checking for library containing iconv... none required
checking for gcc... yes
checking whether C++ compiler accepts -std=c++1y... no
checking for pthread_setname_np... yes
checking for OpenCL... no
checking for cal.h... no
checking how to run the C++ preprocessor... g++ -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 boost/random/mersenne_twister.hpp usability... no
checking boost/random/mersenne_twister.hpp presence... no
checking for boost/random/mersenne_twister.hpp... no
checking for jwasm... jwasm
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands



------------------------------------------------------------------------
ufasoft_coin 0.92
------------------------------------------------------------------------


Configuration Options Summary:

  OpenCL...............: NOT FOUND. GPU mining support DISABLED
  libudev..............: no

coind build disabled, following libs are missing:
  libxml2-dev
  SQLite3


Compilation............: make (gmake on FreeBSD)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2   
  CXXFLAGS.............. -g -O2 -std=c++0x
  LDFLAGS..............:   
  LDADD................: -lcurl  -ljansson 

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


It still shows libxml2-dev and SQLite3 as missing whereas they're present. I don't know if I need to copy/move some file in some directory to make them appear in the search?

Command "make":

Quote
epsylon@Gemini ~/Téléchargements/ufasoft_coin-0.92 $ make
g++ -DHAVE_CONFIG_H -I.  -I coin/util -I coin/miner -I foreign -pthread   -Wno-invalid-offsetof  -g -O2 -std=c++0x -c el/ext.h
make  all-am
make[1]: entrant dans le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.92 »
  CXX      el/crypto/sha256.o
  CXX      el/crypto/sha512.o
  CXX      el/crypto/sha-3.o
  CC       foreign/sphlib/keccak.o
  CXX      el/crypto/scrypt.o
  CXX      el/crypto/salsa20.o
  CXX      coin/util/util.o
  CXX      coin/util/base58.o
  CXX      coin/util/prime-util.o
  CXX      coin/util/momentum.o
  CC       coin/util/metis-imp.o
  CXX      coin/util/metis.o
  CC       foreign/sphlib/aes_helper.o
  CC       foreign/sphlib/shavite.o
  CXX      coin/miner/bitcoin-miner.o
  CXX      coin/miner/bitcoin-sha256.o
  CXX      coin/miner/miner.o
  CXX      coin/miner/stratum-client.o
  CXX      coin/miner/dynclock.o
  CXX      coin/miner/serial-device.o
  CXX      coin/miner/miner-bitforce.o
  CXX      coin/miner/miner-fpga-modminer.o
  CXX      coin/util/block-template.o
  CXX      coin/miner/hasher/hasher-sha256.o
  CXX      coin/miner/hasher/hasher-sha3.o
  CXX      coin/miner/hasher/hasher-metis.o
  CXX      coin/miner/hasher/hasher-prime.o
  CXX      coin/miner/hasher/hasher-scrypt.o
  CXX      coin/miner/xpt.o
  CXX      coin/miner/xpt-message.o
g++ -DHAVE_CONFIG_H -I.  -I coin/util -I coin/miner -I foreign -pthread   -Wno-invalid-offsetof  -g -O2 -std=c++0x -c -msse2 -o coin/miner/bitcoin-sha256-x86x64.o coin/miner/bitcoin-sha256-x86x64.cpp
  CXX      el/libext/ext-protocols.o
  CXX      el/libext/ext-handlers.o
  CXX      el/libext/ext-encoding.o
  CXX      el/libext/threader.o
  CXX      el/libext/ext-file.o
  CXX      el/libext/ext-fw.o
  CXX      el/libext/datetime.o
  CXX      el/libext/ext-base.o
  CXX      el/libext/ext-os.o
  CXX      el/libext/ext-app.o
  CXX      el/libext/ext-string.o
  CXX      el/libext/ext-blob.o
  CXX      el/libext/ext-stream.o
  CXX      el/libext/ext-core.o
  CXX      el/libext/ext-ip-address.o
  CXX      el/libext/ext-net.o
  CXX      el/libext/mapped-file.o
  CXX      el/libext/sockets.o
  CXX      el/libext/varvalue.o
  CXX      el/libext/ext-json.o
  CXX      el/libext/http.o
  CXX      el/libext/stack-trace.o
  CXX      el/libext/binary-reader-writer.o
  CXX      el/libext/murmurhash.o
  CXX      el/libext/bignum.o
  CXX      el/inet/async-text-client.o
  CXX      el/inet/json-rpc.o
  CXX      el/inet/detect-global-ip.o
  CXX      el/inet/p2p-net.o
  CXX      el/inet/p2p-peers.o
  CXX      el/num/mod.o
  CXX      el/num/num.o
  CXX      el/num/prime.o
  CXX      el/stl/codecvt.o
  CXX      el/stl/filesystem.o
jwasm -DX64=1 -10 -elf64 -nologo -zcw -c -Focoin/miner/bitcoin_sha256_x86x64.o -Iel/comp coin/miner/bitcoin_sha256_x86x64.asm
coin/miner/bitcoin_sha256_x86x64.asm: 534 lines, 2 passes, 0 ms, 0 warnings, 0 errors
jwasm -DX64=1 -10 -elf64 -nologo -zcw -c -Focoin/miner/bitset-op.o -Iel/comp coin/miner/bitset-op.asm
coin/miner/bitset-op.asm: 165 lines, 2 passes, 0 ms, 0 warnings, 0 errors
jwasm -DX64=1 -10 -elf64 -nologo -zcw -c -Foel/libext/x86x64/memcpy_aligned_x86x64.o -Iel/comp el/libext/x86x64/memcpy_aligned_x86x64.asm
el/libext/x86x64/memcpy_aligned_x86x64.asm: 77 lines, 2 passes, 0 ms, 0 warnings, 0 errors
jwasm -DX64=1 -10 -elf64 -nologo -zcw -c -Foel/crypto/x86x64/sha256_x86x64.o -Iel/comp el/crypto/x86x64/sha256_x86x64.asm
el/crypto/x86x64/sha256_x86x64.asm: 350 lines, 2 passes, 0 ms, 0 warnings, 0 errors
jwasm -DX64=1 -10 -elf64 -nologo -zcw -c -Foel/crypto/x86x64/scrypt_x86x64.o -Iel/comp el/crypto/x86x64/scrypt_x86x64.asm
el/crypto/x86x64/scrypt_x86x64.asm: 617 lines, 2 passes, 0 ms, 0 warnings, 0 errors
  CXX      el/stl/regex.o
  CXXLD    coin-miner
make[1]: quittant le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.92 »


Command "sudo make install":

Quote
epsylon@Gemini ~/Téléchargements/ufasoft_coin-0.92 $ sudo make install
[sudo] password for epsylon:
make  install-am
make[1]: entrant dans le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.92 »
make[1]: Dépendance circulaire el/stl/regex <- el/stl/regex abandonnée.
make[1]: Dépendance circulaire el/stl/dynamic_bitset <- el/stl/dynamic_bitset abandonnée.
make[1]: Dépendance circulaire el/stl/codecvt <- el/stl/codecvt abandonnée.
make[1]: Dépendance circulaire el/stl/filesystem <- el/stl/filesystem abandonnée.
make[2]: entrant dans le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.92 »
make[2]: Dépendance circulaire el/stl/regex <- el/stl/regex abandonnée.
make[2]: Dépendance circulaire el/stl/dynamic_bitset <- el/stl/dynamic_bitset abandonnée.
make[2]: Dépendance circulaire el/stl/codecvt <- el/stl/codecvt abandonnée.
make[2]: Dépendance circulaire el/stl/filesystem <- el/stl/filesystem abandonnée.
/bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c coin-miner '/usr/local/bin'
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c -m 644 phatk.cl scrypt.cl '/usr/local/bin'
make[2]: quittant le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.92 »
make[1]: quittant le répertoire « /home/epsylon/Téléchargements/ufasoft_coin-0.92 »


I have some commands like "circular dependency el/stl/... <- el/stl/... abandoned"(not sure if this is the right translation in English) appearing and it still doesn't work. Is there some script I need to alter in the files to make it work or something like that?

Thank you for your help and sorry for the disturbance. 


Epsylon80

I also noticed that there are two executable files in usr/local/bin called "minerd" and "coin-miner" but nothing happens when I click them or when I right-click them and choose "execute". Should I use some command to make them load (sorry, I'm new to Linux).  :-[

ufasoft

executables are: coind and coin-miner.
coind does not works under Linux yet. It is a module compiled from working sources for Windows.

Epsylon80

Okay, so I have to use "coin-miner". But what should I do to run the program? When I'm typing "coin-miner" in the terminal it's only showing that:

Quote
epsylon@Gemini ~ $ coin-miner
coin-miner 0.92  Copyright (c) 2011-2014 Ufasoft  http://ufasoft.com/coin
Usage: coin-miner {-options}
Options:
  -a scrypt|prime|metis|keccak|sha256|<seconds>   hashing algorithm or time between getwork requests 1..60, default 15
  -A user-agent       Set custom User-agent string in HTTP header, default: Ufasoft bitcoin miner
  -g yes|no           set 'no' to disable GPU, default 'yes'
  -h                  this help
  -i index|name       select device from Device List, can be used multiple times, default - all devices
  -I intensity        Intensity of GPU usage [-10..10], default 0
  -l yes|no           set 'no' to disable Long-Polling, default 'yes'
  -o url              in form http://user:password@server.tld:port/path, stratum+tcp://server.tld:port, by default http://127.0.0.1:8332
  -t threads          Number of threads for CPU mining, 0..256, by default is number of CPUs (Cores), 0 - disable CPU mining
  -v                  Verbose output
  -x type=host:port   Use HTTP or SOCKS proxy. Examples: -x http=127.0.0.1:3128, -x socks=127.0.0.1:1080

Device List:
  1. CPU   Intel(R) Pentium(R) CPU G3220 @ 3.00GHz, 1 core


Thank you!

Epsylon80

I tried this:

Quote
epsylon@Gemini ~ $ sudo coin-miner {-a 15 -A Ufasoft bitcoin miner -g no -i 1 -I 0 -l yes -o http://127.0.0.1:8332 -t 1 -v -x http=127.0.0.1:3128}
coin-miner 0.92  Copyright (c) 2011-2014 Ufasoft  http://ufasoft.com/coin
Mining for http://127.0.0.1:8332
Using CPU (1 threads)
Error 80070057


What's error 80070057?

ufasoft

"-x proxy" option was never tested under Linux.

Error 80070057 means "Invalid arg".

Epsylon80

I tried once more and here is what I get:

Quote
Gemini bin # sudo coin-miner {-a 15 -g no -i 1 -l no -t 1}
coin-miner 0.92  Copyright (c) 2011-2014 Ufasoft  http://ufasoft.com/coin
Mining for http://127.0.0.1:8332
Using CPU (1 threads)
Couldn't connect to server
Couldn't connect to server
Couldn't connect to server
Couldn't connect to server
0 kH/s                             1 CPU
Couldn't connect to server

ufasoft

#9
May 08, 2014, 07:52 pm Last Edit: May 09, 2014, 05:19 pm by ufasoft
Is bitcoind ran in server mode listening 127.0.0.1:8332 >

Go Up