hi,
i am trying to build ROOT from source on Linux and Solaris platforms.. i followed the instructions to build.. but i get the following errors while running gmake...
ROOT Source Pro Version 4.02/00
LINUX SYSTEM
./configure (with no arguments)
gmake
...
g++ -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -I.
-o base/src/G__Base2.o -c base/src/G__Base2.cxx
base/src/G__Base2.cxx: In function `int G__G__Base2_45_9_6(G__value*, const char*, G__param*, int)': base/src/G__Base2.cxx:7501: `class std::__normal_iterator<char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >' used where a `long int' was expected
base/src/G__Base2.cxx: In function `int G__G__Base2_45_0_7(G__value*, const char*, G__param*, int)': base/src/G__Base2.cxx:7506: `class std::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >' used where a `long int' was expected
base/src/G__Base2.cxx: In function `int G__G__Base2_45_1_7(G__value*, const char*, G__param*, int)': base/src/G__Base2.cxx:7511: `class std::__normal_iterator<char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >' used where a `long int' was expected
base/src/G__Base2.cxx: In function `int G__G__Base2_45_2_7(G__value*, const char*, G__param*, int)': base/src/G__Base2.cxx:7516: `class std::__normal_iterator<const char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >'
used where a `long int' was expected
gmake: *** [base/src/G__Base2.o] Error 1
ON SOLARIS
Error occurs when i enable thread support.
./configure solarisCC5 --enable-thread
gmake
...
READ_SEMANTICS -fast -xarch=v8plus -DXrdDEBUG=0 -I. -I.. -o
../../obj/XrdMain.o XrdMain.cc
Compiling XrdPoll.cc
CC -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -KPIC -DSUNCC
-D_REENTRANT -mt -D_POSIX_PTHREAD_SEMANTICS -fast -xarch=v8plus
-DXrdDEBUG=0 -D_DEVPOLL -I. -I.. -o ../../obj/XrdPoll.o XrdPoll.cc
"/usr/include/sys/poll_impl.h", line 267: Error: A declaration was
expected instead of "}".
1 Error(s) detected.
gmake[5]: *** [../../obj/XrdPoll.o] Error 1 gmake[4]: *** [SunOSall] Error 2 gmake[3]: *** [all] Error 2 gmake[2]: *** [Xrd] Error 2 gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/proj3/users/shadab/yatish/root/xrootd/src/xrootd'gmake: *** [xrootd/src/xrootd/bin/xrootd] Error 2
i believe this error is (maybe) in a system header and not in ROOT.
any pointers regarding these errors will be of great help.
Thanks,
Prince
Received on Thu Mar 31 2005 - 08:23:04 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET