Mac os x 64 bit arch


I have a new macbook and am trying to install root

I use

./configure macosx64 --enable-cern --enable-roofit

but get this error

g++ -O2 -m64 -bind_at_load -o bin/genmap reflex/src/genmap/genmap.o -Llib -lReflex -ldl
ld: warning in reflex/src/genmap/genmap.o, file is not of required architecture
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bin/genmap] Error 1

any ideas??

self reply:

found it! solved here