X-Spam-Check-By: sourceware.org Message-ID: <1144916030.443e083e4fd90@imp4-g19.free.fr> Date: Thu, 13 Apr 2006 10:13:50 +0200 From: anh DOT khai DOT nguyen AT free DOT fr To: cygwin AT cygwin DOT com Subject: I cannot linking with g95 under Cygwin...? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.5 X-IsSubscribed: yes 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 Oyo! I'm new user of g95 and I really like using Cygwin. So, I've install G95 tarball for Cygwin and make some programs. These programs were running good. And, I tried many things like mixing language, using others libraries or something else. (My domain is mathematics...) But, today, when I tried to compile this program prog.f90 : program bouh implicit none print *, 'Hello! World!' end program There are no problems with compilation. But, during the linking, I've this error: $ g95 -o prog.exe prog.f90 Info: resolving __g95_filename by linking to __imp___g95_filename (auto-import) Info: resolving __g95_line by linking to __imp___g95_line (auto-import) Info: resolving __g95_ioparm by linking to __imp___g95_ioparm (auto-import) /lib///libcygwin.a(libcmain.o):: undefined reference to `WinMain AT 16' Before, it ran...But now, it's an error! So, I tried to reinstall g95, it doesn't work and I tried to reinstall some cygwin packages (like the Developpement tools or System...), it doesn't work too. So I don't what to do now...Can I have some help please? -- 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/