Re: Problem building QuantlibXL: fatal error LNK1106

Posted by Peter Caspers-2 on
URL: http://quantlib.414.s1.nabble.com/Problem-building-QuantlibXL-fatal-error-LNK1106-tp8597p8599.html

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