Ad Widget

Collapse

zabbix_agent 1.8.1 on Solaris 10 compilation error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koyur
    Junior Member
    • Feb 2010
    • 1

    #1

    zabbix_agent 1.8.1 on Solaris 10 compilation error

    While trying to compile zabbix_agent on SPARC Solaris 10 i see the following error:
    gcc -g -O2 -o zabbix_agent zabbix_agent.o stats.o cpustat.o diskdevices.o interfaces.o perfstat.o vmstats.o zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/solaris/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxjson/libzbxjson.a -lkvm -lm -lnsl -lkstat -lsocket -lresolv
    Undefined first referenced
    symbol in file
    convert_to_utf8 ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a(file.o)
    ld: fatal: Symbol referencing errors. No output written to zabbix_agent
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `zabbix_agent'

    What might be the problem?
  • sinkr
    Junior Member
    • May 2009
    • 3

    #2
    Hi, I ran into this exact same problem.

    I was able to correct the issue by building the GEDCOM parser library and more specifically the libutf8tools library and then linking with that.

    You can get the package here: http://gedcom-parse.sourceforge.net/
    Originally posted by koyur
    While trying to compile zabbix_agent on SPARC Solaris 10 i see the following error:
    gcc -g -O2 -o zabbix_agent zabbix_agent.o stats.o cpustat.o diskdevices.o interfaces.o perfstat.o vmstats.o zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/solaris/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxjson/libzbxjson.a -lkvm -lm -lnsl -lkstat -lsocket -lresolv
    Undefined first referenced
    symbol in file
    convert_to_utf8 ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a(file.o)
    ld: fatal: Symbol referencing errors. No output written to zabbix_agent
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `zabbix_agent'

    What might be the problem?

    Comment

    Working...