Skip to main content

Hi there

I'm sorry when how to solve this issue is known the most, and the work-around might be obvious to just as many 

Even though, I've not been able to figure out what - as I've installed MF visual COBOL and is about to migrate older programs

Doing so, I'm compiling from Visual COBOL command promt (64-bit) using COBOL.exe

It goes well, but next when using the linker (LINK.exe), it comes up with "LINK : fatal error LNK1561: entry point must be defined"

And, the compiler doesn't take any of the compiler options in account - no matter whether I use CBL or PROCESS statement

Any help will be greatly appreciated, kind regards

Hi there

I'm sorry when how to solve this issue is known the most, and the work-around might be obvious to just as many 

Even though, I've not been able to figure out what - as I've installed MF visual COBOL and is about to migrate older programs

Doing so, I'm compiling from Visual COBOL command promt (64-bit) using COBOL.exe

It goes well, but next when using the linker (LINK.exe), it comes up with "LINK : fatal error LNK1561: entry point must be defined"

And, the compiler doesn't take any of the compiler options in account - no matter whether I use CBL or PROCESS statement

Any help will be greatly appreciated, kind regards

If you use cbllink.exe rather than executing link.exe directly, that will set the necessary options to allow link.exe to successfully create your executable.

Hi there

I'm sorry when how to solve this issue is known the most, and the work-around might be obvious to just as many 

Even though, I've not been able to figure out what - as I've installed MF visual COBOL and is about to migrate older programs

Doing so, I'm compiling from Visual COBOL command promt (64-bit) using COBOL.exe

It goes well, but next when using the linker (LINK.exe), it comes up with "LINK : fatal error LNK1561: entry point must be defined"

And, the compiler doesn't take any of the compiler options in account - no matter whether I use CBL or PROCESS statement

Any help will be greatly appreciated, kind regards

Thank you so much - it really helped med out
However, wonder where could/should I have found the information myself?
Kind regards Finn Lund

Hi there

I'm sorry when how to solve this issue is known the most, and the work-around might be obvious to just as many 

Even though, I've not been able to figure out what - as I've installed MF visual COBOL and is about to migrate older programs

Doing so, I'm compiling from Visual COBOL command promt (64-bit) using COBOL.exe

It goes well, but next when using the linker (LINK.exe), it comes up with "LINK : fatal error LNK1561: entry point must be defined"

And, the compiler doesn't take any of the compiler options in account - no matter whether I use CBL or PROCESS statement

Any help will be greatly appreciated, kind regards

You can find this information in the docs in the Reference manual in the section for Command Line Reference here