[CIG-LONG] Build error for SNAC on Mac OS X

Eunseo Choi echoi at ldeo.columbia.edu
Sat Feb 13 04:54:21 PST 2010


Dear David

Some recent updates should resolve this issue, but they are not yet in 
the package for distribution.
You can either check out the code from SVN repository or try the 
following quick fix:

1. remove "-u __dummy" EXPORT_DYNAMIC_LFLAGS in StGermain/Makefile.system
2. remove "-u __dummy" EXPORT_DYNAMIC_LFLAGS in Snac/Makefile.system


Please let me know if it doesn't do the job.

Best,
Eunseo


Healy, David wrote:
> Hello
>
> I’m trying to build SNAC on my MacBook (OS X 10.6.2).
>
> I’ve downloaded and built the lammpi, lampi-dev and libxml2 packages 
> (using fink) and also installed ParaView ready for some output (!).
>
> But, I get the following error when I run make (after running 
> configure.sh):
>
> /usr/bin/cc -pipe -DVERSION=\"0\" -Wall -g 
> -DCURR_MODULE_NAME=\"StGermain\" -o 
> /Users/davehealy/Desktop/Adelaide/SNAC/SNAC-1.1.0/build/bin/StGermain 
> /Users/davehealy/Desktop/Adelaide/SNAC/SNAC-1.1.0/build/tmp/bin-StGermain/main.o 
> -L/Users/davehealy/Desktop/Adelaide/SNAC/SNAC-1.1.0/build/lib 
> -lStGermain -lStGermainDiscretisation -lStGermainBase -u __dummy 
> -framework System -framework CoreServices -framework Foundation 
> -L/Users/davehealy/Desktop/Adelaide/SNAC/SNAC-1.1.0/build/lib -lmpi 
> -L/usr/lib/shared -lmpi -L/sw/lib -L/sw2/lib -lxml2 -lz -lpthread 
> -L/sw2/lib -liconv -lm -lm -lmx -L/sw/lib -ldl
> ld: warning: in /sw2/lib/libxml2.dylib, file is not of required 
> architecture
> ld: warning: in /sw2/lib/libiconv.dylib, file is not of required 
> architecture
> Undefined symbols:
> "__dummy", referenced from:
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** 
> [/Users/davehealy/Desktop/Adelaide/SNAC/SNAC-1.1.0/build/bin/StGermain] 
> Error 1
> make[2]: *** [src-dir] Error 2
> make[1]: *** [StGermain-proj] Error 2
>
> Any thoughts/suggestions?
>
> Thanks in advance.
>
> Cheers,
> Dave
>
> Dr Dave Healy
> School of Geosciences
> King's College
> University of Aberdeen
> AB24 3UE
>
> March 15, 2010 - http://www.abdn.ac.uk/geology/events/structuralgeology/
> September 6-8, 2010 - http://www.gla.ac.uk/events/andersonconference/
> November 4-5, 2010 - 
> http://www.abdn.ac.uk/geology/events/carbonateconference/
>
> Tel: +44 (0) 1224 273850
> Mob: +44 (0) 7774 343705
> Web: http://www.abdn.ac.uk/geology/people/staffprofiles/dhealy-p.php
> Web: http://web.mac.com/david.healy
> Skype: mongo1965
>
>
>
> The University of Aberdeen is a charity registered in Scotland, No 
> SC013683.
> ------------------------------------------------------------------------
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>   


-- 
=====================================
Eunseo Choi
Post-Doctoral Research Scientist

Lamont-Doherty Earth Observatory
303f Oceanography
P.O. Box 1000
61 Rt. 9W
Palisades, NY 10964-8000

http://www.ldeo.columbia.edu/~echoi
Phone: 845-365-8813 Fax: 845-365-8156
=====================================



More information about the CIG-LONG mailing list