FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Linking errors
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM

Linking errors

Posted: Mon Jan 24, 2011 09:43 AM

Guys:

I'm getting the following error:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: 'C:\XHB\LIB\RTL.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
* Linking errors *

What do I have wrong ?

Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM

Re: Linking errors

Posted: Tue Jan 25, 2011 08:16 AM

It seems, you have mixed borland object files and ms object files

kind regards

Stefan
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM

Re: Linking errors

Posted: Tue Jan 25, 2011 08:26 AM

Stefan:

Thank you. Which linker can I use to compile with MS object files or should I stick with Borland's ?

Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM

Re: Linking errors

Posted: Tue Jan 25, 2011 08:47 AM

You can use any linker from ms, but you have to use both (compiler and linker) either from ms or from Borland. PellesC is compatible with ms, afaik. I would continue using borland.

But concerning your first error message, please check if you use (x)harbour for ms in combination with borland ?

kind regards

Stefan

Continue the discussion