Illegal Character in DEF File Error

Post Reply
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Illegal Character in DEF File Error

Post 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
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Illegal Character in DEF File Error

Post by Enrico Maria Giordano »

If I remember correctly, a DEF file is a 16 bit stuff. You might have mixed the batch files.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 72 times
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Antonio,

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

Thanks,
James
R.F.
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Post by R.F. »

[quote="
Yeah, a missing comma it was....[/quote]

You sound like Master Yoda of StarWars :D
Saludos
R.F.
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 3 times
Contact:

Post by Enrico Maria Giordano »

RF wrote:
Yeah, a missing comma it was....


You sound like Master Yoda of StarWars :D


:D

EMG
Post Reply