***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Dear all,

I am trying to compile CCP4-6.0. I managed to compile everything except
x-windows/libjwc/libjwc_f (and the dependend programs)

System: Mac OS X 10.4.5 (Dual 2.5 GHz PowerPC G5)
Compilers:
g77 v. 3.4.3
gcc v. 4.0.1 or v. 3.3
g++ v. 4.0.1 or v. 3.3

During the linking step of libjwc_f  I get that strange error message
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
.libs/kwd_opfun.o definition of common _kwd_kun_ (size 4)
.libs/kwd_opfun.o definition of common _kwd_outs_ (size 2050)
.libs/kwd_readline.o definition of common _kwdrdl_ (size 80)
.libs/kwd_readline.o definition of common _kwdrfl_ (size 121)
.libs/kwd_readstr.o definition of common _kwdrs1_ (size 80)
.libs/kwd_readstr.o definition of common _kwdrs2_ (size 121)
.libs/rpf_dstar.o definition of common _rpf_dstar_xx_ (size 12)
.libs/ksm_set_symm.o definition of common _ksm_101_ (size 12288)
.libs/ksm_set_symm.o definition of common _mdfpar_ (size 68)
.libs/trwset.o definition of common _ttcomn_ (size 24)
/usr/bin/libtool: internal link edit command failed
make: *** [libjwc_f.la] Error 1

The linking step was:
/bin/sh ./libtool --mode=link g77 -O2 -I/sw/include -funroll-loops -fno-fast-math -fno-second-underscore -fno-globals -fno-automatic -o libjwc_f.la -rpath /software/ccp4-6.0.0/lib -version-info 1:1:1 kwd_chk_parsekdm.lo kwd_chk_parsesymm.lo kwd_opfun.lo kwd_parseitem.lo kwd_parsekdm.lo kwd_parsesymm.lo kwd_readline.lo kwd_readstr.lo kwd_writekdm.lo kwd_writekdm_symm.lo rpf_dstar.lo rpf_dstar_quick.lo rpf_fracs.lo rpf_isw.lo rpf_lim.lo rpf_lps.lo rpf_predict.lo rpf_qd2.lo rpf_reccel.lo rpf_rsw.lo rpf_rtm.lo rpf_rtod.lo rpf_set_bmatrix.lo rpf_set_mosdet.lo rpf_setax.lo rpf_unq_gen.lo rpf_unq_lims.lo ksm_set_symm.lo ksm_reset.lo ksm_ch_reset.lo ksm_symm_changed.lo ksm_get_symm.lo ksm_get_spgrp.lo ksm_get_nsym.lo ksm_get_sylat.lo ksm_sysabs.lo ksm_sysahk.lo ksm_symm_list.lo ksm_writesymm.lo ksm_asuset.lo ksm_centric.lo ksm_sym_lirl.lo ksm_read_symm.lo ksm_symfr2.lo ksm_symm_str.lo ksm_intfp.lo ksm_bdat.lo cellcx.lo getopt.lo isum.lo reccel.lo str_adds.lo idxrnk.lo lminls.lo scr_log.lo strtkn.lo filext.lo indxiv.lo lsqmin.lo ssqmin.lo strval.lo flpval.lo indxrv.lo nxttok.lo str_addf.lo sum.lo fncalc.lo invmat.lo opn_scr.lo str_addi.lo trwset.lo tlog.lo twrite.lo tstrng.lo tpromp.lo taskq.lo taskf.lo taski.lo tread.lo

I have tried to set -single_module or -fno-common switches to g77 but this was of no avail.
Does someone else have the same problem? Is there a fix?

With best regards,
Markus

Dr. Markus Meier
The Institute of Materials Science
University of Connecticut
97 North Eagleville Road
Storrs, CT  06269-3136, USA
Phone:   +1 860 486 3830
Fax:     +1 860 486 4745
E-mail:  [EMAIL PROTECTED]

Reply via email to