Hello all,
I was so happy earlier to finally get Sysbench to compile (thanks to all the
brains here).
Unfortunately as much as I wanted to solve my next compilation issue myself, I
can't. Both me and my SA have been working on this but we cannot get a grip on
this.
The issue involves compiling super-smack-1.3 on Solaris 10. configure runs fine
but make produces the following output
##############
make all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include -g -O2 -c
super-smack.cc
In file included from /usr/include/sys/wait.h:24,
from /usr/include/stdlib.h:22,
from /usr/local/include/c++/3.3.2/cstdlib:52,
from /usr/local/include/c++/3.3.2/bits/stl_algobase.h:67,
from /usr/local/include/c++/3.3.2/memory:54,
from /usr/local/include/c++/3.3.2/string:48,
from /usr/local/include/c++/3.3.2/bits/locale_classes.h:47,
from /usr/local/include/c++/3.3.2/bits/ios_base.h:47,
from /usr/local/include/c++/3.3.2/ios:49,
from /usr/local/include/c++/3.3.2/ostream:45,
from /usr/local/include/c++/3.3.2/iostream:45,
from super-smack.cc:22:
/usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but is not
defined as a type.
/usr/include/sys/siginfo.h:390: error: 'ctid_t' is used as a type, but is not
defined as a type.
*** Error code 1
make: Fatal error: Command failed for target `super-smack.o'
Current working directory /home/fmashraqi/install/bench/ss/super-smack-1.3/src
*** Error code 1
The following command caused the error:
set fnord ; amf=$2; \
dot_seen=no; \
target=`echo all-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) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
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 /home/fmashraqi/install/bench/ss/super-smack-1.3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
############
I cannot figure out why it will be complaining for contract id (ctdid) header
not present in /usr/include/sys/siginfo.
Once again this is probably something really trivial and 101 but I can really
use some input.
Thanks in advance,
Frank
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]