Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 179 by [email protected]: Solaris 10 compilation fails
http://code.google.com/p/memcached/issues/detail?id=179

Problem:

Compilation fails on Solaris 10 U7 and below.

Error:

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -xprofile=tcov -mt -g -errfmt=error -errwarn -errshort=tags -c -o memcached_debug-memcached.o `test -f 'memcached.c' || echo './'`memcached.c cc: libxprof.so is missing from your system, consult documentation for how to obtain it
*** Error code 1
make: Fatal error: Command failed for target `memcached_debug-memcached.o'
Current working directory /usr/distrib/memcached-1.4.5
*** Error code 1

Why it happens:

libxprof.so is not included in Solaris 10 U7 + Solaris Studio 12.2 and below. It can be installed only with kernel patch, which can be obtained via Oracle paid subscription only.

Solution:

Set "PROFILER_FLAGS" to be empty for Solaris by default, or any other workaround solution.

How to reproduce:

Last memcached version on Solaris 10 u6/u7:

1. tar xfv memcached-1.4.5 && cd memcache-1.4.5/
2. ./configure
3. make


Reply via email to