X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YY X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 4 Dec 2012 12:46:53 +0100 Message-ID: Subject: unresolved external symbol From: Nando Beifiori To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi all, I'm trying to compile a fortran 90 code that uses the scotch library, using ifort as compiler under cygwin on a machine with windows 7 32 bit. At the end of the make I get the following errors: libscotch.a(common_integer.o) : error LNK2019: unresolved external symbol __imp____ctype_ptr__ referenced in function __SCOTCHintLoad libscotch.a(parser_yy.o) : error LNK2019: unresolved external symbol _strncasecmp referenced in function __SCOTCHstratParserParse2 libscotch.a(arch.o) : error LNK2019: unresolved external symbol _strcasecmp referenced in function __SCOTCHarchClass libscotch.a(parser_ll.o) : error LNK2019: unresolved external symbol ___getreent referenced in function _scotchyylex libscotcherr.a(library_error. o) : error LNK2001: unresolved external symbol ___getreent libscotch.a(parser_ll.o) : error LNK2019: unresolved external symbol ___errno referenced in function _scotchyy_init_buffer solver.exe : fatal error LNK1120: 5 unresolved externals It seems that the linker (the one of Visual Studio C++) is not able to link one or more libraries. Which libraries contain the missed functions? How can I link that? Regards -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple