View previous topic :: View next topic |
Author |
Message |
mecej4
Joined: 31 Oct 2006 Posts: 1838
|
Posted: Wed Dec 01, 2021 3:36 am Post subject: SLINK64 does not name OBJ with unsatisfied externals |
|
|
I am working with a program that uses about a hundred subroutines ( https://archimede.dm.uniba.it/~bvpsolvers/testsetbvpsolvers/?page_id=27 , files twpbvpc.f, FlatEarth.f, twpbvpcd.f, twpbvpa.f, report.f, printauxil.f). One of the subroutines contains an incorrect declaration (the intrinsic MAX should not have been included):
Code: | DOUBLE PRECISION MAX,DASUM,TEMP |
When I tried to compile with /64 and link the OBJ files, SLINK64 flagged MAX as an unsatisfied external reference:
Code: | The following symbols were not defined:
MAX |
and the map file did not give a clue as to which OBJ file contained the unsatisfied reference:
I had to resort to compiling for 32-bit to find where/what to fix. In this case, SLINK gave the clue:
Code: | S:\TOMS\TWPBVP\TWPBVPC>slink *.obj /out:flat
WARNING the following symbols are missing:
MAX S:\TOMS\TWPBVP\TWPBVPC\TWPBVPA.OBJ
(S:\TOMS\TWPBVP\TWPBVPC\TWPBVPA.F) |
I request that SLINK64 be updated to issue a similar informative message. |
|
Back to top |
|
 |
PaulLaidler Site Admin

Joined: 21 Feb 2005 Posts: 7765 Location: Salford, UK
|
Posted: Thu Dec 02, 2021 9:07 am Post subject: |
|
|
Thanks mecej4. I have noted your request. |
|
Back to top |
|
 |
PaulLaidler Site Admin

Joined: 21 Feb 2005 Posts: 7765 Location: Salford, UK
|
Posted: Mon Dec 06, 2021 9:40 am Post subject: |
|
|
This improvement to SLINK64 has now been made for the next release. |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1838
|
Posted: Mon Dec 06, 2021 11:38 am Post subject: |
|
|
I thank you. |
|
Back to top |
|
 |
|