Pages:
Author

Topic: [ANN] Warthog Crypto Currency - page 4. (Read 2558 times)

newbie
Activity: 99
Merit: 0
July 04, 2023, 11:59:09 PM
#38
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ dpkg-query -l libsecp256k1-0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version        Architecture Description
+++-====================-==============-============-============================================
ii  libsecp256k1-0:amd64 0.1~20170810-2 amd64        library for EC operations on curve secp256k1

This is an older version and may not contain the required secp256k1_ecdsa_recover symbols. In order to get the latest version that supports the required symbols, I need to update to a newer library version. Maybe 20.04 does not support running this project at all
newbie
Activity: 99
Merit: 0
July 04, 2023, 11:26:59 PM
#37
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ LD_LIBRARY_PATH=/home/meirong/youzhu/new/build/src/wallet/./../../thirdparty/secp256k1 ./wart-wallet
Wallet file 'wallet.json' does not exist yet. Create a new wallet file using the '-c' flag.
newbie
Activity: 24
Merit: 2
July 04, 2023, 04:12:03 PM
#36
Please try
Code:
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ LD_LIBRARY_PATH=/home/meirong/youzhu/new/build/src/wallet/./../../thirdparty/secp256k1 ./wart-wallet
newbie
Activity: 99
Merit: 0
July 04, 2023, 01:40:43 PM
#35
After rebuilding and compiling, the startup still fails, and the following error is prompted

meirong@OS-20230306EWPM:~/youzhu/new/build/src$ cd wallet
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ls -a
.  ..  wart-wallet  wart-wallet.p
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ./wart-wallet
./wart-wallet: symbol lookup error: ./wart-wallet: undefined symbol: secp256k1_ecdsa_recover

What is the output of this?
Code:
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ldd wart-wallet

meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ldd wart-wallet
        linux-vdso.so.1 (0x00007fffcf86b000)
        libsecp256k1.so => /usr/local/lib/libsecp256k1.so (0x00007fb2c4f72000)
        libuv.so.1 => /home/meirong/youzhu/new/build/src/wallet/./../../subprojects/libuv-v1.44.2/libuv.so.1 (0x00007fb2c4f2f000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb2c4d00000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb2c4ce0000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb2c4cbd000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb2c4ab0000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb2c4aa0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb2c4951000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb2c529e000)
newbie
Activity: 24
Merit: 2
July 04, 2023, 12:21:01 PM
#34
After rebuilding and compiling, the startup still fails, and the following error is prompted

meirong@OS-20230306EWPM:~/youzhu/new/build/src$ cd wallet
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ls -a
.  ..  wart-wallet  wart-wallet.p
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ./wart-wallet
./wart-wallet: symbol lookup error: ./wart-wallet: undefined symbol: secp256k1_ecdsa_recover

What is the output of this?
Code:
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ldd wart-wallet
newbie
Activity: 99
Merit: 0
July 04, 2023, 12:02:28 PM
#33
After rebuilding and compiling, the startup still fails, and the following error is prompted

meirong@OS-20230306EWPM:~/youzhu/new/build/src$ cd wallet
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ls -a
.  ..  wart-wallet  wart-wallet.p
meirong@OS-20230306EWPM:~/youzhu/new/build/src/wallet$ ./wart-wallet
./wart-wallet: symbol lookup error: ./wart-wallet: undefined symbol: secp256k1_ecdsa_recover
newbie
Activity: 99
Merit: 0
July 04, 2023, 12:00:20 PM
#32
meirong@OS-20230306EWPM:~/youzhu/new/build$ ninja
[156/212] Compiling C object src/miner/wart-miner.p/third_party_cpuminer-opt_sph_sha2.c.o
../src/miner/third_party/cpuminer-opt/sph_sha2.c:822: warning: ISO C forbids an empty translation unit [-Wpedantic]
[170/212] Compiling C object src/miner/wart-miner.p/third_party_cpuminer-opt_sha256-hash-opt.c.o
In file included from ../src/miner/third_party/cpuminer-opt/simd-utils.h:155,
                 from ../src/miner/third_party/cpuminer-opt/sha256-hash-opt.c:14:
