This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help about MIB compiler (mib2c)


This is a CygWin setup question - please ask them (CC'd)

On Fri, 2002-09-13 at 09:01, llandre wrote:
> I'm trying to use the MIB compiler (mib2c); my environment is:
> - cygwin 1.3.2
> - UCD-SNMP 4.2.1
> 
> I followed the instructions described in the README-eCos file.
> Here is what I did:
> 1) I installed and built the UCD-SNMP 4.2.1 package
> 2) I downloaded the nsPerl5.005_03-12-MSWin32-x86.zip file
> and I built the module with the command:
> ./install
> 3) I downloaded the SNMP-3.1.0-bin-x86-ASPerl5.005_03-515.zip file and
> I copied the pre-built files under the nsPerl5.005_03 directory.
> 4) I set the MIBS variable (MIBS=ALL ; export MIBS)
> 5) I tried to generate the .c and .h files but I encountered the
> following error (I used both the "standard" perl interpreter and the
> nsPerl5.005_03 version):
> -----------------------------------------------------------------------
> ### standard perl
> $ perl -I/usr/perlmod/nsPerl5.005_03/site/lib mib2c ip
> Can't load '/usr/perlmod/nsPerl5.005_03/site/lib/auto/SNMP/SNMP.dll' for module
> SNMP: dlopen: Win32 error 126 at 
> /usr/lib/perl5/5.6.1/cygwin-multi/DynaLoader.pm
>   line 206.
>   at mib2c line 17
> Compilation failed in require at mib2c line 17.
> BEGIN failed--compilation aborted at mib2c line 17.
> 
> ###  nsPerl5.005_03
> $ /usr/perlmod/nsPerl5.005_03/bin/MSWin32-x86/nsperl.exe -I/usr/perlmod/nsPerl5
> .005_03/site/lib mib2c ip
> Can't load 
> 'C:\cygwin\usr\perlmod\nsPerl5.005_03\site\lib/auto/SNMP/SNMP.dll' fo
> r module SNMP: load_file:Impossibile trovare il modulo specificato at 
> C:\cygwin\
> usr\perlmod\nsPerl5.005_03\lib/MSWin32-x86/DynaLoader.pm line 169. at mib2c 
> line 17
> BEGIN failed--compilation aborted at mib2c line 17.
> -----------------------------------------------------------------------
> 
> Could you kindly give me some help?
> Is this procedure correct?
> If no, which is the corret one?
> 
> Thanks a lot in advance,
> 
> llandre
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]