Sorry but I posted first in Clipper forum but believe it might be more appropriate here.
am helping out a friend who has an old Clipper app that I am trying to rebuild with Harbour. It has 10 .prg files, all of which compile cleanly, but then the noise starts. Line after line on the console that first names a function like HB_FUN_MENUSETP as multiple definition followed by a line that says fir defined here. This is repeated many times for each .prg file.
I am using
hbmk2 -oappname *.prg *.c
as the command line. All of the .prg files compile successfully.
I stumbled across a few posts here related to multiple definitions but I was not really able to discern how the problem was solved, or even exactly what it is. Is it a command line option, something needed in the source code, libraries to be included or excluded? The execution of hbmk2 suppresses commands it seems, so I am not completely certain what it is executing (which compiler, linker, e.g.). It was a standard install for Windows (10).
Would really appreciate any guidance. Thanks in advance.