[ADMB Users] macos svn build

Ben Bolker bbolker at gmail.com
Tue Jun 14 10:30:51 PDT 2011


  Any clues on this?

  I have downloaded the latest SVN release (revision 20) to

Darwin collywobbles.math.mcmaster.ca 10.7.0 Darwin Kernel Version
10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

make --directory=scripts/configure; ./configure; make; make install all
seem to go fine.

 When I run "make test" everything proceeds OK on the tpl2cpp and
compilation steps for the first test:

*** tpl2cpp -bounds atan2

*** adcomp -s atan2
g++ -c -O3 -Wno-deprecated -D__GNUDOS__ -Dlinux -DSAFE_ALL -DUSE_LAPLACE
-fpermissive -I.
-I/usr/local/admb-svn2/build/admb-10.1-macos10.6.7-xcode3.2.6-32bit/admb-10.1-macos10.6.7-xcode3.2.6-32bit/include
atan2.cpp


 but linking fails ...

*** adlink -s atan2
g++
-L/usr/local/admb-svn2/build/admb-10.1-macos10.6.7-xcode3.2.6-32bit/admb-10.1-macos10.6.7-xcode3.2.6-32bit/lib
atan2.o -ldf1b2s -ladmod -ladt -lads -ldf1b2s -ladmod -ladt -lads -o atan2
ld: warning: in
/usr/local/admb-svn2/build/admb-10.1-macos10.6.7-xcode3.2.6-32bit/admb-10.1-macos10.6.7-xcode3.2.6-32bit/lib/libdf1b2s.a,
file was built for unsupported file format which is not the architecture
being linked (x86_64)
ld: warning: in
/usr/local/admb-svn2/build/admb-10.1-macos10.6.7-xcode3.2.6-32bit/admb-10.1-macos10.6.7-xcode3.2.6-32bit/lib/libadmod.a,
file was built for unsupported file format which is not the architecture
being linked (x86_64)
ld: warning: in
/usr/local/admb-svn2/build/admb-10.1-macos10.6.7-xcode3.2.6-32bit/admb-10.1-macos10.6.7-xcode3.2.6-32bit/lib/libadt.a,
file was built for unsupported file format which is not the architecture
being linked (x86_64)
ld: warning: in
/usr/local/admb-svn2/build/admb-10.1-macos10.6.7-xcode3.2.6-32bit/admb-10.1-macos10.6.7-xcode3.2.6-32bit/lib/libads.a,
file was built for unsupported file format which is not the architecture
being linked (x86_64)

  somehow ./configure (or something?) is picking up the wrong bitness
for my machine?

  Any troubleshooting/diagnostic ideas?

  sincerely
    Ben Bolker




More information about the Users mailing list