Hi Thomas,

Thanks for the info... now I realize what the actual problem is. I'm having
trouble building the net-snmp-5.4.2.1 libs from source. Here's a list of
configure switches that I used:
--prefix=/root/workspace/sayan/MONyog/lib/out/linux/debug64/netsnmp
--exec-prefix=/root/workspace/sayan/MONyog/lib/out/linux/debug64/netsnmp
--bindir=/bin
--sbindir=/sbin
--libexecdir=/
--libdir=/
--enable-as-needed
--disable-agent
--disable-applications
--disable-manuals
--disable-scripts
--disable-mibs
--disable-mib-loading
--enable-reentrant
--enable-debugging
--enable-shared
--enable-static
--without-opaque-special-types
--with-pic
--without-elf
--with-libwrap=/root/workspace/sayan/MONyog/lib/out/linux/debug64/netsnmp

When I run the make utility, here's the error I get:
ITS=64 -I/usr/include/gdbm
-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE
-I/root/workspace/sayan/ssl/include -I.
-I/root/workspace/sayan/MONyog/lib/out/linux/debug64/netsnmp/include
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -m64   -DVERSION=\"5.04021\"
-DXS_VERSION=\"5.04021\" -fPIC
"-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"   OID.c
OID.xs: In function `__snprint_value':
OID.xs:74: error: dereferencing pointer to incomplete type
OID.xs:74: error: dereferencing pointer to incomplete type
OID.xs:75: error: dereferencing pointer to incomplete type
OID.xs:76: error: dereferencing pointer to incomplete type
OID.xs: In function `__tp_sprint_num_objid':
OID.xs:168: error: dereferencing pointer to incomplete type
OID.xs:169: error: dereferencing pointer to incomplete type
OID.xs: In function `XS_netsnmp_oidPtr_get_indexes':
OID.xs:292: error: dereferencing pointer to incomplete type
OID.xs:297: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:298: error: dereferencing pointer to incomplete type
OID.xs:306: error: dereferencing pointer to incomplete type
OID.xs:306: error: dereferencing pointer to incomplete type
OID.xs:308: error: dereferencing pointer to incomplete type
OID.xs:318: error: dereferencing pointer to incomplete type
OID.xs:318: error: dereferencing pointer to incomplete type
OID.xs:327: error: dereferencing pointer to incomplete type
OID.xs:327: error: dereferencing pointer to incomplete type
OID.xs:330: error: dereferencing pointer to incomplete type
OID.xs:337: error: dereferencing pointer to incomplete type
OID.xs:346: error: dereferencing pointer to incomplete type
OID.xs:346: error: dereferencing pointer to incomplete type
OID.xs:347: error: dereferencing pointer to incomplete type
OID.xs:347: error: dereferencing pointer to incomplete type
OID.xs:348: error: dereferencing pointer to incomplete type
OID.xs:353: error: dereferencing pointer to incomplete type
make[2]: *** [OID.o] Error 1
make[2]: Leaving directory
`/root/workspace/sayan/net-snmp-src/net-snmp-5.4.2.1/perl/OID'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory
`/root/workspace/sayan/net-snmp-src/net-snmp-5.4.2.1/perl'
make: *** [perlmodules] Error 1

I'd be really glad if you could help me out with this!
Thanks!!

On Mon, Sep 21, 2009 at 4:52 PM, Thomas Anders
<[email protected]>wrote:

> Sayan Chaliha wrote:
> > undefined reference to netsnmp_transport_open_client
>
> This symbol is in libnetsnmpagent. Either you didn't properly link with it
> or you linked with an older version of it (that may live somewhere else on
> your system).
>
>
> +Thomas
>



-- 
Regards,
Sayan Chaliha
Webyog Softworks Private Limited
2nd Floor, Novel Team Building
#10, 100 Feet Ring Road
BTM Layout 1st Stage
Bangalore - 560068

+91-9743357501
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to