Re: mib2c-update: unable to merge automatically.

"Paul Herring" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Jan 7, 2008 4:41 PM, Dave Shield <[email protected]> wrote:
> On 07/01/2008, Paul Herring <[email protected]> wrote:
> > I'm starting to get this 'error' cropping up on my files when using
> > mib2c-update on my source files (it's previously had no problem
> > merging MIB changes into my modified sources.):
>
> What happens if you create a completely new directory,
> copy your current code file there, and run "mib2c-update"
> in that new directory?
>
> Do you get an error or not?
> If so, what is the output?

It appears to have worked. Well not complained anyway. Any clues please?:

-----------8<--------
[paul@75-dhcp ndsnmp]$ cd ..
[paul@75-dhcp apps]$ md test
[paul@75-dhcp apps]$ cd test
[paul@75-dhcp test]$ cp ../ndsnmp/ndCCUGPRMCGroup.* .
[paul@75-dhcp test]$ ls
ndCCUGPRMCGroup.c  ndCCUGPRMCGroup.c~  ndCCUGPRMCGroup.h
ndCCUGPRMCGroup.o  ndCCUGPRMCGroup.so*
[paul@75-dhcp test]# export UPDATE_MIB2C_OPTS="-q -I mib2c_config"; \
>        export UPDATE_CONF=mib2c.scalar.conf; \
>        export UPDATE_OID=ndCCUGPRMCGroup; \
>        export MIBS="+NDRAIL-MIB"; \
>        mib2c-update; \
>
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.orig
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.new
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.merged
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.patch
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.backup
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.backup/curr
Creating missing directory /home/paul/Documents/svn/trunk/apps/test/.backup/orig
Starting regneration of ndCCUGPRMCGroup using mib2c.scalar.conf at
2008-01-07_04.44
Creating patch for your custom code
  checking files in /home/paul/Documents/svn/trunk/apps/test/.orig/
(/home/paul/Documents/svn/trunk/apps/test/.orig)
    1=/home/paul/Documents/svn/trunk/apps/test/.orig/,
2=/home/paul/Documents/svn/trunk/apps/test/,
3=/home/paul/Documents/svn/trunk/apps/test/.patch/custom.2008-01-07_04.44
      Would do rm -f
/home/paul/Documents/svn/trunk/apps/test/.patch/custom.2008-01-07_04.44
/home/paul/Documents/svn/trunk/apps/test
   no custom code changes found.
mib2c  -c mib2c.scalar.conf -q -I mib2c_config ndCCUGPRMCGroup
/home/paul/Documents/svn/trunk/apps/test
Checking for updates to generated code
  checking files in /home/paul/Documents/svn/trunk/apps/test/.orig/
(/home/paul/Documents/svn/trunk/apps/test/.orig)
    1=/home/paul/Documents/svn/trunk/apps/test/.orig/,
2=/home/paul/Documents/svn/trunk/apps/test/.new/,
3=/home/paul/Documents/svn/trunk/apps/test/.patch/generated.2008-01-07_04.44
      Would do rm -f
/home/paul/Documents/svn/trunk/apps/test/.patch/generated.2008-01-07_04.44
/home/paul/Documents/svn/trunk/apps/test
Generated code has not changed.
[paul@75-dhcp test]$
-----------8<--------



-- 
PJH

http://shabbleland.myminicity.com/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.