Ad Widget

Collapse

Help me! ARMv7 compile error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clemmieharber
    Junior Member
    • Jul 2021
    • 1

    #1

    Help me! ARMv7 compile error

    Hi all,

    Using 5.0.8 source and compiling on Armbian I'm getting
    Code:
    HTML Code:
    plugins/proc/procfs_linux.go:248:6: constant 1099511627776 overflows int
    which is
    Code:
    HTML Code:
    v, err := strconv.Atoi(strings.TrimSpace(line[:len(line)-2]))
    To fix this to work on 32 bit platforms you can change this to
    Code:
    HTML Code:
    v, err := strconv.ParseInt(strings.TrimSpace(line[:len(line)-2]),10,64)
    This should not break 64 bit compiles.

    It's handy to have Zabbix Server and Zabbix agents running on 32 bit ARM. It works great.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Try using a newer version of 5.0 instead of 5.0.8.

    ZBX-18945 : 5.2.4 & 5.0.8 agent2 build is broken on Raspbian 10 (Buster) 32bit

    Comment

    Working...