Hi Ying,
You may also get some good feedback, for non-OpenSolaris Sun Studio
questions, in the Sun Studio forums:
http://forum.sun.com/jive/category.jspa?categoryID=140
/kso
Ying Kit Cheung wrote:
Hi all,
I want to perform a benchmark using sysbench for mysql on solaris x64 box, but
I found that compile failure for both gcc and sun studio 11.
============== Error messages ========================================
bash-3.00# PATH=/opt/mysql/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin
bash-3.00#./configure
bash-3.00# make
Making all in doc
Making all in scripts
Making all in sysbench
Making all in drivers
Making all in mysql
source='drv_mysql.c' object='libsbmysql_a-drv_mysql.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I/opt/mysql/include/mysql -xO3
-mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt
-xtarget=opteron -xarch=amd64 -xregs=no%frameptr -I../.. -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_GNU_SOURCE -W -Wall -Wpointer-arith -Wbad-function-cast
-Wstrict-prototypes -Wnested-externs -Winline -funroll-loops
-fomit-frame-pointer -g -c -o libsbmysql_a-drv_mysql.o `test -f 'drv_mysql.c'
|| echo './'`drv_mysql.c
cc: illegal option -W-Wall
*** Error code 1
make: Fatal error: Command failed for target `libsbmysql_a-drv_mysql.o'
Current working directory /tank/root/temp/sysbench-0.4.0/sysbench/drivers/mysql
*** 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 all-recursive | sed s/-recursive//`; \
list='mysql '; 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 `all-recursive'
Current working directory /tank/root/temp/sysbench-0.4.0/sysbench/drivers
*** 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 all-recursive | sed s/-recursive//`; \
list='drivers tests .'; 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 `all-recursive'
Current working directory /tank/root/temp/sysbench-0.4.0/sysbench
*** 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 all-recursive | sed s/-recursive//`; \
list='doc scripts sysbench'; 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 `all-recursive'
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]
--
Kuldip Oberoi
Product Line Mgr, Sun Studio
(Web) http://developer.sun.com/sunstudio
(Blog) http://blog.sun.com/koberoi
_______________________________________________
opensolaris-discuss mailing list
[email protected]