Hello,Xudong<br> I tried to install mpich2 serveral days ago,I think I got similiar problems:<br><br># mp32-mpicc <br>/usr/lib/gcc/i386-redhat-linux/4.3.0/../../../crt1.o: In function `_start':<br>(.text+0x18): undefined reference to `main'<br>collect2: ld 返回 1<br><br> I asked the question at another website(redhat bugzilla),who told me that it's just ok and I do not need to worry about it. Indeed when I try to use it to compile and run a simple test program,it seems work fine. I also want to make sure whether it's true or not.<br>------------------------------------------------------------<br><br><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><pre>在2008-06-04,"倪旭东" &lt;xd_ni@seu.edu.cn&gt; 写道:<br>>Hello,mpich-discuss:<br>> I'm a beginner of MPICH,and after I install MPICH. I have such problems: <br>>[root@cgsp bin]# ./mpif77<br>>/usr/lib/gcc/x86_64-redhat-linux/3.4.3/libfrtbegin.a(frtbegin.o)(.text+0x1e): In function `main':<br>>: undefined reference to `MAIN__'<br>>collect2: ld returned 1 exit status<br>>[root@cgsp bin]# ./mpif90<br>>No Fortran 90 compiler specified when mpif90 was created,<br>>or configuration file does not specify a compiler.<br>> <br>>[root@cgsp f90modules]# ./configure <br>>Configure in /root/mpich-1.2.7p1/f90modules creating cache ./config.cache<br>>checking for g77... g77<br>>checking whether the Fortran 77 compiler (g77 ) works... yes<br>>checking whether the Fortran 77 compiler (g77 ) is a cross-compiler... no<br>>checking whether we are using GNU Fortran 77... yes<br>>checking whether g77 accepts -g... yes<br>>checking for f95... no<br>>checking for f90... no<br>>checking for xlf90... no<br>>checking for pgf90... no<br>>checking for ifc... no<br>>checking for efc... no<br>>configure: warning: no acceptable Fortran 90 compiler found in $PATH<br>>checking for a BSD compatible install... /usr/bin/install -c<br>>checking whether ln -s works... yes<br>>checking for ar... ar<br>>checking for ranlib... ranlib<br>>checking for make... make<br>>checking whether make echos directory changes... yes using --no-print-directory<br>>checking for virtual path format... VPATH<br>>checking for module suffix... unknown<br>>checking for case of module names... lower<br>>checking for module directory path flag... cp: cannot stat `conftest.': No such file or directory<br>>checking that the compiler accepts .f90 suffix... no<br>>checking whether Fortran 90 is compatible with Fortran 77... no<br>>configure: error: Fortran 90 and Fortran 77 compilers are not compatible.<br>>They generate external symbol names that are different<br>><br>>What's the problem? Thanks a lot.        <br>><br>> <br>>xudong                                 <br>><br>> <br>> xd_ni@seu.edu.cn<br>> 2008-06-04<br>><br>>----------------------------------------------------------------------<br>>Xudong Ni, Ph.D. Candidate<br>>Jiangsu Provincial Key Laboratory of Network and Infromation Security<br>>School of Computer Science and Engineering<br>>Southeast University<br>>Nanjing 210096, P.R.China<br>>Tel:86-25-8379 5595<br>>----------------------------------------------------------------------<br>><br></pre><br><br><!-- footer --><br>
<hr>
<font style="font-size:12px;line-height:15px;"></font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://popme.163.com/link/004062_0602_706.html">两两来Win为中国</a>