I just downloaded the trunk of the svn tree onto my Solaris Sparc 9 
machine. I successfully ran autogen.sh and configure but when I run make 
I get the following:

 gcc -DHAVE_CONFIG_H -I. -I.. -DSOLARIS -Wall -O3 -MT slp_atomic.lo -MD -MP -MF 
.deps/slp_atomic.Tpo -c slp_atomic.c  -fPIC -DPIC -o .libs/slp_atomic.o
slp_atomic.c: In function `SLPAtomicInc':
slp_atomic.c:221: warning: implicit declaration of function 
`sparc_atomic_add_32'
slp_atomic.c: In function `SLPAtomicXchg':
slp_atomic.c:316: error: `g_atomic_mutex' undeclared (first use in this 
function)
slp_atomic.c:316: error: (Each undeclared identifier is reported only once
slp_atomic.c:316: error: for each function it appears in.)
slp_atomic.c: At top level:
slp_atomic.c:145: warning: `sparc_asm_code' defined but not used
make[2]: *** [slp_atomic.lo] Error 1
make[2]: Leaving directory `/files/jm/openslp/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/files/jm/openslp'


Looks like this function is created via some in-line assembly in the 
'static void sparc_asm_code(void)' function? I'm not an asm guy so it is 
a bit foreign to me. Has this code been tested on Solaris Sparc? I tried 
to force "-Dsun -D__sparcv9" as that is what is needed by that function, 
but I got the same results.

Thoughts?

$ uname -a         
SunOS re-Sol9Sparc 5.9 Generic_112233-01 sun4u sparc SUNW,Ultra-30

$ automake --version
automake (GNU automake) 1.10

$ autoconf --version
autoconf (GNU Autoconf) 2.60

$ gcc --version
gcc (GCC) 3.3.2

-- 
Jim Marshall
Sr. Staff Engineer
WBEM Solutions, Inc.
978-947-3607


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users

Reply via email to