[p4perl] 8 hrs invested, 1 unresolved external symbol to go...

Dan Lindy dan.lindy at gmail.com
Mon Jul 23 18:07:01 PDT 2007


Still trying to get p4perl to install, keeping things as plain-vanilla as I
can:

- Windows XP
- ActiveState Perl v5.8.8 (latest, I believe)
- M$ Visual C++ Express
- P4-3.5708
- API 2004.2.83213

Any help at all would be greatly appreciated...

Thanks.


Gory Details:

C:\p4perl\P4-3.5708>nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd lib && "C:\Program Files\Microsoft Visual Studio
8\VC\BIN\nmake.exe"

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c  -IC:/p4perl/r04.2-bin.ntx86 -Ilib  -nologo -GF -W3 -MD -Zi
-DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D
HAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCR
T_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"\"  -DXS_VERSION=\"\"
"-IC:\Perl\lib\CORE"  /TP -DOS_NT  -DP4API_VERSION=
513026 -DBUILD_DATE=1185238672 -Dconst_char="char" p4result.cc
p4result.cc
c:\p4perl\r04.2-bin.ntx86\filesys.h(178) : warning C4244: '=' : conversion
from 'time_t' to 'int', possible loss of data

        cl -c  -IC:/p4perl/r04.2-bin.ntx86 -Ilib  -nologo -GF -W3 -MD -Zi
-DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D
HAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCR
T_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"\"  -DXS_VERSION=\"\"
"-IC:\Perl\lib\CORE"  /TP -DOS_NT  -DP4API_VERSION=
513026 -DBUILD_DATE=1185238672 -Dconst_char="char" perlclientapi.cc
perlclientapi.cc
c:\p4perl\r04.2-bin.ntx86\filesys.h(178) : warning C4244: '=' : conversion
from 'time_t' to 'int', possible loss of data

perlclientapi.cc(90) : warning C4996: 'localtime' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\time.inl(114)
: see declaration of 'localtime'
        Message: 'This function or variable may be unsafe. Consider using
localtime_s instead. To disable deprecation, u
se _CRT_SECURE_NO_DEPRECATE. See online help for details.'
perlclientapi.cc(98) : warning C4996: 'sprintf' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) :
see declaration of 'sprintf'
        Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use
 _CRT_SECURE_NO_DEPRECATE. See online help for details.'
perlclientapi.cc(104) : warning C4996: 'sprintf' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) :
see declaration of 'sprintf'
        Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use
 _CRT_SECURE_NO_DEPRECATE. See online help for details.'
        cl -c  -IC:/p4perl/r04.2-bin.ntx86 -Ilib  -nologo -GF -W3 -MD -Zi
-DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D
HAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCR
T_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"\"  -DXS_VERSION=\"\"
"-IC:\Perl\lib\CORE"  /TP -DOS_NT  -DP4API_VERSION=
513026 -DBUILD_DATE=1185238672 -Dconst_char="char" perlclientuser.cc
perlclientuser.cc
c:\p4perl\r04.2-bin.ntx86\filesys.h(178) : warning C4244: '=' : conversion
from 'time_t' to 'int', possible loss of data

perlclientuser.cc(371) : warning C4101: 'seq' : unreferenced local variable
        lib /OUT:libp4.lib p4result.obj  perlclientapi.obj
perlclientuser.obj
Microsoft (R) Library Manager Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

        "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f
Makefile all -nologo
        cd ..
        C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp  -C++ -prototypes
-typemap C:\Perl\lib\ExtUtils\typemap  P4.xs
> P4.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv P4.xsc P4.c
        cl -c  -IC:/p4perl/r04.2-bin.ntx86 -Ilib  -nologo -GF -W3 -MD -Zi
-DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D
HAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCR
T_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"3.5708\"  -DXS_VERSION=\"
3.5708\"  "-IC:\Perl\lib\CORE"  /TP -DOS_NT  -DP4
API_VERSION=513026 -DBUILD_DATE=1185238672 -Dconst_char="char" P4.c
P4.c
c:\p4perl\r04.2-bin.ntx86\filesys.h(178) : warning C4244: '=' : conversion
from 'time_t' to 'int', possible loss of data

P4.xs(358) : warning C4996: 'sprintf' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(345) :
see declaration of 'sprintf'
        Message: 'This function or variable may be unsafe. Consider using
sprintf_s instead. To disable deprecation, use
 _CRT_SECURE_NO_DEPRECATE. See online help for details.'
Running Mkbootstrap for P4 ()
        C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 P4.bs
        C:\Perl\bin\perl.exe -MExtUtils::Mksymlists  -e
"Mksymlists('NAME'=>\"P4\", 'DLBASE' => 'P4', 'DL_FUNCS' => {  }
, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
        link -out:blib\arch\auto\P4\P4.dll -dll -nologo -nodefaultlib
-opt:ref,icf  -libpath:"C:\Perl\lib\CORE"  -machin
e:x86 P4.obj  lib/libp4.lib C:\Perl\lib\CORE\perl58.lib C:\p4perl\r04.2-
bin.ntx86\libclient.lib C:\p4perl\r04.2-bin.ntx8
6\librpc.lib C:\p4perl\r04.2-bin.ntx86\libsupp.lib "C:\Program
Files\Microsoft Visual Studio 8\VC\LIB\oldnames.lib" "C:\
Program Files\Microsoft Visual Studio 8\VC\LIB\kernel32.lib" "C:\Program
Files\Microsoft Platform SDK\Lib\user32.lib" "C
:\Program Files\Microsoft Platform SDK\Lib\gdi32.lib" "C:\Program
Files\Microsoft Platform SDK\Lib\winspool.lib" "C:\Pro
gram Files\Microsoft Platform SDK\Lib\comdlg32.lib" "C:\Program
Files\Microsoft Platform SDK\Lib\advapi32.lib" "C:\Progr
am Files\Microsoft Platform SDK\Lib\shell32.lib" "C:\Program Files\Microsoft
Platform SDK\Lib\ole32.lib" "C:\Program Fil
es\Microsoft Platform SDK\Lib\oleaut32.lib" "C:\Program Files\Microsoft
Platform SDK\Lib\netapi32.lib" "C:\Program Files
\Microsoft Platform SDK\Lib\uuid.lib" "C:\Program Files\Microsoft Platform
SDK\Lib\ws2_32.lib" "C:\Program Files\Microso
ft Platform SDK\Lib\mpr.lib" "C:\Program Files\Microsoft Platform
SDK\Lib\winmm.lib" "C:\Program Files\Microsoft Platfor
m SDK\Lib\version.lib" "C:\Program Files\Microsoft Visual Studio
8\VC\LIB\msvcrt.lib" -def:P4.def
   Creating library blib\arch\auto\P4\P4.lib and object
blib\arch\auto\P4\P4.exp
libsupp.lib(fileiont.obj) : error LNK2001: unresolved external symbol __iob
libsupp.lib(diffsp.obj) : error LNK2001: unresolved external symbol __iob
libclient.lib(clientuser.obj) : error LNK2019: unresolved external symbol
__iob referenced in function "public: virtual
void __thiscall ClientUser::OutputError(char *)" (?OutputError at ClientUser@@
UAEXPAD at Z)
libsupp.lib(debug.obj) : error LNK2001: unresolved external symbol __iob
libsupp.lib(echoctl.obj) : error LNK2001: unresolved external symbol __iob
libsupp.lib(errorlog.obj) : error LNK2001: unresolved external symbol __iob
blib\arch\auto\P4\P4.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\link.EXE"' : return code '0x460'
Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4perl/attachments/20070723/0950f701/attachment-0001.html>


More information about the p4perl mailing list