This error is due to the fact that the bcc55freeengmatopts.bat was created with the assumption that users will only try to build graphical applications. However, since matdgns.c and matcreat.c are console based applications and only have the "main" entry point, the above linker error is generated.
You can resolve this problem by modifying line 38 of the bccfreeengmatopts.bat file which includes
to
Note that you will need to reverse this change if you wish to compile a graphical application.
Best Answer