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

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

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

Post 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

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.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

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

Post by dutch »

Dear All,

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

Regards,
Dutch
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

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

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

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

Post by dutch »

Dear Antonio,

Code: Select all

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
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

Dutch,

Have you tried /expectedoutputsize:50000000 option ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

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

Post by dutch »

Dear Antonio,
Antonio Linares wrote:Dutch,

Have you tried /expectedoutputsize:50000000 option ?

Code: Select all

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
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Post Reply