X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: 1.5.18 /usr/lib/gcc/i686-pc-cygwin/3.4.4/libfrtbegin.a(frtbegin.o):: undefined reference to `_MAIN__' Date: Thu, 15 Dec 2005 14:48:28 -0800 Message-ID: <46A827F7C479674CA822831699AF19C202E6248F@XCH-SW-1V1.sw.nos.boeing.com> From: "Crehan, Martin J" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jBFMmP4i007826 I am trying to compile overflow 1.8aa, a large Computational Fluid Dynamics code written in Fortran with some C. The code will compile and run using gcc and g77 on Linux. The code compiles successfully under Cygwin 1.5.18. The link fails as follows: g77 -O3 -ffast-math -malign-double -o overflow chimera/*.o grid/*.o linear/*.o unix/*.o ns/bc/*.o ns/control/*.o ns/euler/*.o ns/fomo/*.o ns/mg/*.o ns/smoothing/*.o ns/step/*.o ns/turbulence/*.o ns/utilities/*.o ns/viscous/*.o ke/bc/*.o ke/control/*.o ke/convection/*.o ke/diffusion/*.o ke/source/*.o ke/step/*.o ke/turbulence/*.o ke/utilities/*.o ret/bc/*.o ret/control/*.o ret/convection/*.o ret/diffusion/*.o ret/source/*.o ret/step/*.o ret/turbulence/*.o ret/utilities/*.o sce/bc/*.o sce/control/*.o sce/convection/*.o sce/smoothing/*.o sce/step/*.o sce/utilities/*.o /usr/lib/gcc/i686-pc-cygwin/3.4.4/libfrtbegin.a(frtbegin.o):: undefined reference to `_MAIN__' collect2: ld returned 1 exit status make[1]: *** [link] Error 1 make[1]: Leaving directory `/cygdrive/u/overflow/over1.8aa' make: *** [gnu] Error 2 Thanks in advance Martin Crehan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/