<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Brian,<div><br></div><div>I am not sure you got my reply including the information you asked, so I forward it in this email.</div><div>Also, I tried to substitute the sac bin version with the sac source version, but after the installation I still get the same error:</div><div><br></div><div><div>bash-3.2$ make Masterprogram</div><div>gfortran -m32 Masterprogram.o /usr/local/sac/lib/libsac.a /usr/local/sac/lib/sacio.a -o Masterprogram</div><div>Undefined symbols:</div><div> "_cmmem", referenced from:</div><div> _cmmem$non_lazy_ptr in sacio.a(writevfile.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(putvvstring.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(getvvstring.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(initializevar.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(initvlist.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(nextvlist.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(putventry.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(increasenlist.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(readvfile.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(deletev.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(setvreadonly.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(encodevnil.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(existsv.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(findvnil.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(deletevlist.o)</div><div> _cmmem$non_lazy_ptr in sacio.a(createvlist.o)</div><div> (maybe you meant: _cmmem$non_lazy_ptr)</div><div>ld: symbol(s) not found</div><div>collect2: ld returned 1 exit status</div><div>make: *** [Masterprogram] Error 1</div><div><br></div><div><br></div><div>What does it mean?</div><div><br></div><div>Thank you for you help</div><div><br></div><div>Paola</div><div><br></div><div><br></div><div><br><div>Inizio messaggio inoltrato:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Da: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Paola Morasca <<a href="mailto:paola.morasca@yahoo.com">paola.morasca@yahoo.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Data: </b></span><span style="font-family:'Helvetica'; font-size:medium;">01 giugno 2010 11.53.53 GMT+02.00<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>A: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Brian Savage <<a href="mailto:savage@uri.edu">savage@uri.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Oggetto: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [SAC-HELP] problem with sacio.a when I compile using gfortran under x86_64</b><br></span></div><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; ">Hi Brian,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; ">I use Mac OS X 10.6.3 with sac version 101.3b. </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; ">I have got the gfortran from: <a href="http://hpc.sourceforge.net/">http://hpc.sourceforge.net/</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; ">and precisely the file is "gfortran-snwleo-intel-bin.tar"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; ">The program was written in fortran (Masterprogram.f).</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; ">Here are information on libsac.a and sacio.a:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 164.3px; text-indent: -164.3px; font: normal normal normal 11px/normal 'Lucida Grande'; "><br></div></div><div><br></div><div>bash-3.2$ file /usr/local/sac/lib/libsac.a</div><div>/usr/local/sac/lib/libsac.a: Mach-O universal binary with 2 architectures</div><div>/usr/local/sac/lib/libsac.a (for architecture ppc): current ar archive random library</div><div>/usr/local/sac/lib/libsac.a (for architecture i386): current ar archive</div><div>bash-3.2$ file /usr/local/sac/lib/sacio.a</div><div>/usr/local/sac/lib/sacio.a: Mach-O universal binary with 2 architectures</div><div>/usr/local/sac/lib/sacio.a (for architecture ppc): current ar archive random library</div><div>/usr/local/sac/lib/sacio.a (for architecture i386): current ar archive</div><div><br></div><div>thanks</div><div><br></div><div>Paola</div><div><br></div><div><br></div><div><br></div><div><div>Il giorno 31/mag/2010, alle ore 19.08, Brian Savage ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear Paola,<br><br>I am unable to reproduce this on my OSX machine (!0.5) with 101.3b. I am not certain why this message is appearing. Could you give me more details about which version of gfortran you are using, your OSX version, and what language Masterprogram.o was written in ? Also, could you run<br><br>% file /usr/local/sac/lib/libsac.a<br>% file /usr/local/sac/lib/sacio.a<br><br>so I can tell what is really in those files. They should be universal binaries (PPC and Intel) and should also be 32 bit.<br><br>Thanks<br>Brian Savage<br><a href="mailto:savage@uri.edu">savage@uri.edu</a><br><br>On May 30, 2010, at 9:41 AM , Paola Morasca wrote:<br><br><blockquote type="cite">Hi All,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I have a compilation problem (look at the bottom). Is that because I have got the binary sac version for OSX (Version 101.3b) that is compiled for a 64 bit architecture? I have to use -m32 because otherwise I get " missing required architecture x86_64 in file". Should I get the source code to be compiled for 32 bit so that I have the right library? Or maybe there is another solution?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you for the help.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Paola<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">bash-3.2$ gfortran -m32 -C Masterprogram.o /usr/local/sac/lib/libsac.a /usr/local/sac/lib/sacio.a -o Masterprogram<br></blockquote><blockquote type="cite">Undefined symbols:<br></blockquote><blockquote type="cite"> "_cmmem", referenced from:<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(writevfile.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(putvvstring.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(getvvstring.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(initializevar.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(initvlist.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(nextvlist.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(putventry.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(increasenlist.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(encodevnil.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(setvreadonly.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(readvfile.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(deletev.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(existsv.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(createvlist.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(findvnil.o)<br></blockquote><blockquote type="cite"> _cmmem$non_lazy_ptr in sacio.a(deletevlist.o)<br></blockquote><blockquote type="cite"> (maybe you meant: _cmmem$non_lazy_ptr)<br></blockquote><blockquote type="cite">ld: symbol(s) not found<br></blockquote><blockquote type="cite">collect2: ld returned 1 exit status<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">sac-help mailing list<br></blockquote><blockquote type="cite"><a href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</a><br></blockquote><blockquote type="cite"><a href="http://www.iris.washington.edu/mailman/listinfo/sac-help">http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br></div></blockquote></div><br></div></body></html>