Hi,
Could you tell me:
What configure lines you used?
What your PATH looks like?
MC
On 1 Jul 2009, at 16:29, jess wrote:
I'm trying to compile memcached 1.2.8 on Solaris 10 using Sun Studio
12 with dtrace probes enabled and am getting the following error. I
was just wondering if anyone has had any luck here, or may be able
to recognize the issue.
Thanks,
Jess
--SunOS admin01 5.10 Generic_127111-06 sun4v sparc SUNW,Sun-Fire-T200
make all-recursive
Making all in doc
source='memcached.c' object='memcached-memcached.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/memcached/include -m64 -
fast -xipo -xtarget=generic -m64 -c -o memcached-memcached.o `test -
f 'memcached.c' || echo './'`memcached.c
"memcached.c", line 721: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"memcached.c", line 2977: warning: implicit function declaration:
daemon
source='slabs.c' object='memcached-slabs.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/memcached/include -m64 -
fast -xipo -xtarget=generic -m64 -c -o memcached-slabs.o `test -f
'slabs.c' || echo './'`slabs.c
"slabs.c", line 260: warning: pointer to void or function used in
arithmetic
"slabs.c", line 428: warning: pointer to void or function used in
arithmetic
source='items.c' object='memcached-items.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/memcached/include -m64 -
fast -xipo -xtarget=generic -m64 -c -o memcached-items.o `test -f
'items.c' || echo './'`items.c
source='assoc.c' object='memcached-assoc.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/memcached/include -m64 -
fast -xipo -xtarget=generic -m64 -c -o memcached-assoc.o `test -f
'assoc.c' || echo './'`assoc.c
"assoc.c", line 509: warning: argument #1 is incompatible with
prototype:
prototype: pointer to char : "memcached_dtrace.h", line 143
argument : pointer to const char
"assoc.c", line 615: warning: argument #1 is incompatible with
prototype:
prototype: pointer to char : "memcached_dtrace.h", line 141
argument : pointer to const char
source='thread.c' object='memcached-thread.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/memcached/include -m64 -
fast -xipo -xtarget=generic -m64 -c -o memcached-thread.o `test -f
'thread.c' || echo './'`thread.c
source='stats.c' object='memcached-stats.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -DNDEBUG -I/opt/memcached/include -m64 -
fast -xipo -xtarget=generic -m64 -c -o memcached-stats.o `test -f
'stats.c' || echo './'`stats.c
/usr/sbin/dtrace -G -o memcached_dtrace.o -s ./memcached_dtrace.d
memcached-memcached.o memcached-slabs.o memcached-items.o
memcached-assoc.o memcached-thread.o memcached-stats.o
source='daemon.c' object='daemon.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
cc -DHAVE_CONFIG_H -I. -I/opt/memcached/include -m64 -fast -xipo
-xtarget=generic -m64 -c daemon.c
cc -m64 -fast -xipo -xtarget=generic -m64 -L/opt/memcached/lib -o
memcached memcached-memcached.o memcached-slabs.o memcached-
items.o memcached-assoc.o memcached-thread.o memcached-stats.o
memcached_dtrace.o daemon.o -lmalloc -lnsl -lsocket -levent
Undefined first referenced
symbol in file
__dtrace_memcached___slabs__slabclass__allocate memcached-slabs.o
__dtrace_memcached___command__get memcached-memcached.o
__dtrace_memcached___conn__create memcached-memcached.o
__dtrace_memcached___item__update memcached-items.o
__dtrace_memcached___item__unlink memcached-memcached.o
__dtrace_memcached___item__remove memcached-memcached.o
$dtrace11388.process_command memcached_dtrace.o
$dtrace11388.conn_set_state memcached_dtrace.o
__dtrace_memcached___item__link memcached-memcached.o
__dtrace_memcached___command__delete memcached-memcached.o
$dtrace11388.process_delete_command memcached_dtrace.o
$dtrace11388.drive_machine memcached_dtrace.o
__dtrace_memcached___conn__release memcached-memcached.o
__dtrace_memcached___slabs__slabclass__allocate__failed memcached-
slabs.o
__dtrace_memcached___process__command__end memcached-memcached.o
$dtrace11388.process_get_command memcached_dtrace.o
__dtrace_memcached___conn__destroy memcached-memcached.o
$dtrace11388.out_string memcached_dtrace.o
__dtrace_memcached___command__decr memcached-memcached.o
__dtrace_memcached___command__incr memcached-memcached.o
__dtrace_memcached___command__gets memcached-memcached.o
__dtrace_memcached___slabs__allocate memcached-slabs.o
__dtrace_memcached___conn__allocate memcached-memcached.o
__dtrace_memcached___conn__dispatch memcached-memcached.o
__dtrace_memcached___assoc__insert memcached-memcached.o
__dtrace_memcached___process__command__start memcached-memcached.o
__dtrace_memcached___assoc__delete memcached-memcached.o
$dtrace11388.conn_free memcached_dtrace.o
__dtrace_memcached___slabs__allocate__failed memcached-slabs.o
$dtrace11388.event_handler memcached_dtrace.o
__dtrace_memcached___slabs__free memcached-memcached.o
__dtrace_memcached___assoc__find memcached-assoc.o
__dtrace_memcached___item__replace memcached-memcached.o
ld: fatal: Symbol referencing errors. No output written to memcached
*** Error code 1
make: Fatal error: Command failed for target `memcached'
Current working directory /data/home/jess/memcached-1.2.8
*** 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'; 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 /data/home/jess/memcached-1.2.8
*** Error code 1
make: Fatal error: Command failed for target `all'
--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org