Silverfrost Forums

Welcome to our forums

SLINK64 does not name OBJ with unsatisfied externals

1 Dec 2021 2:36 #28534

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):

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:

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:

MAX                                                *Unresolved*   

I had to resort to compiling for 32-bit to find where/what to fix. In this case, SLINK gave the clue:

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.

2 Dec 2021 8:07 #28541

Thanks mecej4. I have noted your request.

6 Dec 2021 8:40 #28561

This improvement to SLINK64 has now been made for the next release.

6 Dec 2021 10:38 #28564

I thank you.

Please login to reply.