Hi and happy new year everyone,
i`m trying build 1.8.3. under solaris 10.
CFLAGS="-I./include -I/usr/sfw/include -I/opt/csw/include -I/opt/csw/include/mysql" ./configure --enable-server --with-mysql=/opt/csw/mysql5/lib/mysql/libmysqlclient.so
Succesfully done
And while building get this error:
--------------------------------------------------------
Undefined first referenced
symbol in file
mysql_next_result ../../src/libs/zbxdb/libzbxdb.a(db.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 /root/install/zabbix-1.8.3/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 dbsyncer dbconfig discoverer housekeeper httppoller nodewatcher pinger poller timer trapper utils watchdog escalator proxypoller'; 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 /root/install/zabbix-1.8.3/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 /root/install/zabbix-1.8.3/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 create man misc upgrades'; 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'
-----------------------------------------------------------
LPby on this forum had very similiar problem, he sold it by CFLAGS and copying header files from /opt/csw to zabbix include directory, but this is not working on my box. Has someone any ideas? Thx
i`m trying build 1.8.3. under solaris 10.
CFLAGS="-I./include -I/usr/sfw/include -I/opt/csw/include -I/opt/csw/include/mysql" ./configure --enable-server --with-mysql=/opt/csw/mysql5/lib/mysql/libmysqlclient.so
Succesfully done
And while building get this error:
--------------------------------------------------------
Undefined first referenced
symbol in file
mysql_next_result ../../src/libs/zbxdb/libzbxdb.a(db.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 /root/install/zabbix-1.8.3/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 dbsyncer dbconfig discoverer housekeeper httppoller nodewatcher pinger poller timer trapper utils watchdog escalator proxypoller'; 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 /root/install/zabbix-1.8.3/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 /root/install/zabbix-1.8.3/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 create man misc upgrades'; 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'
-----------------------------------------------------------
LPby on this forum had very similiar problem, he sold it by CFLAGS and copying header files from /opt/csw to zabbix include directory, but this is not working on my box. Has someone any ideas? Thx