*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Yes, single_module will work.
There is a fair bit of discussion on the libtool lists about whether os
x binaries for 10.4 onwards should be built as -single_module, as yet
the stable branch (as against the development branch) does not support
this. There are also concerns about this breaking older versions of
the linker. Finally, for 6.0.1 I have chosen to go with static only
builds of libjwc_f , since I do not like the idea of fortran common
blocks and dynamic libraries (xlf warns against doing this).
Charles Ballard
CCP4
On Thursday, March 9, 2006, at 05:39 AM, William Scott wrote:
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
I am in awe, but I hardly helped (unless muddying the waters somehow
helped...)
Dear Bill,
I finally found the cause of the problem. The -single_module flag
must be supplied to g77 during the linking step, not during the
compilation of the modules.
To do this, edit the $CCP4/x-windows/libjwc/libjwc_f/libtool script
and add -single_module after every occurrence of -dynamiclib.
Then it works.
The -dynamiclib occurs at 6 places in libtool, some of them have the
-single_module switch already, but not all.
Thank you for your help!
With best regards,
Markus
On 8 Mar 2006, at 18:33, William Scott wrote:
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
The dynamic library for this won't compile on OS X. You can change
the configure file to make only the static library, or you can go
back and compile it by hand statically, and then the rest will work.
Until you try to link xloggraph :-)
On Wed, 8 Mar 2006, Markus Meier wrote:
*** 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]
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]