delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/04/06:47:33

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: <CAEC91kzZuUK+2TDdjt2JGAp_vX0qypoOwx4oieaMbQPiMsZ-Gg@mail.gmail.com>
Subject: unresolved external symbol
From: Nando Beifiori <nandobeifiori AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019