[ROOT] MacOSX 10.3 (Panther) , compile issue with TProofServ.cxx

From: Edmond Offermann (edmondoffermann@yahoo.com)
Date: Thu Oct 30 2003 - 16:12:38 MET


Dear all,

Made a (smooth) jump to MacOSX 10.3 Panther but
got a problem with the compilation of
ROOT Version 3.10/01 (and the cvs version of today)
in TProofServ.cxx, see below.
Anybody solved this already ?

compiler specs:
~/tmp> g++ -v
Reading specs from
/usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build
1495)

error message:

g++ -O -pipe -W -Wall -fsigned-char -fno-common
-I/usr/X11R6/include -Iinclude -DHAVE_CONFIG
-I/Users/eddyo/include/root-3.10.00/ 
-DPower_Macintosh -DDarwin -w  -pipe -fsigned-char
-fno-common -fsigned-char      -g  -I./     
-I/sw/include  -o proof/src/TProofServ.o -c
proof/src/TProofServ.cxx
In file included from /usr/include/pthread.h:61,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from include/Riosfwd.h:23,
                 from include/TObject.h:40,
                 from include/TApplication.h:29,
                 from include/TProofServ.h:28,
                 from proof/src/TProofServ.cxx:44:
/usr/include/unistd.h:215: error: parse error before
`,' token
In file included from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from include/Riosfwd.h:23,
                 from include/TObject.h:40,
                 from include/TApplication.h:29,
                 from include/TProofServ.h:28,
                 from proof/src/TProofServ.cxx:44:
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int flock(int, int)':



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET