FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC fatal error LNK1106: invalid file or disk full: cannot seek
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
fatal error LNK1106: invalid file or disk full: cannot seek
Posted: Fri Jul 10, 2009 07:28 AM
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 (fw): Select all Collapse
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 2304 / 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)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: fatal error LNK1106: invalid file or disk full: cannot seek
Posted: Fri Jul 10, 2009 11:53 PM

Dear All,

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

Regards,
Dutch

Regards,

Dutch



FWH 2304 / 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)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: fatal error LNK1106: invalid file or disk full: cannot seek
Posted: Sat Jul 11, 2009 06:42 AM
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
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: fatal error LNK1106: invalid file or disk full: cannot seek
Posted: Sun Jul 12, 2009 03:15 PM
Dear Antonio,

Code (fw): Select all Collapse
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 2304 / 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)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: fatal error LNK1106: invalid file or disk full: cannot seek
Posted: Sun Jul 12, 2009 05:53 PM

Dutch,

Have you tried /expectedoutputsize:50000000 option ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: fatal error LNK1106: invalid file or disk full: cannot seek
Posted: Sun Jul 12, 2009 06:33 PM
Dear Antonio,
Antonio Linares wrote:Dutch,

Have you tried /expectedoutputsize:50000000 option ?

Code (fw): Select all Collapse
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 2304 / 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)

Continue the discussion