Question about mib2c.create-dataset.conf
X Z <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I use mib2c.create-dataset.conf to generate codes for a table, but I got the following error: conflicting types for myTable_free and myTable_load. I use the cache method, it creates the following codes in the header file: NetsnmpCacheLoad myTable_load; NetsnmpCacheFree myTable_free; But in c file, the function type is as follows: int myTable_load(netsnmp_cache * cache, void *vmagic) int myTable_free(netsnmp_cache * cache, void *vmagic) I tried to change all int type, it didn't work. I tried to change the int type to NetsnmpCacheLoad or NetsnmpCacheFree, it gave me errors: error: myTable_load declared as function returning a function Any insight on how to make it working? Thanks Xuan _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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