forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SLINK64 does not name OBJ with unsatisfied externals

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
mecej4



Joined: 31 Oct 2006
Posts: 1884

PostPosted: Wed Dec 01, 2021 3:36 am    Post subject: SLINK64 does not name OBJ with unsatisfied externals Reply with quote

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:

Code:
MAX                                                *Unresolved*   


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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Thu Dec 02, 2021 9:07 am    Post subject: Reply with quote

Thanks mecej4. I have noted your request.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Mon Dec 06, 2021 9:40 am    Post subject: Reply with quote

This improvement to SLINK64 has now been made for the next release.
Back to top
View user's profile Send private message AIM Address
mecej4



Joined: 31 Oct 2006
Posts: 1884

PostPosted: Mon Dec 06, 2021 11:38 am    Post subject: Reply with quote

I thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group