Page 1 of 1

Illegal Character in DEF File Error

PostPosted: Fri Mar 03, 2006 6:38 pm
by James Bott
I am trying to compile an appliction that I have compiled before. Now I am getting this error:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Tussman.res(1):'Invalid character in .DEF file'
Fatal: Error processing .DEF file

There is a Tussman.rc file that is converted to Tussman.res by the resource compiler. I can't find a .DEF file anywhere.

I gradually deleted everything in the RC file until it was empty and I still get the same error. After I removed both the RC and RES files, then it compiles without error.

Any ideas? What is a .DEF file?

I am using the buildh.bat file, with slight modifications to include a couple of extra OBJs.

James

Re: Illegal Character in DEF File Error

PostPosted: Fri Mar 03, 2006 8:07 pm
by Enrico Maria Giordano
If I remember correctly, a DEF file is a 16 bit stuff. You might have mixed the batch files.

EMG

PostPosted: Fri Mar 03, 2006 10:05 pm
by Antonio Linares
James,

It may be an extra or a missing "," when calling the linker. Please let us see how you call the linker.

PostPosted: Fri Mar 03, 2006 10:40 pm
by James Bott
Antonio,

Yeah, a missing comma it was. I would have never thought of that.

Thanks,
James

PostPosted: Sat Mar 04, 2006 6:04 am
by R.F.
[quote="
Yeah, a missing comma it was....[/quote]

You sound like Master Yoda of StarWars :D

PostPosted: Sat Mar 04, 2006 9:50 am
by Enrico Maria Giordano
RF wrote:
Yeah, a missing comma it was....


You sound like Master Yoda of StarWars :D


:D

EMG