Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10
Joel Hansell <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAChT3ktpzh_yeZbzGB_wnbuCQKiyQS2wmLiUMfsvv5MSAnhw3w@mail.gmail.com> |
On Tue, Jan 17, 2012 at 3:07 PM, Dave Shield <[email protected]> wrote: > Perhaps you could try the same patch (attached) and let us know if it > works for you. > > If either of you can confirm that it fixes the problem, then we'll include > it in future releases. Thanks Dave! I tried you patch, first with sun cc, then with gcc. Unfortunately, the sun cc still fails with the same output as in my first email, the first error line being "OID.xs", line 280: improper member use: parent On gcc, the error is changed: gcc -c -I../../include -fno-strict-aliasing -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -I/usr/local/include -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -I/opt/ericsson/prmc_netsnmp/perl/lib/5.14.2/sun4-solaris/CORE -I/usr/local/ssl//include -I. -I/opt/ericsson/prmc_netsnmp/include -fno-strict-aliasing -pipe -I/usr/local/include -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"5.0701\" -DXS_VERSION=\"5.0701\" -fPIC "-I/opt/ericsson/prmc_netsnmp/perl/lib/5.14.2/sun4-solaris/CORE" OID.c OID.xs: In function `XS_netsnmp_oidPtr_get_indexes': OID.xs:280: error: dereferencing pointer to incomplete type (etc for a few lines) So it's an improvement but not perfect yet. =) I have no problem using net-snmp with the MIB loading enabled, but if you wish I am happy to keep troubleshooting if it will improve the software. BR, Joel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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