[ROOT] Problem building Root on under Solaris 2.7/CC5.0

From: Eric Prebys (prebys@Princeton.EDU)
Date: Wed Jul 18 2001 - 20:46:24 MEST


I'm a complete novice trying to install root under Solaris 2.7 with
the CC5.0 native compiler. According to the distribution page, the 
Solaris binaries do not work with directly with this OS and I need to 
build it.  

I tried

> ./configure solarisCC5
> gmake

and it got quite a ways into the build before failing with

CC -G -ptr -O -o lib/libPgSQL.so pgsql/src/TPgSQLResult.o
pgsql/src/TPgSQLRow.o pgsql/src/TPgSQLServer.o pgsql/src/G__PgSQL.o
-L/usr/local/pgsql/lib -lpq
CC: Warning: Warning: no directory is given for -ptr, using default
ld: fatal: symbol `long std::abs(long)' is multiply defined:
	(file pgsql/src/TPgSQLResult.o and file pgsql/src/TPgSQLServer.o);
ld: fatal: symbol `std::ldiv_t std::div(long,long)' is multiply defined:
	(file pgsql/src/TPgSQLResult.o and file pgsql/src/TPgSQLServer.o);
ld: fatal: File processing errors. No output written to lib/libPgSQL.so

Any advice would be greatly appreciated.


				Thanks,
				Eric

-- 
---------------------------------------------------------
* Eric Prebys, Physics Department, Princeton University *
* 609-258-4910, FAX: -6360, Email: prebys@princeton.edu *
* WWW: http://www.princeton.edu/~prebys/                *
---------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET