<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 23, 2011, at 4:24 PM, <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Courier New'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Re: Gromacs Installation Error on Powerbook G$ Running &nbsp;&nbsp;&nbsp;OS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10.5.8</span></blockquote></div><div><br></div><div><br></div>Hi Justin. &nbsp;Thanks for you response. &nbsp;See my responses below, embedded in the original message:<br><div>Matthew Bick wrote:</div><div><br></div><div><br><blockquote type="cite">Dear Gromacs community. &nbsp;I am attempting to install the latest version<br></blockquote><blockquote type="cite">of Gromcs (4.5.4) on my Mac Powerbook G4 (1.67 MHz, OS 10.5.8). &nbsp;I<br></blockquote><blockquote type="cite">have successfully installed FFTW following the instructions provided<br></blockquote><blockquote type="cite">on the Gromacs installation page.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"./configure --with-fft=fftw3" appears to work properly, but when I<br></blockquote><blockquote type="cite">perform &nbsp;"Make" I get the following errors:<br></blockquote><blockquote type="cite"><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">make[4]: *** [libgmx.la] Error 1<br></blockquote><blockquote type="cite">make[3]: *** [all-recursive] Error 1<br></blockquote><blockquote type="cite">make[2]: *** [all-recursive] Error 1<br></blockquote><blockquote type="cite">make[1]: *** [all] Error 2<br></blockquote><blockquote type="cite">make: *** [all-recursive] Error 1<br></blockquote><blockquote type="cite"><br></blockquote><br>|The information about the actual missing symbols should be just above this<br>|output, so that would be useful information. &nbsp;Also pertinent would be the<br>|compiler versions you're using. &nbsp;From what you've posted below it looks like<br>|GCC, but which version?</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I am using the latest Developer's tools for Leopard 10.5.8. &nbsp;So that comes with gcc 4.0 and 4.2. &nbsp;I&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;can't say for certain which version was used during configuration. &nbsp;I do know that when 'configuration'&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;looks for gcc it finds it.</div><div><br></div><div>&nbsp;&nbsp; &nbsp;Here are the missing symbols, plus the error codes once again:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Undefined symbols:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;"___sync_lock_test_and_set", referenced from:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_trylock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_lock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Type_commit in type.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Type_contiguous in type.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;"___sync_bool_compare_and_swap", referenced from:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_detach in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_push in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Stack_pop in list.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Once_wait in once.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Once in once.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Prep_send_envelope in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Wait_process_incoming in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Wait_process_incoming in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Wait_process_incoming in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Wait_process_incoming in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;"___sync_fetch_and_add", referenced from:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Once_wait in once.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;"___sync_lock_release", referenced from:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_unlock in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Type_commit in type.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Type_contiguous in type.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;"___sync_add_and_fetch", referenced from:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Alltoallv in alltoall.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Alltoall in alltoall.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Barrier_wait in barrier.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Mult_recv in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Mult_recv in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_multi in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_multi in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Xfer in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Xfer in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Wait_process_incoming in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Reduce_fast in reduce.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Reduce_fast in reduce.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Scatterv in scatter.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Scatter in scatter.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;"___sync_synchronize", referenced from:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Alltoallv in alltoall.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Alltoallv in alltoall.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Alltoall in alltoall.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Alltoall in alltoall.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Barrier_wait in barrier.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Barrier_wait in barrier.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Mult_recv in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Mult_recv in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_multi in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_multi in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_multi in collective.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Event_wait in event.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Lock_islocked in lock.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Once_wait in once.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Once_wait in once.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Once_wait in once.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Post_send in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Xfer in p2p_protocol.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Reduce_fast in reduce.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Reduce_fast in reduce.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Scatterv in scatter.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Scatterv in scatter.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Scatter in scatter.o&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;_tMPI_Scatter in scatter.o&nbsp;</div><div>&nbsp;&nbsp; &nbsp; ld: symbol(s) not found&nbsp;</div><div>&nbsp;&nbsp; &nbsp; collect2: ld returned 1 exit status&nbsp;</div><div>&nbsp;&nbsp; &nbsp; make[4]: *** [libgmx.la] Error 1&nbsp;</div><div>&nbsp;&nbsp; &nbsp; make[3]: *** [all-recursive] Error 1&nbsp;</div><div>&nbsp;&nbsp; &nbsp; make[2]: *** [all-recursive] Error 1&nbsp;</div><div>&nbsp;&nbsp; &nbsp; make[1]: *** [all] Error 2&nbsp;</div><div>&nbsp;&nbsp; &nbsp; make: *** [all-recursive] Error 1&nbsp;</div><div><br><br>|I don't think those warnings are particularly harmful, but I know that trying to<br>|install a new version of Gromacs on PowerPC can be a challenge. &nbsp;If your<br>|compiler is relatively old, you may have to disable some of the newer features,<br>|like threading, although that should have been caught during configuration.<br><br>|Is the ./configure command given above the exact command you used? &nbsp;If not,<br>|posting that would be useful.</div><div><br></div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;Yes, that ./configure command is the exact command I used.</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;Thank you again for any suggestions. &nbsp;I know everyone is busy.<span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre"></span><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre"></span><span class="Apple-tab-span" style="white-space:pre">        </span>-Matt</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><br><br>-Justin</div><div><br></div><div><br></div><div><br><blockquote type="cite">I did configure my shell (bash) environment, as per the Gromacs<br></blockquote><blockquote type="cite">installation instructions. &nbsp;"Make" runs for about 10 minutes before I<br></blockquote><blockquote type="cite">get these errors. &nbsp;I have searched the mailing list, and have seen<br></blockquote><blockquote type="cite">people report problems similar to mine, but couldn't determine how<br></blockquote><blockquote type="cite">those problems were resolved. &nbsp;Also from the mailing list, I<br></blockquote><blockquote type="cite">understand that the errors I've listed above aren't that informative.<br></blockquote><blockquote type="cite">If it helps, I repeatedly get the following warnings during "Make":<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">../../../../include/types/../thread_mpi/atomic/gcc_intrinsics.h: In<br></blockquote><blockquote type="cite">function ???tMPI_Atomic_add_return???:<br></blockquote><blockquote type="cite">../../../../include/types/../thread_mpi/atomic/gcc_intrinsics.h:46:<br></blockquote><blockquote type="cite">warning: implicit declaration of function ???__sync_add_and_fetch???<br></blockquote><blockquote type="cite">../../../../include/types/../thread_mpi/atomic/gcc_intrinsics.h: In<br></blockquote><blockquote type="cite">function ???tMPI_Atomic_fetch_add???:<br></blockquote><blockquote type="cite">../../../../include/types/../thread_mpi/atomic/gcc_intrinsics.h:51:<br></blockquote><blockquote type="cite">warning: implicit declaration of function ???__sync_fetch_and_add???<br></blockquote><blockquote type="cite">../../../../include/types/../thread_mpi/atomic/gcc_intrinsics.h: In<br></blockquote><blockquote type="cite">function ???tMPI_Atomic_cas???:<br></blockquote><blockquote type="cite">../../../../include/types/../thread_mpi/atomic/gcc_intrinsics.h:57:<br></blockquote><blockquote type="cite">warning: implicit declaration of function<br></blockquote><blockquote type="cite">???__sync_bool_compare_and_swap???<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If anyone has any suggestions, they would be greatly appreciated.<br></blockquote><blockquote type="cite">Thanks.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Matthew Bick<br></blockquote><blockquote type="cite">Rockefeller University<br></blockquote><br>--<br>========================================<br><br>Justin A. Lemkul<br>Ph.D. Candidate<br>ICTAS Doctoral Scholar<br>MILES-IGERT Trainee<br>Department of Biochemistry<br>Virginia Tech<br>Blacksburg, VA<br>jalemkul[at]vt.edu | (540) 231-9080<br><a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br></div></body></html>