Skip to main content

We're compiling all our COBOL as 64 bit for the next release of our system, and one of the programs won't link.  It gets the error message 'cbllds00003DFC.obj : error LNK2001: unresolved external symbol _mFxxxx' (where xxxx is a 4 digit hex number).  It gets this message many, many times.  This program has calls to the 'CBL_' routines as well as access to the windows registry.  I probably missed something in the documentation about 64 bit 'CBL_', so if anyone has some wisdom on this, I would greatly appreciate it.  Thanks in advance for your help!

We're compiling all our COBOL as 64 bit for the next release of our system, and one of the programs won't link.  It gets the error message 'cbllds00003DFC.obj : error LNK2001: unresolved external symbol _mFxxxx' (where xxxx is a 4 digit hex number).  It gets this message many, many times.  This program has calls to the 'CBL_' routines as well as access to the windows registry.  I probably missed something in the documentation about 64 bit 'CBL_', so if anyone has some wisdom on this, I would greatly appreciate it.  Thanks in advance for your help!

Hi Walter,

Are you compiling and linking from a Net Express project or command line? If it is from a command line, are you using the Net Express 64-Bit Command Prompt?

Regards,


We're compiling all our COBOL as 64 bit for the next release of our system, and one of the programs won't link.  It gets the error message 'cbllds00003DFC.obj : error LNK2001: unresolved external symbol _mFxxxx' (where xxxx is a 4 digit hex number).  It gets this message many, many times.  This program has calls to the 'CBL_' routines as well as access to the windows registry.  I probably missed something in the documentation about 64 bit 'CBL_', so if anyone has some wisdom on this, I would greatly appreciate it.  Thanks in advance for your help!

I am compiling from a NetExpress project with the 64 bit option set in project/properties


We're compiling all our COBOL as 64 bit for the next release of our system, and one of the programs won't link.  It gets the error message 'cbllds00003DFC.obj : error LNK2001: unresolved external symbol _mFxxxx' (where xxxx is a 4 digit hex number).  It gets this message many, many times.  This program has calls to the 'CBL_' routines as well as access to the windows registry.  I probably missed something in the documentation about 64 bit 'CBL_', so if anyone has some wisdom on this, I would greatly appreciate it.  Thanks in advance for your help!

Can you tell me which CBL_ routines you are using for instance and do you link with the static or shared runtime library system?

Regards,


We're compiling all our COBOL as 64 bit for the next release of our system, and one of the programs won't link.  It gets the error message 'cbllds00003DFC.obj : error LNK2001: unresolved external symbol _mFxxxx' (where xxxx is a 4 digit hex number).  It gets this message many, many times.  This program has calls to the 'CBL_' routines as well as access to the windows registry.  I probably missed something in the documentation about 64 bit 'CBL_', so if anyone has some wisdom on this, I would greatly appreciate it.  Thanks in advance for your help!

Thanks Fano, your question reminded me to NOT link as static.  When I link it as shared, it links OK.  Thanks again