This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

unresolved external symbol


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]