[Developers] Release 1619 fails on Mac OS

Grandin, Chris Chris.Grandin at dfo-mpo.gc.ca
Wed Feb 12 08:12:05 PST 2014


Hi Jon,

  I put spaces between the -o and the object name in the admb script on
the server. That should fix this issue. I will have to see if the
buildbot works for that commit though:

http://www.admb-project.org/buildbot/tgrid

 

Just do an update from the server.

 

By the way, on unix-based operating systems like the MAC you can make
ADMB in less than 5 minutes by doing 'make -j' to force make to run in
parallel.

 

Chris

 

From: Jon Schnute [mailto:schnutej-dfo at shaw.ca] 
Sent: February-11-14 11:33 PM
To: developers at admb-project.org
Cc: Grandin, Chris; Haigh, Rowan; 'Steve Martell'
Subject: Release 1619 fails on Mac OS

 

I recently downloaded the source code for release 1619. The "make"
procedure worked with no problem in Windows, using the 64-bit tools
posted at http://www.admb-project.org/tools/admb-tools-for-windows.
However, when I tried to do the same thing on a Mac (OS X Lion 10.7.5,
Xcode 4.2.1), the procedure failed with the final messages shown below.
Note that "-oad2csv" appears as an unknown option to g++.

 

Please let me know when this is fixed. Thanks,

 

Jon

 

###### Final messages from "make" on a Mac:

 

*** Compile: main.cpp

g++ -c -g -DSAFE_ALL -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -I.
-I"/Users/jon/Downloads/admb1619/build/dist/include"
-I"/Users/jon/Downloads/admb1619/build/dist/contrib/include" -omain.obj
main.cpp

 

*** Linking: ad2csv.obj main.obj

g++ -g -oad2csv ad2csv.obj main.obj
"/Users/jon/Downloads/admb1619/build/dist/contrib/lib/libcontrib.a"
"/Users/jon/Downloads/admb1619/build/dist/lib/libadmb.a"

ld: unknown option: -oad2csv

collect2: ld returned 1 exit status

 

Error: Could not build ad2csv

 

make[5]: *** [../../build/dist/contrib/bin/ad2csv] Error 1

make[4]: *** [contrib-ad2csv] Error 2

make[3]: *** [all] Error 2

make[2]: *** [g++-contrib] Error 2

make[1]: *** [g++-all] Error 2

make: *** [all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20140212/b2a662a0/attachment-0001.html>


More information about the Developers mailing list