Hello again Gary--
> > 
> > >
> > > I have been trying to compile xplor on
> > >
> > > Ubuntu
> > > Release:      12.04
> > > Codename:     precise
> > >
> > > I have tried 2.31.0 and failed with
> > >
> > > ./libxplor.so: undefined reference to `zfft3di_'
> > 
> > You should not get errors like these- I certainly don't, compiling
> > with gcc 4.7 or 4.8 on recent Debian systems (or on any of the other
> > platforms with various compilers, versions).
> > 
> > Are you doing something aside from a simple
> > 
> >   make
> > 
> > ??
> 
> no just make...
> 


It turns out that I do have a precise machine, and... I reproduced
your results. It must have a different linker than what I'm using on
Debian. Anyway, the attached patch seems to fix the problems- and I'll
try to make sure things work ok for the next release.

best regards--
Charles



*** python/Makefile     Fri Jan 10 10:41:31 2014
--- python/Makefile.new Fri Feb 28 11:36:11 2014
***************
*** 95,101 ****
  SWIG_IVM_SRC = publicIVM.i
  
  WRAPPED_LIBS = -L$(EXEDIR) -lcommon -lnmrPot -lintVar -lvmd -lpy \
!            -lsurfD -lcminpack -lsparta
  
  PYTHON_TEST_SRC= $(shell cat $(SRCDIR)/tests/testScripts)
  ifeq ($(USE_TCL),1)
--- 95,101 ----
  SWIG_IVM_SRC = publicIVM.i
  
  WRAPPED_LIBS = -L$(EXEDIR) -lcommon -lnmrPot -lintVar -lvmd -lpy \
!            -lsurfD -lcminpack -lsparta -lfft
  
  PYTHON_TEST_SRC= $(shell cat $(SRCDIR)/tests/testScripts)
  ifeq ($(USE_TCL),1)

=== modified file 'source/Makefile'
*** source/Makefile     2013-07-18 20:39:19 +0000
--- source/Makefile     2014-02-28 17:10:05 +0000
***************
*** 33,40 ****
--- 33,42 ----
  FFLAGS += $(XPLOR_FFLAGS)
  
  LOCAL_LIBS= fft 
+ LD_FLAGS += -lspecfun
  ifneq ($(NOCXX),1)
        LOCAL_LIBS += intVar vmd
+       LD_FLAGS += -lintVar
        ifeq ($(USE_PYTHON),1)
                LOCAL_LIBS += py swigpy-xplor
        endif
_______________________________________________
Xplor-nih mailing list
Xplor-nih@cake.cit.nih.gov
http://cake.cit.nih.gov/mailman/listinfo/xplor-nih

Reply via email to