Subject: | issue with Sys::Syslog |
Date: | Mon, 11 Dec 2006 20:54:28 +0530 |
To: | <bug-Sys-Syslog [...] rt.cpan.org> |
From: | "Rakesh Soni" <Rakesh_Soni [...] symantec.com> |
Hi,
I downloaded the cource of Sys::Syslog from cpan.org and am trying to
build the sources so that I can include the module into my perl
distribution. But I am geting this error while building the sources,
please help:
Show quoted text
________________________________________________________________________
____
C:\Documents and Settings\rakesh_soni\Desktop\Perl
modules\Sys-Syslog-0.17.tar\S
ys-Syslog-0.17>nmake
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
cp Syslog.pm blib\lib\Sys\Syslog.pm
G:\perl\bin\perl.exe G:\perl\lib\ExtUtils/xsubpp -noprototypes
-typemap
G:\perl\lib\ExtUtils\typemap Syslog.xs > Syslog.xsc &&
G:\perl\bin\perl.exe -ME
xtUtils::Command -e mv Syslog.xsc Syslog.c
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.17\"
-DXS_VERSION=\
"0.17\" "-IG:\perl\lib\CORE" Syslog.c
Syslog.c
Syslog.xs(102) : warning C4013: 'openlog' undefined; assuming extern
returning i
nt
Syslog.xs(110) : warning C4013: 'syslog' undefined; assuming extern
returning in
t
Syslog.xs(117) : warning C4013: 'setlogmask' undefined; assuming extern
returnin
g int
Syslog.c(292) : warning C4101: 'RETVAL' : unreferenced local variable
Syslog.xs(122) : warning C4013: 'closelog' undefined; assuming extern
returning
int
Running Mkbootstrap for Sys::Syslog ()
G:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Syslog.bs
G:\perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=>\"Sy
s::Syslog\", 'DLBASE' => 'Syslog', 'DL_FUNCS' => { }, 'FUNCLIST' => [],
'IMPORT
S' => { }, 'DL_VARS' => []);"
link -out:blib\arch\auto\Sys\Syslog\Syslog.dll -dll -nologo
-nodefaultli
b -debug -opt:ref,icf -libpath:"G:\perl\lib\CORE" -machine:x86
Syslog.obj G:
\perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib
winspoo
l.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.li
b uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib
odbccp32.lib msv
crt.lib -def:Syslog.def
Creating library blib\arch\auto\Sys\Syslog\Syslog.lib and object
blib\arch\au
to\Sys\Syslog\Syslog.exp
Syslog.obj : error LNK2019: unresolved external symbol _openlog
referenced in fu
nction _XS_Sys__Syslog_openlog_xs
Syslog.obj : error LNK2019: unresolved external symbol _syslog
referenced in fun
ction _XS_Sys__Syslog_syslog_xs
Syslog.obj : error LNK2019: unresolved external symbol _setlogmask
referenced in
function _XS_Sys__Syslog_setlogmask_xs
Syslog.obj : error LNK2019: unresolved external symbol _closelog
referenced in f
unction _XS_Sys__Syslog_closelog_xs
blib\arch\auto\Sys\Syslog\Syslog.dll : fatal error LNK1120: 4 unresolved
externa
ls
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
________________________________________________________________________
_____
Distribution Name:Sys-Syslog-0.18
Perl version: perl, v5.8.7 built for MSWin32-x86-multi-thread
Operating system: Microsoft Windows XP Professional
Please let me know what I am doing wrong as soon as possible since this
is really urgent for me.
Thanks and Regards,
Rakesh