Hi Allen.
Did you compile the DLL version of snmplib before trying to compile the Perl modules?
I still don't know why you could not build using build.bat, which makes me wonder if that problem is causing the problem with Perl.
Have you installed the MSVC 6.0 SP5 patch? I have no idea if it would make a difference or not, but that is what I am using. Do you have access to another computer where you could do a fresh install of MSVC with SP5 and then Feb 2003 SDK?
Alex
Nourdeh, Allen (US SSA) wrote:
I am getting the following error when running the nmakeperl.bat to build the Perl SNMP modules. Any idea how to fix it?
I am installing net-snmp-5.2.rc2 on XP professional.
Cheers,
Allen
Running Mkbootstrap for NetSNMP::TrapReceiver ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 TrapReceiver.bs
link -out:..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.dll -dll -
nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:
x86 TrapReceiver.obj C:\Perl\lib\CORE\perl58.lib c:\usr\lib\netsnmp.lib c:\usr
\lib\netsnmpagent.lib c:\usr\lib\netsnmphelpers.lib c:\usr\lib\netsnmpmibs.lib c
:\usr\lib\netsnmptrapd.lib C:\PROGRA~1\MICROS~3\VC98\lib\oldnames.lib C:\PROGRA~
1\MICROS~3\VC98\lib\kernel32.lib C:\PROGRA~1\MICROS~3\VC98\lib\user32.lib C:\PRO
GRA~1\MICROS~3\VC98\lib\gdi32.lib C:\PROGRA~1\MICROS~3\VC98\lib\winspool.lib C:\
PROGRA~1\MICROS~3\VC98\lib\comdlg32.lib C:\PROGRA~1\MICROS~3\VC98\lib\advapi32.l
ib C:\PROGRA~1\MICROS~3\VC98\lib\shell32.lib C:\PROGRA~1\MICROS~3\VC98\lib\ole32
.lib C:\PROGRA~1\MICROS~3\VC98\lib\oleaut32.lib C:\PROGRA~1\MICROS~3\VC98\lib\ne
tapi32.lib C:\PROGRA~1\MICROS~3\VC98\lib\uuid.lib C:\PROGRA~1\MICROS~3\VC98\lib\
wsock32.lib C:\PROGRA~1\MICROS~3\VC98\lib\mpr.lib C:\PROGRA~1\MICROS~3\VC98\lib\
winmm.lib C:\PROGRA~1\MICROS~3\VC98\lib\version.lib C:\PROGRA~1\MICROS~3\VC98\li
b\odbc32.lib C:\PROGRA~1\MICROS~3\VC98\lib\odbccp32.lib C:\PROGRA~1\MICROS~3\VC9
8\lib\msvcrt.lib -def:TrapReceiver.def
Creating library ..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.lib and
object ..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.exp
netsnmptrapd.lib(snmptrapd.obj) : error LNK2001: unresolved external symbol _Run
AsService
netsnmptrapd.lib(snmptrapd.obj) : error LNK2001: unresolved external symbol _Reg
isterStopFunction
netsnmptrapd.lib(snmptrapd.obj) : error LNK2001: unresolved external symbol _Unr
egisterService
netsnmptrapd.lib(snmptrapd.obj) : error LNK2001: unresolved external symbol _Reg
isterService
netsnmptrapd.lib(snmptrapd.obj) : error LNK2001: unresolved external symbol _Par
seCmdLineForServiceOption
..\blib\arch\auto\NetSNMP\TrapReceiver\TrapReceiver.dll : fatal error LNK1120: 5
unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
