diodechain / diode_client

Diode client written in GO that runs the Blockquick™ algorithm and a socks server to transmit data through diodechain.
https://diode.io/download
Other
65 stars 23 forks source link

Raspberry Pi Bookwork Compile Error #139

Closed jimthedj65 closed 2 months ago

jimthedj65 commented 2 months ago

Hi Guys

Installed the latest diode_client from github repo and when I try to compile on raspberry pi Bookworm

Static hostname: gateway
       Icon name: computer
      Machine ID: 4ecc82d568b7415fa24c4c44c49ee2cb
         Boot ID: 3fa19ed6c7ec41cfbe93c293f2aaaf34
Operating System: Debian GNU/Linux 12 (bookworm)  
          Kernel: Linux 6.1.0-rpi7-rpi-v8
    Architecture: arm64

I get an error

root@gateway:/home/james/diode_client# make
go build -ldflags '-s -r ./ -X "main.version=v0.13.6-3-gb115a55" -X "main.buildTime=25 Apr 2024"' -tags patch_runtime -o diode cmd/diode/*.go
# runtime/cgo
gcc: error: unrecognized command-line option '-marm'
make: *** [Makefile:115: diode] Error 1
dominicletz commented 2 months ago

This is curious, the param -marm is not coming from us but from golang itself why trying to compile bridges (cgo)

jimthedj65 commented 2 months ago

Hi Dom I resolved this bookworm requires go1.21.6.linux-arm64.tar.gz, not the arm6l version etc. Compiles fine now

jimthedj65 commented 2 months ago

resolved now