On Jun 21, 8:57 pm, [EMAIL PROTECTED] (Sisyphus) wrote: > ----- Original Message ----- > From: "jis" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 22, 2007 2:44 AM > Subject: Help on Inline C > > > Hi, > > > I started learning Inline::C a few minutes back. > > > I typed in the following code. > > > use warnings; > > use Inline C => Config => > > BUILD_NOISY => 1; > > use Inline C => <<'EOC'; > > void foo() { > > printf("hello\n"); > > } > > EOC > > foo; > > > I got the error > > C:\Perl\lib\CORE\perl58.lib : fatal error LNK1106: invalid file or > > disk full: cannot seek to 0x45ba0b55 > > Did you get the same error when you ran 'nmake test' for Inline-0.44 ? > Is your disk close to full ? > > Is there *any* perl extension (ie a module with an XS file) that you can > build without getting that error ? For example, if you download Digest::MD5 > or Math::FFT from CPAN, can you build them ? Or do you still get the same > error ? > > > > > I just removed > > use Inline C => Config => > > BUILD_NOISY => 1; > > from the above code. > > > I get nothing on my output screen other than > > > 'Microsoft Program Maintenance Utility Version 1.50' > > That's a rather old and inadequate version of nmake - though that probably > has nothing to do with the problem. > > According tohttp://www.cryer.co.uk/brian/mswinswdev/msdev_lnk1106ifodf.htm > (which I quickly Googled up): > ------------------------- > Possible Causes and Remedies: > Insufficient disk space can cause this error. Check how much disk space is > remaining. If it is likely that disk space is becoming exhausted then try > freeing up more disk space. > > This problem has also been observed when using Visual Studio 5, which was > running without any Visual Studio service pack applied. When using Visual > Studio 5 this error can be caused by an internal bug in Visual Studio. In > this instance applying Visual Studio service pack 3 cured the problem. > > A corrupt '.lib' file could (presumably) produce this problem. > ------------------------- > > Which version of perl are you running ? Is it ActiveState perl - if so, > which build ? > What is the size of perl58.lib ? (Perhaps it's corrupt.) > What is the MD5 digest of perl58.lib ? > > Which version of Visual Studio are you using ? If it came with Nmake-1.5 it > must be fairly old. If it came with a newer version of Nmake, then use that > version instead. > > Cheers, > Rob- Hide quoted text - > > - Show quoted text -
Hi Rob, 1. I am using Visual C++ 5.0, Visual Basic 6.0,Active perl 5.8.8. build 820. 2.I installed Nmake 1.5 separately from internet. 3. The size of perl58.lib is around 290kb 4. I have a free space of 50 gb. 5. It looks like all the modules with xs are not working and give me the same error. Thanks for your effort. regards, jis