miner icon indicating copy to clipboard operation
miner copied to clipboard

MAKE error

Open garzeth opened this issue 3 years ago • 12 comments

when building the miner it would suddenly fail

garzeth avatar May 19 '22 08:05 garzeth

Hello, pls can you provide more information and attach some screenshots.

tendo-abc avatar Jun 06 '22 11:06 tendo-abc

wait I never knew someone was going to reply to this issue 😅 Its been almost 19 days now

garzeth avatar Jun 06 '22 12:06 garzeth

wait let me get a screenshot

garzeth avatar Jun 06 '22 12:06 garzeth

Screenshot_2022-06-06-20-21-44-91

garzeth avatar Jun 06 '22 12:06 garzeth

this is how I configured miner

git clone https://github.com/mintme-com/miner cd miner mkdir build cmake .. make and then gives me error

garzeth avatar Jun 06 '22 12:06 garzeth

it's the same issue as issue #35

garzeth avatar Jun 06 '22 12:06 garzeth

I don't recognize this specific error, but it does fail to build with GCC 4.8 or older, even on x86_64. That means Debian Buster or CentOS 7. If you can provide more information about your system, then it will be more likely that someone can figure out what's wrong and respond.

dark-penguin avatar Jul 11 '22 15:07 dark-penguin

I've just confirmed that it build just fine on Raspbian Bullseye (out of the box 2022-04-04-raspios-bullseye-arm64-lite.img ) using Qemu configured to emulate a Raspberry Pi 3b. If you are using Buster, you would have to upgrade to Bullseye, or use Docker, if it's available for your platform. (I've filed a PR #38 to include a Dockerfile; you can get it from my fork, docker branch.)

dark-penguin avatar Jul 13 '22 07:07 dark-penguin

its a arm64 phone

garzeth avatar Jul 20 '22 13:07 garzeth

with gcc 9 and its on ubuntu 20.04

garzeth avatar Jul 20 '22 13:07 garzeth

I can confirm this on Ubuntu 20.04 on amd64 as well. I suppose this is the same problem: gcc not modern enough, even though it's more modern than in Buster..

# On Ubuntu 20.04:
Package: gcc
Architecture: amd64
Version: 4:9.3.0-1ubuntu2

# On Debian Buster:
Package: gcc
Source: gcc-defaults (1.181)
Version: 4:8.3.0-1

# On Debian Bullseye:
Package: gcc
Source: gcc-defaults (1.190)
Version: 4:10.2.1-1

dark-penguin avatar Jul 20 '22 16:07 dark-penguin

Ummmm, I just confirmed it does not build on Ubuntu 22.04, which should definitely be modern enough by any standards. The error is the same as in this post. (amd64, instructions taken from XMRig build guide, which are exactly the same as for Debian Bullseye which builds fine.)

dark-penguin avatar Jul 24 '22 20:07 dark-penguin