Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

link error

Intel_C_Intel
Employee
353 Views
I have a program needed to be run using Fortran 95, there's no error when compiling but got the following error when debugging:
project4.obj:error LNK 2001: unresolved external symbol _LOWER@8
Debug/project4.exe: fatal error LNK 1120: 1 unresolved externals
Can anybody help me to fix that ? Thanks.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
353 Views
There is a mismatch between the call to LOWER and the declaration of the routine LOWER. Make sure the arguments are of the same type and number.

Steve
0 Kudos
Intel_C_Intel
Employee
353 Views
Also, you might be using LOWER as an array, but never have dimensioned it such as

REAL, ALLOCATABLE(:) :: LOWER

for a dynamic array or

REAL, DIMENSION(15) :: LOWER

for a static array. This will give you the exact same error message if you have not dimensioned LOWER as an array prior to using it as an array.

Tom
0 Kudos
Reply