[Spread-users] Building 4.0.0 on Solaris 10 issues

Peter A. Friend pafriend at octavian.org
Thu Jul 19 18:43:54 EDT 2007


First, the environment:

SunOS 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T1000

Reading specs from /usr/local/gcc3.3/lib/gcc-lib/sparc-sun- 
solaris2.10/3.3.4/specs
Configured with: ../gcc3.3/configure --prefix=/usr/local/gcc3.3 -- 
with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --without-gnu-ld -- 
enable-threads=posix --enable-languages=c,c++,objc --disable-shared -- 
disable-nls --disable-libgcj
Thread model: posix
gcc version 3.3.4

When building examples the flush_user target fails due to a  
dependency on the functions in the stdutil library. Addition of:

../stdutil/lib/libstdutil.a

to the dependency and link corrects the problem.

The nanosleep function requires librt. Solaris is a bit weird about  
this, I think libposix4 showed up in 6, then librt showed up in 8  
with some stuff moved around. As a result, I have lots of things like  
this in my configure.ac:

AC_SEARCH_LIBS(shm_open, rt posix4, [], [])

The same needs to be added for nanosleep.

Those were the only build issues I encountered, nice work folks. :-)

Cheers,

Peter






More information about the Spread-users mailing list