delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/11:04:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: [ECOS] Help about MIB compiler (mib2c)
From: Gary Thomas <gthomas AT ecoscentric DOT com>
To: llandre <r&d AT wawnet DOT biz>
Cc: eCos Discussion <ecos-discuss AT sources DOT redhat DOT com>, cygwin AT cygwin DOT com
In-Reply-To: <5.1.1.6.0.20020913165253.00ae3e58@192.168.2.1>
References: <5 DOT 1 DOT 1 DOT 6 DOT 0 DOT 20020913165253 DOT 00ae3e58 AT 192 DOT 168 DOT 2 DOT 1>
Date: 13 Sep 2002 09:03:46 -0600
Message-Id: <1031929427.3129.70.camel@hermes.chez-thomas.org>
Mime-Version: 1.0

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 AT ecoscentric DOT com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019