Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

library cross reference error

mrvivaldi
Beginner
664 Views
Sample Program After a few hours to get closer to problem.
Trying to use msxml3.dll using the generated msxml3.f90
USE DFPORT,ONLY : ETIME
USE DFNLS,ONLY : MBConvertUnicodeToMB
IMPLICIT NONE
REAL(4) TIME1(2),TOT_TIME
INTEGER(4) IERR
INTEGER(2) BSTR(40)
CHARACTER(200) STR
TOT_TIME=ETIME (TIME1) !ROUTINE FROM DFPORT
IERR=MBConvertUnicodeToMB (BSTR,STR) !ROUTINE FROM DFNLS

STOP
END
Results in following message from linker
Linking...
DFNLS.LIB(nls_init.obj) : error LNK2005: _proc already defined in DFPORT.LIB(plb_init.obj)
Debug/CHK_HPGL.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
CHK_HPGL.exe - 2 error(s), 0 warning(s)
Was able to remove error by removing all reference to dfport. But still want to use etime.
using compaq 6.1.0
Any Suggestions
0 Kudos
0 Replies
Reply