You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ender Josef <jo...@allocare.com> on 2001/06/13 18:57:19 UTC

Apache::DB fatal error U1077 on Win32

Hello

When I tried to install Apache::DB on NT 4.0, Perl 5.6.1, Apache 1.3.20
mod_perl/1.25_01-dev
the following error occured:

C:\Perl\lib\CORE\perl56.lib : fatal error LNK1106: invalid file or disk
full: ca
nnot seek to 0x3afe435e
NMAKE : fatal error U1077: 'link' : return code '0xc'
Stop.
(full listing at the end)

I already applied the WIN32 patch (#ifndef WIN32   if (ApacheSIGINT)
*ApacheSIGINT)(SIGINT); #endif)

Any ideas how to fix this?

thanks in advance,
Josi


full error listing:
----snip----
C:\.cpan\build\Apache-DB-0.06>nmake

Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

        C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib
C:\Perl\lib\ExtUtils/xs
ubpp  -typemap C:\Perl\lib\ExtUtils\typemap DB.xs > DB.xsc &&
C:\Perl\bin\perl.e
xe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e mv DB.xsc DB.c
        cl -c  -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DE
S_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX
-O1 -
MD -DNDEBUG    -DVERSION=\"0.06\"  -DXS_VERSION=\"0.06\"  -IC:\Perl\lib\CORE
DB
.c
DB.c
"Running Mkbootstrap for Apache::DB ()"
        C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command
-e
chmod 644 DB.bs
        C:\Perl\bin\perl.exe "-IC:\Perl\lib" "-IC:\Perl\lib"
-MExtUtils::Mksymli
sts  -e "Mksymlists('NAME' => 'Apache::DB', 'DLBASE' => 'DB', 'DL_FUNCS' =>
{  }
, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
        link -out:blib\arch\auto\Apache\DB\DB.dll -dll -nologo -nodefaultlib
-re
lease  -libpath:"C:\Perl\lib\CORE"  -machine:x86 DB.obj
C:\Perl\lib\CORE\perl5
6.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib
wsock32.l
ib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib
-def:DB.def

C:\Perl\lib\CORE\perl56.lib : fatal error LNK1106: invalid file or disk
full: ca
nnot seek to 0x3afe435e
NMAKE : fatal error U1077: 'link' : return code '0xc'
Stop.
----snip----

Re: Apache::DB fatal error U1077 on Win32

Posted by "William A. Rowe, Jr." <ad...@rowe-clan.net>.
From: "Randy Kobes" <ra...@theoryx5.uwinnipeg.ca>
Sent: Wednesday, June 13, 2001 10:47 PM


> On Wed, 13 Jun 2001, Ender Josef wrote:
> 
> > C:\Perl\lib\CORE\perl56.lib : fatal error LNK1106: invalid file or disk
> > full: cannot seek to 0x3afe435e
> > NMAKE : fatal error U1077: 'link' : return code '0xc'
> > Stop.
> > (full listing at the end)
> >
> > Any ideas how to fix this?
> 
>    Assuming your disk isn't really full, this error can result by
> from using a compiler that generates code incompatible with the
> library it's trying to link against. Would you happen to have
> VC++ 5, and are using ActivePerl build 6xx? There is an incompatibility
> there, as ActiveState uses VC++ 6. 

That's his bug already (boy does that look familiar :-/)

> If so, you could
> - upgrade to VC++ 6
> - compile Perl with VC++ 5
> - install Apache-DB thru the ppm utility: within your ppm utility shell,
> set the repository to
>   http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
> and then "install Apache-DB".

One more method (free and easy) ... grab the SDK tools.  Since the SDK includes 
a set of some of the tools (including link.exe), it addresses the problem.  
I actually hit this trying to link to MS's system dll .lib files, and the bundled 
link addressed the issue.




Re: Apache::DB fatal error U1077 on Win32

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 13 Jun 2001, Ender Josef wrote:

> Hello
>
> When I tried to install Apache::DB on NT 4.0, Perl 5.6.1, Apache 1.3.20
> mod_perl/1.25_01-dev
> the following error occured:
>
> C:\Perl\lib\CORE\perl56.lib : fatal error LNK1106: invalid file or disk
> full: cannot seek to 0x3afe435e
> NMAKE : fatal error U1077: 'link' : return code '0xc'
> Stop.
> (full listing at the end)
>
> I already applied the WIN32 patch (#ifndef WIN32   if (ApacheSIGINT)
> *ApacheSIGINT)(SIGINT); #endif)
>
> Any ideas how to fix this?
[ ... ]

Hi,
   Assuming your disk isn't really full, this error can result by
from using a compiler that generates code incompatible with the
library it's trying to link against. Would you happen to have
VC++ 5, and are using ActivePerl build 6xx? There is an incompatibility
there, as ActiveState uses VC++ 6. If so, you could
- upgrade to VC++ 6
- compile Perl with VC++ 5
- install Apache-DB thru the ppm utility: within your ppm utility shell,
set the repository to
  http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
and then "install Apache-DB".

best regards,
randy kobes