../src/miner/third_party/cpuminer-opt/simd-utils/simd-int.h:55:18: warning: ISO C does not support ‘__int128’ types [-Wpedantic]
   55 | typedef          __int128  int128_t;
      |                  ^~~~~~~~
../src/miner/third_party/cpuminer-opt/simd-utils/simd-int.h:56:18: warning: ISO C does not support ‘__int128’ types [-Wpedantic]
   56 | typedef unsigned __int128 uint128_t;
      |                  ^~~~~~~~
[212/212] Linking target src/miner/wart-miner
meirong@OS-20230306EWPM:~/youzhu/new/build$
newbie
Activity: 99
Merit: 0
July 04, 2023, 11:38:53 AM
#31
May I ask which folder the node program is in, and what is the directory path? Where is the directory path of wart-wallet?
The important executables are in these directories:
Code:
src
├── miner
│   └── wart-miner
├── node
│   └── wart-node
└── wallet
    └── wart-wallet
These distro packages are not relevant:
Code:
meirong@OS-20230306EWPM:~/Warthog$ dpkg -l | grep libsecp256k1
ii  libsecp256k1-0:amd64                   0.1~20170810-2                    amd64        library for EC operations on curve secp256k1
ii  libsecp256k1-dev:amd64                 0.1~20170810-2                    amd64        library for EC operations on curve secp256k1 - development headers
secp256k1 is built statically and shipped with the repo. No need for this to be installed.


I delete the directory and try to rebuild and compile. If it doesn't work, I can only give up this project


