Problem building QuantlibXL: fatal error LNK1106

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem building QuantlibXL: fatal error LNK1106

Laughing Man-2
Hi,

I can't build QuantLibXL both in Basic and Full configurations (version 1.0.1).
I followed exactly the instructions outlined here:


using Visual C++ 2008 and I keep getting this error:

 Linking...
   Creating library .\buildStatic\vc90\Release (static runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.lib and object .\buildStatic\vc90\Release (static runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.exp 
..\xll\QuantLibXL-vc90-mt-s-1_0_1.xll : fatal error LNK1106: invalid file or disk full: cannot seek to 0xDA8FD3 

All the static libraries (.Lib) seem to have built fine for all the projects in the solution.
I have 170GB free on my drive (not a network drive) and I have checked it for disk errors without having found any.

Has anyone come across this issue, and if so how to solve it?

Many thanks in advance for your help. I attach the full log of the build below.

LM



Build Log
   

Build started: Project: QuantLibXLStatic, Configuration: Release (static runtime)|Win32

Command Lines
  
Creating temporary file "c:\build_ql_1_0_1\QuantLibXL\qlxl\buildStatic\vc90\Release (static runtime)\RSP00000114923160.rsp" with contents
[
/OUT:"..\xll\QuantLibXL-vc90-mt-s-1_0_1.xll" /INCREMENTAL:NO /LIBPATH:"../../ObjectHandler/lib" /LIBPATH:"../../QuantLib/lib" /LIBPATH:"../../QuantLibAddin/lib" /LIBPATH:"../../log4cxx/msvc/lib" /DLL /MANIFEST:NO /PDB:".\buildStatic\vc90\Release (static runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.pdb" /DYNAMICBASE:NO /IMPLIB:".\buildStatic\vc90\Release (static runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.lib" /MACHINE:X86 odbc32.lib odbccp32.lib Ws2_32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\..\quantlib\lib\quantlib-vc90-mt-s.lib" "..\..\objecthandler\lib\objecthandler-xllib-vc90-mt-s-1_0_1.lib" "..\..\log4cxx\msvc\lib\log4cxxs-vc90-mt-s-0_10_0.lib" "..\..\log4cxx\msvc\lib\apr-vc90-mt-s-0_10_0.lib" "..\..\log4cxx\msvc\lib\aprutil-vc90-mt-s-0_10_0.lib" "..\..\objecthandler\lib\xlsdk-vc90-mt-s.lib" "..\..\quantlibaddin\lib\quantlibobjects-vc90-mt-s-1_0_1.lib"

".\buildStatic\vc90\Release (static runtime)\addin.obj"

".\buildStatic\vc90\Release (static runtime)\register_abcd.obj"

".\buildStatic\vc90\Release (static runtime)\register_accountingengines.obj"

".\buildStatic\vc90\Release (static runtime)\register_all.obj"

".\buildStatic\vc90\Release (static runtime)\register_alphaform.obj"

".\buildStatic\vc90\Release (static runtime)\register_assetswap.obj"

".\buildStatic\vc90\Release (static runtime)\register_bonds.obj"

".\buildStatic\vc90\Release (static runtime)\register_browniangenerators.obj"

".\buildStatic\vc90\Release (static runtime)\register_calendar.obj"

".\buildStatic\vc90\Release (static runtime)\register_capfloor.obj"

".\buildStatic\vc90\Release (static runtime)\register_capletvolstructure.obj"

".\buildStatic\vc90\Release (static runtime)\register_cmsmarket.obj"

".\buildStatic\vc90\Release (static runtime)\register_cmsmarketcalibration.obj"

".\buildStatic\vc90\Release (static runtime)\register_correlation.obj"

".\buildStatic\vc90\Release (static runtime)\register_couponvectors.obj"

".\buildStatic\vc90\Release (static runtime)\register_credit.obj"

".\buildStatic\vc90\Release (static runtime)\register_ctsmmcapletcalibration.obj"

".\buildStatic\vc90\Release (static runtime)\register_curvestate.obj"

".\buildStatic\vc90\Release (static runtime)\register_date.obj"

".\buildStatic\vc90\Release (static runtime)\register_daycounter.obj"

".\buildStatic\vc90\Release (static runtime)\register_defaulttermstructures.obj"

".\buildStatic\vc90\Release (static runtime)\register_driftcalculators.obj"

".\buildStatic\vc90\Release (static runtime)\register_evolutiondescription.obj"

".\buildStatic\vc90\Release (static runtime)\register_exercise.obj"

".\buildStatic\vc90\Release (static runtime)\register_forwardrateagreement.obj"

".\buildStatic\vc90\Release (static runtime)\register_handles.obj"

".\buildStatic\vc90\Release (static runtime)\register_index.obj"

".\buildStatic\vc90\Release (static runtime)\register_instruments.obj"

".\buildStatic\vc90\Release (static runtime)\register_interpolation.obj"

".\buildStatic\vc90\Release (static runtime)\register_leg.obj"

".\buildStatic\vc90\Release (static runtime)\register_marketmodelevolvers.obj"

".\buildStatic\vc90\Release (static runtime)\register_marketmodels.obj"

".\buildStatic\vc90\Release (static runtime)\register_mathf.obj"

".\buildStatic\vc90\Release (static runtime)\register_optimization.obj"

".\buildStatic\vc90\Release (static runtime)\register_options.obj"

".\buildStatic\vc90\Release (static runtime)\register_overnightindexedswap.obj"

".\buildStatic\vc90\Release (static runtime)\register_payoffs.obj"

".\buildStatic\vc90\Release (static runtime)\register_piecewiseyieldcurve.obj"

".\buildStatic\vc90\Release (static runtime)\register_prices.obj"

".\buildStatic\vc90\Release (static runtime)\register_pricingengines.obj"

".\buildStatic\vc90\Release (static runtime)\register_processes.obj"

".\buildStatic\vc90\Release (static runtime)\register_products.obj"

".\buildStatic\vc90\Release (static runtime)\register_quotes.obj"

".\buildStatic\vc90\Release (static runtime)\register_randomsequencegenerator.obj"

".\buildStatic\vc90\Release (static runtime)\register_rangeaccrual.obj"

".\buildStatic\vc90\Release (static runtime)\register_ratehelpers.obj"

".\buildStatic\vc90\Release (static runtime)\register_schedule.obj"

".\buildStatic\vc90\Release (static runtime)\register_sequencestatistics.obj"

".\buildStatic\vc90\Release (static runtime)\register_settings.obj"

".\buildStatic\vc90\Release (static runtime)\register_shortratemodels.obj"

".\buildStatic\vc90\Release (static runtime)\register_simplecashflow.obj"

".\buildStatic\vc90\Release (static runtime)\register_smilesection.obj"

".\buildStatic\vc90\Release (static runtime)\register_statistics.obj"

".\buildStatic\vc90\Release (static runtime)\register_swap.obj"

".\buildStatic\vc90\Release (static runtime)\register_swaption.obj"

".\buildStatic\vc90\Release (static runtime)\register_swaptionvolstructure.obj"

".\buildStatic\vc90\Release (static runtime)\register_termstructures.obj"

".\buildStatic\vc90\Release (static runtime)\register_timeseries.obj"

".\buildStatic\vc90\Release (static runtime)\register_utilities.obj"

".\buildStatic\vc90\Release (static runtime)\register_vanillaswap.obj"

".\buildStatic\vc90\Release (static runtime)\register_volatilities.obj"

".\buildStatic\vc90\Release (static runtime)\register_volatility.obj"

".\buildStatic\vc90\Release (static runtime)\abcd.obj"

".\buildStatic\vc90\Release (static runtime)\accountingengines.obj"

".\buildStatic\vc90\Release (static runtime)\alphaform.obj"

".\buildStatic\vc90\Release (static runtime)\assetswap.obj"

".\buildStatic\vc90\Release (static runtime)\bonds.obj"

".\buildStatic\vc90\Release (static runtime)\browniangenerators.obj"

".\buildStatic\vc90\Release (static runtime)\calendar.obj"

".\buildStatic\vc90\Release (static runtime)\capfloor.obj"

".\buildStatic\vc90\Release (static runtime)\capletvolstructure.obj"

".\buildStatic\vc90\Release (static runtime)\cmsmarket.obj"

".\buildStatic\vc90\Release (static runtime)\cmsmarketcalibration.obj"

".\buildStatic\vc90\Release (static runtime)\correlation.obj"

".\buildStatic\vc90\Release (static runtime)\couponvectors.obj"

".\buildStatic\vc90\Release (static runtime)\ctsmmcapletcalibration.obj"

".\buildStatic\vc90\Release (static runtime)\curvestate.obj"

".\buildStatic\vc90\Release (static runtime)\date.obj"

".\buildStatic\vc90\Release (static runtime)\daycounter.obj"

".\buildStatic\vc90\Release (static runtime)\defaulttermstructures.obj"

".\buildStatic\vc90\Release (static runtime)\driftcalculators.obj"

".\buildStatic\vc90\Release (static runtime)\evolutiondescription.obj"

".\buildStatic\vc90\Release (static runtime)\exercise.obj"

".\buildStatic\vc90\Release (static runtime)\forwardrateagreement.obj"

".\buildStatic\vc90\Release (static runtime)\handles.obj"

".\buildStatic\vc90\Release (static runtime)\index.obj"

".\buildStatic\vc90\Release (static runtime)\instruments.obj"

".\buildStatic\vc90\Release (static runtime)\interpolation.obj"

".\buildStatic\vc90\Release (static runtime)\leg.obj"

".\buildStatic\vc90\Release (static runtime)\manual.obj"

".\buildStatic\vc90\Release (static runtime)\marketmodelevolvers.obj"

".\buildStatic\vc90\Release (static runtime)\marketmodels.obj"

".\buildStatic\vc90\Release (static runtime)\mathf.obj"

".\buildStatic\vc90\Release (static runtime)\optimization.obj"

".\buildStatic\vc90\Release (static runtime)\options.obj"

".\buildStatic\vc90\Release (static runtime)\overnightindexedswap.obj"

".\buildStatic\vc90\Release (static runtime)\payoffs.obj"

".\buildStatic\vc90\Release (static runtime)\piecewiseyieldcurve.obj"

".\buildStatic\vc90\Release (static runtime)\prices.obj"

".\buildStatic\vc90\Release (static runtime)\pricingengines.obj"

".\buildStatic\vc90\Release (static runtime)\processes.obj"

".\buildStatic\vc90\Release (static runtime)\products.obj"

".\buildStatic\vc90\Release (static runtime)\quotes.obj"

".\buildStatic\vc90\Release (static runtime)\randomsequencegenerator.obj"

".\buildStatic\vc90\Release (static runtime)\rangeaccrual.obj"

".\buildStatic\vc90\Release (static runtime)\ratehelpers.obj"

".\buildStatic\vc90\Release (static runtime)\schedule.obj"

".\buildStatic\vc90\Release (static runtime)\sequencestatistics.obj"

".\buildStatic\vc90\Release (static runtime)\settings.obj"

".\buildStatic\vc90\Release (static runtime)\shortratemodels.obj"

".\buildStatic\vc90\Release (static runtime)\simplecashflow.obj"

".\buildStatic\vc90\Release (static runtime)\smilesection.obj"

".\buildStatic\vc90\Release (static runtime)\statistics.obj"

".\buildStatic\vc90\Release (static runtime)\swap.obj"

".\buildStatic\vc90\Release (static runtime)\swaption.obj"

".\buildStatic\vc90\Release (static runtime)\swaptionvolstructure.obj"

".\buildStatic\vc90\Release (static runtime)\termstructures.obj"

".\buildStatic\vc90\Release (static runtime)\timeseries.obj"

".\buildStatic\vc90\Release (static runtime)\utilities.obj"

".\buildStatic\vc90\Release (static runtime)\vanillaswap.obj"

".\buildStatic\vc90\Release (static runtime)\volatilities.obj"

".\buildStatic\vc90\Release (static runtime)\volatility.obj"

".\buildStatic\vc90\Release (static runtime)\matrixtooper.obj"

".\buildStatic\vc90\Release (static runtime)\opertomatrix.obj"

".\buildStatic\vc90\Release (static runtime)\opertovector.obj"

".\buildStatic\vc90\Release (static runtime)\scalartooper.obj"

".\buildStatic\vc90\Release (static runtime)\session.obj"
]
Creating command line "link.exe @"c:\build_ql_1_0_1\QuantLibXL\qlxl\buildStatic\vc90\Release (static runtime)\RSP00000114923160.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Output Window
  
Linking...
   Creating library .\buildStatic\vc90\Release (static runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.lib and object .\buildStatic\vc90\Release (static runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.exp
..\xll\QuantLibXL-vc90-mt-s-1_0_1.xll : fatal error LNK1106: invalid file or disk full: cannot seek to 0xDA8FD3
Results
  
Build log was saved at "file://c:\build_ql_1_0_1\QuantLibXL\qlxl\buildStatic\vc90\Release (static runtime)\BuildLog.htm"
QuantLibXLStatic - 1 error(s), 0 warning(s)

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem building QuantlibXL: fatal error LNK1106

Eric Ehlers-2
Hello,

Quoting Laughing Man <[hidden email]>:

> Hi,
>
> I can't build QuantLibXL both in Basic and Full configurations (version
> 1.0.1).
> I followed exactly the instructions outlined here:
>
> http://quantlib.org/quantlibaddin/build__qlxl.html
>
> using Visual C++ 2008 and I keep getting this error:
>
>  Linking...
>
>    Creating library .\buildStatic\vc90\Release (static
> runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.lib and object
> .\buildStatic\vc90\Release (static
> runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.exp
>
> ..\xll\QuantLibXL-vc90-mt-s-1_0_1.xll : fatal error LNK1106: invalid file or
> disk full: cannot seek to 0xDA8FD3

Consult the Visual C++ documentation for that error, it mentions other  
possible causes apart from a full disk, for example it says maybe you  
have a bad block and you should check for this by running a disk  
verification utility.

Googling on that message I also come across reports of earlier  
versions of Visual C++ which generated that error because of a bug, in  
that case the problem was fixed by a service pack.  I don't see that  
for VC++ 2008 but still not a bad idea to make sure you have installed  
any available service packs.

Do you have another machine available?

Regards,
Eric


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem building QuantlibXL: fatal error LNK1106

Peter Caspers-2
I got the same error several times, on different machines, both with VC 2005
and 2008. I never dared to ask because I thought I am the only one seeing
this...

I do not think that it has anything to do with the hard disk, but rather is
a bug in the compiler / linker. My workaround is to export an additional
procedure to excel or exclude one from the export, i.e. I change the
generated code a bit, then it works.

It sounds strange, it is strange, but I can reproduce the behaviour. I never
had this error with the original distribution though, only after adding own
stuff.

Peter

-----Ursprüngliche Nachricht-----
Von: Eric Ehlers [mailto:[hidden email]]
Gesendet: Mittwoch, 27. Oktober 2010 21:34
An: Laughing Man
Cc: [hidden email]
Betreff: Re: [Quantlib-users] Problem building QuantlibXL: fatal error
LNK1106

Hello,

Quoting Laughing Man <[hidden email]>:

> Hi,
>
> I can't build QuantLibXL both in Basic and Full configurations (version
> 1.0.1).
> I followed exactly the instructions outlined here:
>
> http://quantlib.org/quantlibaddin/build__qlxl.html
>
> using Visual C++ 2008 and I keep getting this error:
>
>  Linking...
>
>    Creating library .\buildStatic\vc90\Release (static
> runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.lib and object
> .\buildStatic\vc90\Release (static
> runtime)/QuantLibAddinStatic-vc90-mt-s-1_0_1.exp
>
> ..\xll\QuantLibXL-vc90-mt-s-1_0_1.xll : fatal error LNK1106: invalid file
or
> disk full: cannot seek to 0xDA8FD3

Consult the Visual C++ documentation for that error, it mentions other  
possible causes apart from a full disk, for example it says maybe you  
have a bad block and you should check for this by running a disk  
verification utility.

Googling on that message I also come across reports of earlier  
versions of Visual C++ which generated that error because of a bug, in  
that case the problem was fixed by a service pack.  I don't see that  
for VC++ 2008 but still not a bad idea to make sure you have installed  
any available service packs.

Do you have another machine available?

Regards,
Eric


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users