Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Missing bufferoverflowU.lib

by BrowserUk (Pope)
on Mar 13, 2009 at 12:43 UTC ( #750384=perlquestion: print w/ replies, xml ) Need Help??
BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone recognise the subject library? I'm try to build modules compatible with AS1004 x64 Perl and getting the following error:

LINK : fatal error LNK1181: cannot open input file 'bufferoverflowU.li +b'

It's being added to the link command because it appears in the perl config:

C:\>perl -V:libs libs=' oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32 +.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32 +.lib bufferoverflowU.lib msvcrt.lib';

But it doesn't appear in anywhere in the perl installation:

C:\>attrib /s Perl64\buffer* A R C:\Perl64\lib\Archive\Zip\BufferedFileHandle.pm

Nor anywhere in the compiler distribution:

C:\>attrib /s "Program Files\Microsoft SDKs\Windows"\B*.lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\IA64\bcr +ypt.lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\IA64\bhs +upp.lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\IA64\Bit +s.Lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64\bcry +pt.lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64\bhsu +pp.lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64\Bits +.Lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64\bthp +rops.lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\bcrypt.l +ib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\bhsupp.l +ib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\Bits.Lib A C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\bthprops +.lib

So the question is who forgot to package it: MS | AS | P5P? (

And where can I lay my hands on a copy in the meantime?)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Comment on Missing bufferoverflowU.lib
Select or Download Code
Re: Missing bufferoverflowU.lib
by phaylon (Curate) on Mar 13, 2009 at 13:50 UTC

    I have no idea about development on Win32 whatsoever, but this non-Perl discussion seems to indicate the file was discontinued after version 6.0a of the Platform SDK.

    HTH, phaylon


    Ordinary morality is for ordinary people. -- Aleister Crowley

      Yep. That's the root of the problem.

      AS built their win64 build with "Microsoft ® Windows Server® 2003 R2 Platform SDK", but that has been superseded by "Windows SDK for Windows Server 2008 and .NET Framework 3.5", and all pages for the former now link to the latter. And as you can never get a direct link that works for more than a day or so, it effectively makes it impossible to obtain the same compiler as AS used.

      I've succeeded(*) in hacking my way past that problem by creating a dummy bufferoverflowU.lib that exports a single static int call dummy. By placing that the appropriate place, the build completes.

      However, whilst the build succeed, I'm getting a runtime error R6034 when it tries to load the resultant dll. This is a problem that's come up here before (I think I may even have been the one that tracked down a solution to it?), but I cannot make it work for x64.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        I've succeeded(*) in hacking my way past that problem by creating a dummy bufferoverflowU.lib

        Wouldn't you be better off just removing bufferoverflowU.lib from the 'libs' and 'perllibs' listing in Config_heavy.pl ? Or is there still some real need for that library ?

        Cheers,
        Rob
Re: Missing bufferoverflowU.lib
by lostjimmy (Chaplain) on Mar 13, 2009 at 14:05 UTC
    This knowledge base article goes into some more details about the library and what it is used for, but I'm pretty sure it won't be of much help in your situation.
Re: Missing bufferoverflowU.lib
by cdarke (Prior) on Dec 17, 2009 at 22:42 UTC
    Using Microsoft Windows SDK v7.0 on Windows 7 64-bit (DEBUG environment command-line) and I got the same problem. I removed it from the LDLOADLIBS list in the Makefile and everything is fine.
      I do have to test the final result, but I solved the compiling issue by copying the BufferOverflowU.lib file from the Windows DDK to the Windows 7 SDK folder.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://750384]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-08-30 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls