Page 1 of 1

fatal error LNK1106: invalid file or disk full: cannot seek

PostPosted: Fri Jul 10, 2009 7:28 am
by dutch
Dear Antonio,
I've got this error while link the program as following.

%vcdir%\bin\link @msvc.tmp /nologo /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:ARM /ARMPADCODE:NO

Code: Select all  Expand view
Lines 4255, Functions/Procedures 43
Generating C source output to 'EZPDA.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

EZPDA.c
EZPDA.exe : fatal error LNK1106: invalid file or disk full: cannot seek to 0x176260
* Linking errors *

> Terminated with exit code 1106.

Re: fatal error LNK1106: invalid file or disk full: cannot seek

PostPosted: Fri Jul 10, 2009 11:53 pm
by dutch
Dear All,

I don't know what happen. I delete it before compile and it has no problem.

Regards,
Dutch

Re: fatal error LNK1106: invalid file or disk full: cannot seek

PostPosted: Sat Jul 11, 2009 6:42 am
by Antonio Linares
Dutch,

This may help:

To work around this problem, add the /IGNOREIDL linker option


http://support.microsoft.com/kb/834332

Also this:

I suggest you try the /expectedoutputsize link option:

/expectedoutputsize:50000000

You can start at a value of 50000000, and increase the value to 75000000 in

increments until your link is stable.


http://www.eggheadcafe.com/aspnet_answe ... 639362.asp

Re: fatal error LNK1106: invalid file or disk full: cannot seek

PostPosted: Sun Jul 12, 2009 3:15 pm
by dutch
Dear Antonio,

Code: Select all  Expand view
LINK : warning LNK4044: unrecognized option '/IGNOREIDL'; ignored
EZPDA.exe : fatal error LNK1106: invalid file or disk full: cannot seek to 0x176260
* Linking errors *


It still show the same error. It will be show this error if the EXE is exist, if not the linker is work fine.

Regards,
Dutch

Re: fatal error LNK1106: invalid file or disk full: cannot seek

PostPosted: Sun Jul 12, 2009 5:53 pm
by Antonio Linares
Dutch,

Have you tried /expectedoutputsize:50000000 option ?

Re: fatal error LNK1106: invalid file or disk full: cannot seek

PostPosted: Sun Jul 12, 2009 6:33 pm
by dutch
Dear Antonio,
Antonio Linares wrote:Dutch,

Have you tried /expectedoutputsize:50000000 option ?

Code: Select all  Expand view
LINK : fatal error LNK1105: cannot close file 'EZPDA.exe'
* Linking errors *
 

This parameter made EXE file size upto parameter (50000000=50Mb) and still error. Now I linker without error by delete existing EXE file before compile and link.

Regards,
Dutch