I’m new in Mac systems.
I’m having a problem in compiling the root cern v5.32.00 on mac lion. What i did:
First. I installed Xcode 4.2 from appstore.
Second. I installed gfortran via Homebrew.
After write:
cd /opt/local/root_v5-32-00
./configure --with-f77=/usr/local/bin/gfortran
make -j 3
I got de following error:
==> lib/libRLDAP.so done
clang++ -dynamiclib -single_module -Wl,-dead_strip_dylibs -install_name @rpath/libminicern.so -O2 -m64 -mmacosx-version-min=10.7 -o lib/libminicern.so misc/minicern/src/cernlib.o -ldl misc/minicern/src/hbook.o misc/minicern/src/kernlib.o misc/minicern/src/zebra.o /usr/local/Cellar/gfortran/4.2.4-5666.3/bin/…/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.a
Undefined symbols for architecture x86_64:
"__gfortran_st_write", referenced from:
hgntf in hbook.o
hnbuff in hbook.o
hldirt in hbook.o
hldir in hbook.o
hpath in hbook.o
hnhdwr in hbook.o
hnbfwr in hbook.o
…
"__gfortran_transfer_character", referenced from:
hgntf in hbook.o
hnbuff in hbook.o
hldirt in hbook.o
hldir in hbook.o
hpath in hbook.o
hnhdwr in hbook.o
hnbfwr in hbook.o
…
"__gfortran_st_write_done", referenced from:
hgntf in hbook.o
hnbuff in hbook.o
hldirt in hbook.o
hldir in hbook.o
hpath in hbook.o
hnhdwr in hbook.o
hnbfwr in hbook.o
…
"__gfortran_compare_string", referenced from:
hrend in hbook.o
hldir in hbook.o
hpath in hbook.o
hnhdwr in hbook.o
hnbfwr in hbook.o
hntrd in hbook.o
hnbufr in hbook.o
…
"__gfortran_transfer_integer", referenced from:
hnbuff in hbook.o
hldirt in hbook.o
hnmset in hbook.o
hntvar in hbook.o
hspace in hbook.o
hntrd in hbook.o
hnbufr in hbook.o
…
"__gfortran_concat_string", referenced from:
hldir in hbook.o
hpaff in hbook.o
hbnam in hbook.o
hrfile in hbook.o
hntvar2 in hbook.o
rzpaff in zebra.o
"__gfortran_internal_malloc", referenced from:
hpaff in hbook.o
hrfile in hbook.o
hntvar2 in hbook.o
rzpaff in zebra.o
"__gfortran_internal_free", referenced from:
hpaff in hbook.o
hrfile in hbook.o
hntvar2 in hbook.o
rzpaff in zebra.o
"__gfortran_pow_i4_i4", referenced from:
hmachi in hbook.o
"__gfortran_string_index", referenced from:
hbnam in hbook.o
hrfile in hbook.o
hropen in hbook.o
uoptc in kernlib.o
cfopen in kernlib.o
rzfdir in zebra.o
rzopen in zebra.o
…
"__gfortran_st_close", referenced from:
hropen in hbook.o
rzopen in zebra.o
"__gfortran_string_len_trim", referenced from:
cfstat in kernlib.o
cfopen in kernlib.o
"__gfortran_transfer_array", referenced from:
mzlink in zebra.o
rziodo in zebra.o
"__gfortran_st_read", referenced from:
rziodo in zebra.o
rzopen in zebra.o
"__gfortran_st_read_done", referenced from:
rziodo in zebra.o
rzopen in zebra.o
"__gfortran_st_open", referenced from:
rzopen in zebra.o
"__gfortran_st_inquire", referenced from:
rzopen in zebra.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lib/libminicern.so] Error 1
Please, help me with this error.
Thank you in advance,
Renato.