Title: RE: Problem with mib2C

No luck. It gave me the same problem again when I did the changes as you mentioned. I also tried setting the INSTALL_BASE variable to the Source Directory but got the same error. I am attaching the compilation log with the mail for your reference.

Thanks

- Akshatha

-----Original Message-----
From: Alex Burger [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 15, 2005 5:56 PM
To: [EMAIL PROTECTED]
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Problem with mib2C


Hi Akshatha.

Trying modifying the nmakeperl.bat file by commenting out the existing
'perl Makefile.PL CAPI=TRUE -NET-SNMP-PATH=%INSTALL_BASE%' and
uncommenting the 'perl Makefile.PL CAPI=TRUE -NET-SNMP-IN-SOURCE=TRUE line.

Alex


[EMAIL PROTECTED] wrote:
> Hi Alex,
>
> Thanks for your reply.
>
> I did use the build.bat to compile the main package and it builds the
> Main Package successfully. After running the build.bat when I run the
> nmakeperl I get the following problem.
>
> Thanks
>
> - Akshatha
>
> -----Original Message-----
> From: Alex Burger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 14, 2005 9:45 PM
> To: [EMAIL PROTECTED]
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: Problem with mib2C
>
> Hi.
>
> [EMAIL PROTECTED] wrote:
>  > As directed by the message, I installed the perl module
>  > "ActivePerl-5.8.6.811-MSWin32-x86-122208" and then followed the
>  > instructions given in the README file. When I tried to run the nmakeperl
>  > I always keep getting the following errors:
>  >
>  > NMAKE : fatal error U1077: 'cl' : return code '0x2'
>  >
>  > Stop.
>  >
>  > The nmake.out logs the error as "default_store.xs(5) : fatal error
>  > C1083: Cannot open include file: 'net-snmp/library/default_store.h': No
>  > such file or directory"
>  >
>  > I already have the default_store.h in the 'net-snmp/library/' folder.
>  >
>  > Could anybody help me identify what could be the problem here ?
>
> How did you compile the main package?  Did you use build.bat?  Have you
> made any changes to any source files?
>
> If you didn't use build.bat, then I suggest you give it a try.
>
> Alex
>

 

C:\Documents and Settings\akshatha.b\Desktop\net-snmp-5.2.1>win32\nmakeperl
Remember to run this script from the base of the source directory.
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Writing Makefile for NetSNMP::default_store
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Writing Makefile for NetSNMP::ASN
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Writing Makefile for NetSNMP::OID
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Note (probably harmless): No library found for -lnetsnmpagent
Note (probably harmless): No library found for -lnetsnmphelpers
Note (probably harmless): No library found for -lnetsnmpmibs
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Writing Makefile for NetSNMP::agent::default_store
Writing Makefile for NetSNMP::agent
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Writing Makefile for SNMP
Net-SNMP base directory: C:\Documents and 
Settings\akshatha.b\Desktop\net-snmp-5.2.1
Warning: prerequisite NetSNMP::OID 5.1 not found.
Note (probably harmless): No library found for -lnetsnmpagent
Note (probably harmless): No library found for -lnetsnmphelpers
Note (probably harmless): No library found for -lnetsnmpmibs
Note (probably harmless): No library found for -lnetsnmptrapd
Writing Makefile for NetSNMP::TrapReceiver
Writing Makefile for Bundle::NetSNMP
Make the Perl SNMP modules.
Command line warning D4024 : unrecognized source file type 'and', object file 
assumed
Command line warning D4027 : source file 'and' ignored
Command line warning D4024 : unrecognized source file type 
'Settings\akshatha.b\Desktop\net-snmp-5.2.1\include\', object
 file assumed
Command line warning D4027 : source file 
'Settings\akshatha.b\Desktop\net-snmp-5.2.1\include\' ignored
Command line warning D4024 : unrecognized source file type 'and', object file 
assumed
Command line warning D4027 : source file 'and' ignored
Command line warning D4024 : unrecognized source file type 
'Settings\akshatha.b\Desktop\net-snmp-5.2.1\include\net-snmp\
', object file assumed
Command line warning D4027 : source file 
'Settings\akshatha.b\Desktop\net-snmp-5.2.1\include\net-snmp\' ignored
Command line warning D4024 : unrecognized source file type 'and', object file 
assumed
Command line warning D4027 : source file 'and' ignored
Command line warning D4024 : unrecognized source file type 
'Settings\akshatha.b\Desktop\net-snmp-5.2.1\win32\', object f
ile assumed
Command line warning D4027 : source file 
'Settings\akshatha.b\Desktop\net-snmp-5.2.1\win32\' ignored
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
If errors are seen stop here and review perl\nmake.out.
Press any key to continue . . .

Reply via email to