Re: Trying to build berkeleyDB module against M$ VStudio 2005 SDK stuff



On Sep 25, 10:50 pm, sisyphus <sisyphus...@xxxxxxxxx> wrote:
On Sep 25, 12:53 pm, consultmac2 <barryc....@xxxxxxxxx> wrote:
.
.

NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
8\vc\bin\c
l.EXE"' : return code '0xc0000135'
Stop.

The failing command was:

cl -c -IC:\db-4.7.25.NC\build_windows -nologo -GF -W3 -MD -Zi -
DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -
DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -
DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.35\" -
DXS_VERSION=\"0.35\" "-IC:\Perl\lib\CORE" BerkeleyDB.c

While still in the \BerkeleyDB-0.35 directory, I'd try manually re-
running that command (ie by itself, outside of 'nmake') and see if a
more meaningful error message is presented.

Cheers,
Rob

Good suggestion, Rob. Thanks.

I tried it and was immediately informed that mspdb80.dll couldn't be
found. After adding its location to my PATH environment variable, I
ran into several other similar occurrences. I looked high and low
(except here on newsgroups that weren't available to me temporarily)
and realized that I likely needed to 'run' the Visual Studio companion
batch script vsvars32.bat before continuing. That has eliminated a
number of the dependency issues that I ran into, but now I have more
problems:

Creating library blib\arch\auto\BerkeleyDB\BerkeleyDB.lib and
object blib\arc
h\auto\BerkeleyDB\BerkeleyDB.exp
BerkeleyDB.obj : error LNK2019: unresolved external symbol _db_version
reference
d in function _XS_BerkeleyDB_db_version
BerkeleyDB.obj : error LNK2019: unresolved external symbol
_db_strerror referenc
ed in function _XS_BerkeleyDB__db_remove
BerkeleyDB.obj : error LNK2019: unresolved external symbol _db_create
referenced
in function _XS_BerkeleyDB__db_remove
BerkeleyDB.obj : error LNK2019: unresolved external symbol
_db_env_create refere
nced in function _XS_BerkeleyDB__Env_create
blib\arch\auto\BerkeleyDB\BerkeleyDB.dll : fatal error LNK1120: 4
unresolved ext
ernals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\l
ink.EXE"' : return code '0x460'
Stop.

.



Relevant Pages

  • Re: Unresolved Externals creating driver
    ... usbpdi.obj: error LNK2019: unresolved external symbol ... > an identical driver, under a different name. ... > I get in this vicious circle of putting in a reference to a library, ... > having the build complain about multiply defined symbols. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem in compiling firefox 3 source against my extension
    ... for your reference. ... nsPlayBackUtils.obj: error LNK2019: unresolved external symbol ... nsPlayBackUtils::CheckTitle(class nsIDOMWindow *,class nsAString ... nsPlayBackUtils::GetXULTextNode(class nsIDOMDocument *,class nsAString ...
    (microsoft.public.vc.language)
  • Linker error building DLL with old time(),ctime(), difftime() functions - ideas?
    ... am converting a static C and C++ library to a DLL. ... without MFC support), the reference to "difftime" links in just fine, but ... lCoreSupport.obj: error LNK2019: unresolved external symbol time referenced ... function lSessionClose ...
    (microsoft.public.pocketpc.developer)
  • Re: adding a lib to the hal.lib
    ... Probably an error in your sources file, ... but reference it in your targets in the BUILDEXE tree. ... unresolved external symbol _CFDrWatsonWrite referenced in function ... _OEMPostInit ...
    (microsoft.public.windowsce.platbuilder)