Link problem with Compaq Visual Fortran
From: Robert Yu (tyyu_at_erc.msstate.edu)
Date: 10/06/03
- Next message: Arjen Markus: "Re: OT Variable FDM mesh in Fortran90?"
- Previous message: Martin Buchmann: "Re: OT Variable FDM mesh in Fortran90?"
- Next in thread: Jugoslav Dujic: "Re: Link problem with Compaq Visual Fortran"
- Reply: Jugoslav Dujic: "Re: Link problem with Compaq Visual Fortran"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Oct 2003 01:42:37 -0700
Dear All:
I am using the MicroSoft Visual Studio 6.0 under Window XP for a
project,
and my friend sent me a library (also created by Microsoft Visual
Studio),
yet one of the source codes is a Fortran program. He used Compaq
Visual Fortran
to compile the Fortran and C into a library. When I try to link this
library,
I first got some message saying some libraries are missing (ex: can
not find
dfor.lib, dfconsol.lib ...), in order to compile the entire project, I
got
those missing libraries. Yet, when I compile them again, I have the
following errors:
dfor.lib(matherr.obj) : error LNK2005: __matherr already defined in
msvcrtd.lib(merr.obj)
dfor.lib(intrin.obj) : error LNK2001: unresolved external symbol
___fastflag
dfor.lib(intrini.obj) : error LNK2001: unresolved external symbol
___fastflag
dfor.lib(for_diags.obj) : error LNK2001: unresolved external symbol
__sys_nerr
dfor.lib(for_io_util.obj) : error LNK2001: unresolved external symbol
__pctype
dfor.lib(for_init.obj) : error LNK2001: unresolved external symbol
__pctype
dfor.lib(for_io_util.obj) : error LNK2001: unresolved external symbol
___mb_cur_max
dfor.lib(for_init.obj) : error LNK2001: unresolved external symbol
___mb_cur_max
dfor.lib(for_init.obj) : error LNK2001: unresolved external symbol
___argv
dfor.lib(for_init.obj) : error LNK2001: unresolved external symbol
___argc
-----
If I ingore dfor.lib, then more errors show up.
Can anyone give me suggestions?
Thanks.
Robert
- Next message: Arjen Markus: "Re: OT Variable FDM mesh in Fortran90?"
- Previous message: Martin Buchmann: "Re: OT Variable FDM mesh in Fortran90?"
- Next in thread: Jugoslav Dujic: "Re: Link problem with Compaq Visual Fortran"
- Reply: Jugoslav Dujic: "Re: Link problem with Compaq Visual Fortran"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|