Yes, I opened the libsdll project and built the DLL version of snmplib,
and I do have the MSVC6.0 SP5 installed. It looks like as if the problem
is with finding the Microsoft SDK libraries. Is there a test to make
sure the SDK is installed properly?

Allen

-----Original Message-----
From: Alex Burger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 04, 2004 9:17 PM
To: Nourdeh, Allen (US SSA)
Cc: [EMAIL PROTECTED]
Subject: Re: nmakeperl.bat error


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_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to