[ADMB Users] lgam in 10.0
Mollie Brooks
mbrooks at ufl.edu
Sat May 14 14:11:18 PDT 2011
Hi,
Just an update... To try to answer my own question, I downloaded the source for 10.1 and followed the instructions in README.txt for Unix and GNU g++ since there weren't instructions for Macs. The install seems to have worked, but I noticed that it didn't replace the version in /usr/local/
So I edited the file ./.bashrc to now have the lines
export ADMB_HOME=/Users/molliebrooks/Desktop/admb-10.1//build
export PATH=$ADMB_HOME/bin:$PATH
because I think that's the location of the necessary files. Then I reran the model and still got the error for lgam
*** Linking: adlink firdbhfec
g++ -O3 -L/usr/local/admb/lib firdbhfec.o -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o firdbhfec
ld: duplicate symbol lgam(double)in /usr/local/admb/lib/libado.a(cgamdev.obj) and /usr/local/admb/lib/libdf1b2o.a(df13tester.obj)
collect2: ld returned 1 exit status
So I found all the instances of "lgam" in df13tester.cpp
How much of this should I comment out? Is it just the definition of lgam(double) lines 943 to 1050? What about lines 309 and 314?
double lgam ( double );
double lgam();
thanks,
Mollie
Mollie Brooks
Ph.D. Candidate
NSF IGERT Fellow
Biology Department
University of Florida
mbrooks at ufl.edu
www.zoology.ufl.edu/mbrooks
On 14 May 2011, at 3:12 PM, Mollie Brooks wrote:
> Hi ADMBers,
> I'm running 10.0 on a mac and this old problem seems to have reoccurred
> http://groups.google.com/group/admb-users/browse_thread/thread/2e82a6c63586c83e
>
> The message I get is:
> *** Linking: adlink firdbhfec
> g++ -O3 -L/usr/local/admb/lib firdbhfec.o -ldf1b2o -ladmod -ladt -lado -ldf1b2o -ladmod -ladt -lado -o firdbhfec
> ld: duplicate symbol lgam(double)in /usr/local/admb/lib/libado.a(cgamdev.obj) and /usr/local/admb/lib/libdf1b2o.a(df13tester.obj)
> collect2: ld returned 1 exit status
>
> Is this fixed in version 10.1? I saw in the readme.txt file that there was a fix to gammln functions.
> thanks,
> Mollie
>
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110514/95618c41/attachment.html>
More information about the Users
mailing list