I asked some ppl but they basicly said tasm rules heh
Anyhow with a project, i try to link and compile i get a error that stops the whole process.

new.obj : fatal error LNK1190: invalid fixup found, type 0x0001

Any ideas on whats causing this problem?

Thanks in advanced!

ThrawN
Posted on 2002-02-11 08:59:48 by ThrawN
Could you post your code(if that is possible) and the parameters you used during the assembling process.

This is how I compile my TASM code:

tasm32 /s /r /kh10000 /ml /m4 new.asm
tlink32 -Tpe -aa -x new.obj

/kh# could be increased or decrease depending if TASM complains of stack(WINDOWS.inc problems)...
Posted on 2002-02-11 09:04:11 by stryker
ThrawN,

Try using a REAL assembler, MASM handles very large include files, has no problems with structure names and builds smaller. :tongue:

Regards,

hutch@movsd.com
Posted on 2002-02-11 09:11:41 by hutch--
nono im using masm
the ppl i asked help with use tasm, i was only using a example
this is a masm problem i cant solve :\
Posted on 2002-02-11 09:18:49 by ThrawN
I haven't experienced this kind of error before, but here's a couple of troubleshooting questions:

1. What kind of linker do you have(Maybe it's the old linker - v5.xxx)?
2. Is this a console program(16 bit - It doesn't work with the new linker v6.xxx that was included with the masm32 package, you need to use the old linker v5.xxx)
3. The .obj file could be corrupted, try recompiling again
Posted on 2002-02-11 09:31:31 by stryker
Im using whatever comes with the masm7 package
Iv recompiled the obj file heaps as well still the same :\

ThrawN
Posted on 2002-02-11 09:38:28 by ThrawN
hmm, the only solution I can think of is that if you are programming a 32 bit program, then the linker included with the masm7 package will work perfectly, if it's a 16 bit program, then the linker included with the masm7 package will not work(you have to use the old linker v5.xxx).

I'm suspecting it's a 16 bit program compiled with the new linker(v6.xxx)? I'm not sure.
Posted on 2002-02-11 09:43:32 by stryker
Its a 32bit program indeed. Using ring0 hacks and whatnot.

Dam i need to fix this problem :\

ThrawN
Posted on 2002-02-11 09:48:34 by ThrawN
Could you post your assembling and linking parameters. Assuming that this is a driver and you assemble it with /omf not /coff. If this is the case then the linker will not work. Then again, I might be wrong, I don't have any experience creating drivers.
Posted on 2002-02-11 10:16:21 by stryker
No its not a driver and the source is far to large to post here :\
Im not using any specialy linking params just the assemble and link inside quickedit itself.

Any ideas?

ThrawN
Posted on 2002-02-11 10:24:44 by ThrawN
Ok found the problem,
Does anyone know how to use ml.exe with multible passes like you can do on tasm? The problem is its only doing one pass :\

ThrawN
Posted on 2002-02-12 00:11:09 by ThrawN