[ADMB Users] Problems compiling from source & possible error in (XCode 3.2 and MacOS 10.7 (64 bit))

Trevor Davies davies.trevor at gmail.com
Tue Jan 29 11:53:07 PST 2013

HI Everyone,

I've been bashing my head trying to find an error in the results of my

The issue is that some of the std.dev estimates in the *.std are incorrect.
 I know this because I've been trading files back and forth with Steve
Martell and when I run a pre-compiled version of the model from Steve I get
the correct estimates but when I compile it on my own machine they are
incorrect.  The difference is that Steve has a admb compiled from source
and I used the precompiled binary.  I've been attempting to install from
source as well to see if I could recreate the problem/get the correct
answers myself to make sure it was a bug but I've been batting with some
installation issues.

I'd be happy to pass along my model code if someone else wants to look into
it to confirm/reject the bug or if someone could give me a few pointers on
how to get past the last install from source installation hurdle I would
really appreciate it.

My problem arises on the 'make' step.

The output/error is appended below.

Thanks for the help.

Compiling from source:
~/Downloads/admb-11/  make
DISK=../build/admb-11-macos10.8.2-xcode4.6-64bit ADMB_CONFIGURE=1 make
--directory=src --file=linux.mak
mkdir -p
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-olp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/linad99-slp
mkdir -p
mkdir -p
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/nh99-olp
mkdir -p ../build/objects/admb-11-macos10.8.2-xcode4.6-64bit/tools99-olp
make --directory=linad99 AR=ar CXX=g++ CXXFLAGS="-c -O3 -Wall -D__GNUDOS__
-Dlinux -D__SPDLL__ -DUSE_LAPLACE -DADMB_REVISION=Unversioned directory
-DADMB_VERSION=11  -DOPT_LIB -I../df1b2-separable -I../nh99 -I../linad99
DISKDIR=../../build/admb-11-macos10.8.2-xcode4.6-64bit -f
optg32-rh8-laplace.mak disk
g++ -c -O3 -Wall -D__GNUDOS__ -Dlinux -D__SPDLL__ -DUSE_LAPLACE
-DADMB_REVISION=Unversioned directory -DADMB_VERSION=11  -DOPT_LIB
-I../df1b2-separable -I../nh99 -I../linad99 -I../tools99 df13fun.cpp -o
i686-apple-darwin11-llvm-g++-4.2: directory: No such file or directory
df13fun.cpp: In function ‘df1_three_variable sqrt(const
df13fun.cpp:486: warning: unused variable ‘xinv’
df13fun.cpp: In function ‘df1_three_variable atan(const
df13fun.cpp:504: warning: unused variable ‘d2’
df13fun.cpp: In function ‘df1_three_variable tan(const
df13fun.cpp:538: warning: unused variable ‘w’
make[2]: *** [df13fun.obj] Error 1
make[1]: *** [dist] Error 2
make: *** [admb] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130129/e1955f3f/attachment.html>

More information about the Users mailing list