meirong@OS-20230306EWPM:~/youzhu/new/build$ meson ..
The Meson build system
Version: 1.1.1
Source dir: /home/meirong/youzhu/new
Build dir: /home/meirong/youzhu/new/build
Build type: native build
Project name: Warthog
Project version: 0.1
C compiler for the host machine: ccache cc (gcc 11.1.0 "cc (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
C linker for the host machine: cc ld.bfd 2.34
C++ compiler for the host machine: ccache c++ (gcc 11.1.0 "c++ (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64

Executing subproject libuv

libuv| Project name: libuv
libuv| Project version: 1.44.2
libuv| C compiler for the host machine: ccache cc (gcc 11.1.0 "cc (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
libuv| C linker for the host machine: cc ld.bfd 2.34
libuv| Fetching value of define "__QNX__" :
libuv| Fetching value of define "_AIX" :
libuv| Message: System: linux
libuv| Compiler for C supports arguments -fno-strict-aliasing: YES
libuv| Run-time dependency threads found: YES
libuv| Library dl found: YES
libuv| Library rt found: YES
libuv| Build targets in project: 1
libuv| Subproject libuv finished.

Using sqlite3 source from cache.
Downloading sqlite3 patch from https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error .. Trying after a delay...
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error .. Trying after a delay...
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error .. Trying after a delay...
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error .. Trying after a delay...
Download size: 1658
Downloading: ..........

Executing subproject sqlite3

sqlite3| Project name: sqlite3
sqlite3| Project version: 3.39.3
sqlite3| C compiler for the host machine: ccache cc (gcc 11.1.0 "cc (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0")
sqlite3| C linker for the host machine: cc ld.bfd 2.34
sqlite3| Run-time dependency dl found: YES
sqlite3| Library m found: YES
sqlite3| Dependency threads found: YES unknown (cached)
sqlite3| Build targets in project: 2
sqlite3| Subproject sqlite3 finished.

Dependency threads found: YES unknown (cached)
Build targets in project: 8

Warthog 0.1

  Subprojects
    libuv  : YES
    sqlite3: YES

Found ninja-1.11.1.git.kitware.jobserver-1 at /home/meirong/.local/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
newbie
Activity: 99
Merit: 0
July 04, 2023, 11:34:32 AM
#30
It is not feasible to execute them indiscriminately. I will send you the results after execution, and you will know after looking at them.

meirong@OS-20230306EWPM:~/Warthog/new$ ls -a
.  ..  .clang-format  .git  .gitignore  LICENSE  README  build  meson.build  src  subprojects  thirdparty
meirong@OS-20230306EWPM:~/Warthog/new$ cd build
meirong@OS-20230306EWPM:~/Warthog/new/build$ ls -a
.   .gitignore  .ninja_deps  build.ninja            meson-info  meson-private      src          thirdparty
..  .hgignore   .ninja_log   compile_commands.json  meson-logs  meson-uninstalled  subprojects
meirong@OS-20230306EWPM:~/Warthog/new/build$ cd src
meirong@OS-20230306EWPM:~/Warthog/new/build/src$ ls -a
.  ..  miner  node  shared  wallet
meirong@OS-20230306EWPM:~/Warthog/new/build/src$ ./wart-node --help
-bash: ./wart-node: No such file or directory
meirong@OS-20230306EWPM:~/Warthog/new/build/src$ cd node
meirong@OS-20230306EWPM:~/Warthog/new/build/src/node$ ls -a
.  ..  wart-node  wart-node.p
meirong@OS-20230306EWPM:~/Warthog/new/build/src/node$ ./wart-node --help
./wart-node: symbol lookup error: ./wart-node: undefined symbol: secp256k1_ecdsa_sign_recoverable
meirong@OS-20230306EWPM:~/Warthog/new/build/src/node$ ./wart-node
./wart-node: symbol lookup error: ./wart-node: undefined symbol: secp256k1_ecdsa_sign_recoverable
meirong@OS-20230306EWPM:~/Warthog/new/build/src/node$ cd ..
meirong@OS-20230306EWPM:~/Warthog/new/build/src$ cd wallet
meirong@OS-20230306EWPM:~/Warthog/new/build/src/wallet$ ./wart-wallet --help
./wart-wallet: symbol lookup error: ./wart-wallet: undefined symbol: secp256k1_ecdsa_recover
meirong@OS-20230306EWPM:~/Warthog/new/build/src/wallet$ ./wart-wallet
./wart-wallet: symbol lookup error: ./wart-wallet: undefined symbol: secp256k1_ecdsa_recover
meirong@OS-20230306EWPM:~/Warthog/new/build/src/wallet$
newbie
Activity: 24
Merit: 2
July 04, 2023, 08:08:52 AM
#29
May I ask which folder the node program is in, and what is the directory path? Where is the directory path of wart-wallet?
The important executables are in these directories:
Code:
src
├── miner
│   └── wart-miner
├── node
│   └── wart-node
└── wallet
    └── wart-wallet
These distro packages are not relevant:
Code:
meirong@OS-20230306EWPM:~/Warthog$ dpkg -l | grep libsecp256k1
ii  libsecp256k1-0:amd64                   0.1~20170810-2                    amd64        library for EC operations on curve secp256k1
ii  libsecp256k1-dev:amd64                 0.1~20170810-2                    amd64        library for EC operations on curve secp256k1 - development headers
secp256k1 is built statically and shipped with the repo. No need for this to be installed.
newbie
Activity: 99
Merit: 0
July 04, 2023, 05:49:22 AM
#28
Got an error when compiling on ubuntu 20.04 LTS:
nicola@WOORKER005:~/war/Warthog/builddir$ meson compile
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja
[25/212] Compiling C object thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
FAILED: thirdparty/uSockets/libusockets.so.p/src_bsd.c.o
cc -I./thirdparty/./uSockets/libusockets.so.p -I./thirdparty/./uSockets -I../thirdparty/uSockets -I../thirdparty/uSockets/src -I../subprojects/libuv-v1.44.2/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -O0 -g -fPIC -pthread -DLIBUS_USE_LIBUV -DLIBUS_NO_SSL -w -MD -MQ thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -MF ./thirdparty/./uSockets/libusockets.so.p/src_bsd.c.o.d -o thirdparty/uSockets/libusockets.so.p/src_bsd.c.o -c ../thirdparty/uSockets/src/bsd.c
../thirdparty/uSockets/src/bsd.c: In function ‘bsd_create_connect_socket’:
../thirdparty/uSockets/src/bsd.c:274:104: error: parameter name omitted
  274 | LIBUS_SOCKET_DESCRIPTOR bsd_create_connect_socket(const char *host, int port, const char *source_host, int /*options*/) {
      |                                                                                                        ^~~
[45/212] Compiling C object subprojects/sqlite-amalgamation-3390300/libsqlite3.so.0.8.6.p/sqlite3.c.o
ninja: build stopped: subcommand failed.


 ubuntu 20.04 LTS The system version does not support
full member
Activity: 442
Merit: 100
July 04, 2023, 05:27:42 AM
#27
Don't copy/move the executable files, start them from the directory where they are generated. Does this help?



It is useless according to what you said, what system version does ubuntu support?

I am able to run and mine this coin on Ubuntu 22.04
newbie
Activity: 99
Merit: 0
July 04, 2023, 03:09:25 AM
#26
Don't copy/move the executable files, start them from the directory where they are generated. Does this help?

It is useless according to what you said, what system version does ubuntu support?
newbie
Activity: 24
Merit: 2
July 03, 2023, 04:29:36 PM
#25
Don't copy/move the executable files, start them from the directory where they are generated. Does this help?
newbie
Activity: 99
Merit: 0
July 03, 2023, 04:14:03 PM
#24
Quote
Haha, I seem to build and compile successfully, it is not easy.
We tested on many new distros and it worked without problems, sorry that 20.04 is not supported out of the box. Pumbaa added a comment on the readme that 20.04 is not supported but you managed to compile on 20.04.
Can you write down the steps into this issue? https://github.com/ByPumbaa/Warthog/issues/2
This person also wanted to compile on 20.04 and with your steps it might work.

Quote
May I ask which 2 programs do I need to run? wallet and which
Posted on: Today at 07:38:36 PM

You need to run the node program to be able to mine.
Then you need to generate a new wallet file and keep it safe. Do this with the "wallet" program, read the help you can access with "./wart-wallet --help`.  You can print your wallet address by adding the "-a" argument after you generated your wallet file "./wart-wallet -a"
Then you need to run the miner with your personal address from the wallet file. Again read the "--help" of the miner, you need to specify the address and number of threads to mine.

Don't forget, the miner only has good performance if you compile everything with "--buildtype=release"! You need to append this to the meson command when you generate the build directory.



meirong@OS-20230306EWPM:~/Warthog$ ./wart-wallet
./wart-wallet: symbol lookup error: ./wart-wallet: undefined symbol: secp256k1_ecdsa_recover

secp256k1  Incompatible library version         
meirong@OS-20230306EWPM:~/Warthog$ dpkg -l | grep libsecp256k1
ii  libsecp256k1-0:amd64                   0.1~20170810-2                    amd64        library for EC operations on curve secp256k1
ii  libsecp256k1-dev:amd64                 0.1~20170810-2                    amd64        library for EC operations on curve secp256k1 - development headers
newbie
Activity: 99
Merit: 0
July 03, 2023, 04:02:27 PM
#23
Quote
Haha, I seem to build and compile successfully, it is not easy.
We tested on many new distros and it worked without problems, sorry that 20.04 is not supported out of the box. Pumbaa added a comment on the readme that 20.04 is not supported but you managed to compile on 20.04.
Can you write down the steps into this issue? https://github.com/ByPumbaa/Warthog/issues/2
This person also wanted to compile on 20.04 and with your steps it might work.

Quote
May I ask which 2 programs do I need to run? wallet and which
Posted on: Today at 07:38:36 PM

You need to run the node program to be able to mine.
Then you need to generate a new wallet file and keep it safe. Do this with the "wallet" program, read the help you can access with "./wart-wallet --help`.  You can print your wallet address by adding the "-a" argument after you generated your wallet file "./wart-wallet -a"
Then you need to run the miner with your personal address from the wallet file. Again read the "--help" of the miner, you need to specify the address and number of threads to mine.

Don't forget, the miner only has good performance if you compile everything with "--buildtype=release"! You need to append this to the meson command when you generate the build directory.



meirong@OS-20230306EWPM:~/Warthog/node$ ls -a
.  ..  wart-node  wart-node.p
meirong@OS-20230306EWPM:~/Warthog/node$ ./wart-node --help
./wart-node: error while loading shared libraries: libusockets.so: cannot open shared object file: No such file or directory
meirong@OS-20230306EWPM:~/Warthog/node$ ./wart-node
./wart-node: error while loading shared libraries: libusockets.so: cannot open shared object file: No such file or directory
newbie
Activity: 99
Merit: 0
July 03, 2023, 03:55:42 PM
#22
May I ask which folder the node program is in, and what is the directory path? Where is the directory path of wart-wallet?
newbie
Activity: 24
Merit: 2
July 03, 2023, 03:51:21 PM
#21
Quote
Haha, I seem to build and compile successfully, it is not easy.
We tested on many new distros and it worked without problems, sorry that 20.04 is not supported out of the box. Pumbaa added a comment on the readme that 20.04 is not supported but you managed to compile on 20.04.
Can you write down the steps into this issue? https://github.com/ByPumbaa/Warthog/issues/2
This person also wanted to compile on 20.04 and with your steps it might work.

Quote
May I ask which 2 programs do I need to run? wallet and which
Posted on: Today at 07:38:36 PM

You need to run the node program to be able to mine.
Then you need to generate a new wallet file and keep it safe. Do this with the "wallet" program, read the help you can access with "./wart-wallet --help`.  You can print your wallet address by adding the "-a" argument after you generated your wallet file "./wart-wallet -a"
Then you need to run the miner with your personal address from the wallet file. Again read the "--help" of the miner, you need to specify the address and number of threads to mine.

Don't forget, the miner only has good performance if you compile everything with "--buildtype=release"! You need to append this to the meson command when you generate the build directory.
newbie
Activity: 99
Merit: 0
July 03, 2023, 03:41:13 PM
#20
Please try again later, this might be a temporary network issue:
Code:
WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/sqlite3_3.39.3-1/get_patch with error .. Trying after a delay...
And don't forget to delete the build directory before you try again.

meirong@OS-20230306EWPM:~/Warthog/new/build/src$ ls -a
.  ..  miner  node  shared  wallet

meirong@OS-20230306EWPM:~/Warthog/new/build/src$ ls -a
. .. miner node shared wallet

May I ask which 2 programs do I need to run? wallet and which
newbie
Activity: 99
Merit: 0
July 03, 2023, 03:38:36 PM
#19
Haha, I seem to build and compile successfully, it is not easy.
meirong@OS-20230306EWPM:~/Warthog/new/build$ ninja --version
1.11.1.git.kitware.jobserver-1
meirong@OS-20230306EWPM:~/Warthog/new/build$ ninja
[153/212] Compiling C object src/miner/wart-miner.p/third_party_cpuminer-opt_sph_sha2.c.o
../src/miner/third_party/cpuminer-opt/sph_sha2.c:822: warning: ISO C forbids an empty translation unit [-Wpedantic]
[168/212] Compiling C object src/miner/wart-miner.p/third_party_cpuminer-opt_sha256-hash-opt.c.o
In file included from ../src/miner/third_party/cpuminer-opt/simd-utils.h:155,
                  from ../src/miner/third_party/cpuminer-opt/sha256-hash-opt.c:14:
../src/miner/third_party/cpuminer-opt/simd-utils/simd-int.h:55:18: warning: ISO C does not support '__int128' types [-Wpedantic]
    55 | typedef __int128 int128_t;
       | ^~~~~~~~
../src/miner/third_party/cpuminer-opt/simd-utils/simd-int.h:56:18: warning: ISO C does not support '__int128' types [-Wpedantic]
    56 | typedef unsigned __int128 uint128_t;
       | ^~~~~~~~
[212/212] Linking target src/miner/wart-miner
Pages:
Jump to: