Dave - I was missing the paths to the configure command.

The configure seemed to go through without any issues.  I did have some 
problems with the compile though:

mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:
 In function `jtrsMdlNeighborNodeTable_container_load':
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:302:
 error: `jtrsMdlCapacity' undeclared (first use in this function)
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:302:
 error: (Each undeclared identifier is reported only once
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:302:
 error: for each function it appears in.)
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:309:
 error: `jtrsMdlThroughput' undeclared (first use in this function)
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:316:
 error: `jtrsMdlLinkQuality' undeclared (first use in this 
function)mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:323:
 error: `jtrsMdlSiSRateIndex' undeclared (first use in this 
function)mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:330:
 error: `jtrsMdlXmitPowerLevel' undeclared (first use in this function)
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:337:
 error: `jtrsMdlCoSited' undeclared (first use in this function)
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:345:
 error: `jtrsMdlCorrectReceptions' undeclared (first use in this function)
mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.c:352:
 error: `jtrsMdlTransmissions' undeclared (first use in this function)make[1]: 
*** 
[mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_data_access.lo]
 Error 1
m

I'll review the #includes as you mentioned.

I trying to develop a client to perform gets.  The reason I'm extending the 
agent is so that I can test with the customer MIBs (I don't have easy access to 
the customer hardware).  Really, I just need to be able to perform gets/sets on 
the table values to support testing.

Is the MfD the best config to use for this?  Is there a simpler config that 
isn't so "deep" that would do what I need?  As I said, my main app will be the 
client doing the gets, not the agent.


Thanks for the help,
Mark




-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Dave Shield
Sent: Wed 5/9/2007 1:51 PM
To: Mark Riehl
Cc: [email protected]
Subject: Re: Extending an Agent
 
On 09/05/07, Mark Riehl <[EMAIL PROTECTED]> wrote:
>  (Why does it generate all of the *~ files?)

That's the result of running "indent" on the code.



>  I'm confused about where the files need to go.

>  configure: error: mib module "jtrsMdlNeighborNodeTable" requires module
> "JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_interface"

The MfD framework seems to require a relatively "deep" structure,
as compared to most of the others, which are typically a single pair
of code files and can (in principle) be placed anywhere.
  (Though the #includes might need to be tweaked).


That's the result of running "indent" on the code.



>  I'm confused about where the files need to go.

>  configure: error: mib module "jtrsMdlNeighborNodeTable" requires module
> "JTRS-MDL-MIB/jtrsMdlNeighborNodeTable/jtrsMdlNeighborNodeTable_interface"

The MfD framework seems to require a relatively "deep" structure,
as compared to most of the others, which are typically a single pair
of code files and can (in principle) be placed anywhere.
  (Though the #includes might need to be tweaked).


>  From this error, it looks like I need to create the directory path:
>  agent/mibgroup/JTRS-MDL-MIB/jtrsMdlNeighborTable and put
> the file in there.

Yes.

>  But, which files go here?

All of them.

Then run
   ./configure 
--with-mib-modules="JTRS-MDL-MIB/jtrsMdlNeighborTable/jtrsMdlNeighborNodeTable"

What happens then?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

Reply via email to