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

error LNK2019

tarikf
Beginner
505 Views
Hi!

I tried to compile a .f90 file with the fortran visual compiler and obtained the following error messages:

C:>ifort split.f90
Intel Fortran Compiler for 32-bit applications, Version 8.1 Build 20040802
Z Package ID: w_fc_p_8.1.019
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
30 DAY EVALUATION LICENSE

ifort: NOTE: The evaluation period for this product ends on 18-feb-2005 UTC.
Microsoft Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

-out:split.exe
-subsystem:console
-entry:mainCRTStartup
/nodefaultlib:uuid.lib
split.obj
split.obj : error LNK2019: unresolved external symbol _AGLABEL referenced in fun
ction _MAIN__
split.obj : error LNK2019: unresolved external symbol _AGWCLK referenced in func
tion _MAIN__
split.obj : error LNK2019: unresolved external symbol _PGSCH referenced in funct
ion _MAIN__
split.obj : error LNK2019: unresolved external symbol _PGSUBP referenced in func
tion _MAIN__
split.obj : error LNK2019: unresolved external symbol _SPLIT_FFT referenced in f
unction _MAIN__
split.obj : error LNK2019: unresolved external symbol _AGGRAPH1 referenced in fu
nction _SPLIT_STEP
split.exe : fatal error LNK1120: 6 unresolved externals

I have this visual c++ toolkit installed. Can anyone tell me what I'm doing wrong here?

thanks
tarik
0 Kudos
1 Reply
Steven_L_Intel1
Employee
505 Views
It looks to me as if there are a number of routines you're calling which are not available - the names suggest to me that they are part of your application, as they are not part of Intel Fortran. Look for uses of those routine names (such as AGLABEL) in your code and try to determine where those routines are supposed to reside.
0 Kudos
Reply