Compile error on mac

Hi,

I am trying to compile ROOT on Mac OS X 10.4.10, I have the latest xcode just installed. The error looks like:

g++ -O2 -m64 -pipe -W -Wall -Wno-long-double -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DUSEPCH -include precompile.h -o unix/src/TUnixSystem.o -c unix/src/TUnixSystem.cxx
unix/src/TUnixSystem.cxx: In function ‘void GetDarwinProcInfo(ProcInfo_t*)’:
unix/src/TUnixSystem.cxx:4453: error: ‘GLOBAL_SHARED_TEXT_SEGMENT’ was not declared in this scope
unix/src/TUnixSystem.cxx:4454: error: ‘GLOBAL_SHARED_DATA_SEGMENT’ was not declared in this scope
unix/src/TUnixSystem.cxx:4454: error: ‘SHARED_DATA_REGION_SIZE’ was not declared in this scope
unix/src/TUnixSystem.cxx:4470: error: ‘SHARED_TEXT_REGION_SIZE’ was not declared in this scope
make: *** [unix/src/TUnixSystem.o] Error 1
rm utils/src/RStl_tmp.cxx utils/src/rootcint_tmp.cxx

Thanx,
Balint

Hi,

the problem is due to the -m64 option? Please use default configure options:

./configure
make

(it looks like you modified config/Makefile.macosx or extended the compiler options otherwise).

Cheers, Fons.

PS: Tiger does not fully support 64bit anyways as the libX 64bit lib is missing. Leopard will be ok.