Re: link error.

2006-02-14 Thread Ramji Chandramouli
Thanks, Wes !That worked.On 2/14/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > On Tue, 14 Feb 2006 11:38:01 -0800, Ramji Chandramouli < [EMAIL PROTECTED]> said:Ramji> When linking my app to net-snmp-5.3.0.1 ( I've installedRamji> net-snmp using the rpms ), I get the following error.Sorry, that

Re: link error.

2006-02-14 Thread Wes Hardaker
> On Tue, 14 Feb 2006 11:38:01 -0800, Ramji Chandramouli <[EMAIL > PROTECTED]> said: Ramji> When linking my app to net-snmp-5.3.0.1 ( I've installed Ramji> net-snmp using the rpms ), I get the following error. Sorry, that should have been "net-snmp-config --agent-libs" -- Wes Hardaker

Re: link error.

2006-02-14 Thread Wes Hardaker
> On Tue, 14 Feb 2006 11:38:01 -0800, Ramji Chandramouli <[EMAIL > PROTECTED]> said: Ramji> When linking my app to net-snmp-5.3.0.1 ( I've installed Ramji> net-snmp using the rpms ), I get the following error. Make sure you link to everything in the output of net-snmp-config --libs --

Re: link error for g++ net-snmp

2005-07-22 Thread Deepak Arya
Robert, I am compiling in Fedora-3,  this weekend i am going to use the flags and will update u. thanks Deepak Arya On 7/21/05, Robert Story <[EMAIL PROTECTED]> wrote: On Tue, 19 Jul 2005 23:02:19 -0400 Deepak wrote:DA> Thanks for everyone's help. right now i am able to compile my net-snmpDA> st

Re: link error for g++ net-snmp

2005-07-21 Thread Robert Story
On Tue, 19 Jul 2005 23:02:19 -0400 Deepak wrote: DA> Thanks for everyone's help. right now i am able to compile my net-snmp DA> stack using g++, had to make inline function to non inline. What platform/compiler are you using? I've fixed a lot of problems in CVS, and the main branch now compiles f

Re: link error for g++ net-snmp

2005-07-20 Thread Deepak Arya
Hi, Thanks for everyone's help. right now i am able to compile my net-snmp stack using g++, had to make inline function to non inline. i am going to use this rstory> If you think INLINE is causing you problems, add -DNETSNMP_NO_INLINE to your CFLAGS and recompile. had to static typecast few varia

Re: link error for g++ net-snmp

2005-07-19 Thread Robert Story
On Tue, 12 Jul 2005 18:33:20 -0400 Deepak wrote: DA> thanks for your reply. here is my lib include and when i made few INLINE DA> function to non-inline i didn't get the link error for those function. If you think INLINE is causing you problems, add -DNETSNMP_NO_INLINE to your CFLAGS and recompi

Re: link error for g++ net-snmp

2005-07-18 Thread Magnus Fromreide
On Tue, Jul 12, 2005 at 06:33:20PM -0400, Deepak Arya wrote: > Magnus, > > thanks for your reply. here is my lib include and when i made few INLINE > function to non-inline i didn't get the link error for those function. > "-lda" and "-ldeas" are my library files, which i am including. > > > /

Re: link error for g++ net-snmp

2005-07-18 Thread Deepak Arya
Magnus, thanks for your reply. here is my lib include and when i made few INLINE function to non-inline i didn't get the link error for those function. "-lda" and "-ldeas" are my library files,  which i am including. /bin/sh ../libtool  --mode=link g++ -g -O2 -Dlinux -Wall -o snmpd snmpd.lo   

Re: link error for g++ net-snmp

2005-07-11 Thread Magnus Fromreide
On Tue, Jul 05, 2005 at 10:58:35PM -0400, Deepak Arya wrote: > All, > when i am trying to compile net-snmp 5.2.1 using g++ i am getting link > error. i changed the Makefile in agent/ and mibgroup/ added my mymib.c & > mymib.h file did make. was sucessfull to build mibgroup but when i am > buildi