Ad Widget

Collapse

Compilation errors on Solaris 10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Astrego
    Junior Member
    • Nov 2005
    • 6

    #1

    Compilation errors on Solaris 10

    Hi,

    I cannot get zabbix to compile on Solaris 10, I configured it with:

    ./configure --enable-server --with-mysql --prefix=/opt/zabbix

    Undefined first referenced
    symbol in file
    mysql_autocommit ../libs/zbxdbhigh/libzbxdbhigh.a(db.o)
    __UINT64_C nodewatcher/libzbxnodewatcher.a(nodewatcher.o)
    ld: fatal: Symbol referencing errors. No output written to zabbix_server
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `zabbix_server'
    Current working directory /export/home/jas/zabbix-1.3.1/src/zabbix_server
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo install-recursive | sed s/-recursive//`; \
    list='alerter housekeeper pinger poller timer trapper nodewatcher utils'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `install-recursive'
    Current working directory /export/home/jas/zabbix-1.3.1/src/zabbix_server
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo install-recursive | sed s/-recursive//`; \
    list=' libs zabbix_server'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `install-recursive'
    Current working directory /export/home/jas/zabbix-1.3.1/src
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo install-recursive | sed s/-recursive//`; \
    list='src'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `install-recursive'
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this. Currently we are doing development of 1.3.x on Linux with minimal testing on other platforms. Much more serious multi-platform testing will be performed prior to release of 1.4 and latest betas of 1.3.x series.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      I believe it is fixed in pre 1.3.2.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • AndyB
        Junior Member
        • Jan 2007
        • 1

        #4
        More Solaris 10 Compiling Issues

        I'm having problems compiling v1.3.2 on Solaris 10 U2 / SPARC. Configured with:
        • enable-server
        • enable-agent
        • with-sqlite3

        I tried only compiling the server, then only the agent - still bombs. Any ideas? I've attached the output (hopefully it will work). It looks like a problem with the sqlite library, but I don't know what it could be.

        Thanks.

        Andy
        Attached Files

        Comment

        Working...