Re: compiling module; conflicting function names

2005-06-14 Thread Robert Story
On Tue, 14 Jun 2005 09:38:43 +0100 Dave wrote: DS> On Mon, 2005-06-13 at 21:05, Magnus Fromreide wrote: DS> > On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: DS> > > I've just committed a patch to the main development tree, DS> > > that renames the offending routine in the Net-SNMP sou

Re: compiling module; conflicting function names

2005-06-14 Thread Magnus Fromreide
On Tue, Jun 14, 2005 at 09:38:43AM +0100, Dave Shield wrote: > On Mon, 2005-06-13 at 21:05, Magnus Fromreide wrote: > > On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > > > I've just committed a patch to the main development tree, > > > that renames the offending routine in the Net-SN

Re: compiling module; conflicting function names

2005-06-14 Thread Dave Shield
On Mon, 2005-06-13 at 21:05, Magnus Fromreide wrote: > On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > > I've just committed a patch to the main development tree, > > that renames the offending routine in the Net-SNMP source, > > while leaving an (optional) compatability wrapper. >

Re: compiling module; conflicting function names

2005-06-13 Thread Magnus Fromreide
On Mon, Jun 13, 2005 at 03:54:14PM +0100, Dave Shield wrote: > On Tue, 2005-05-31 at 18:31, Matthew Boehm wrote: > > > Renaming asterisk's function is out of the question, as is renaming > > snmpd's. How does one overcome this? > > I've just committed a patch to the main development tree, > that

Re: compiling module; conflicting function names

2005-06-13 Thread Dave Shield
On Tue, 2005-05-31 at 18:31, Matthew Boehm wrote: > Hi all. I am one of many side programmers for Asterisk, the open source > PBX. (www.asterisk.org) > I'm trying to bring this [SNMP] module up to date with our current version. > Asterisk supports lodable/unloadable modules. > But is seems to m

Re: compiling module; conflicting function names

2005-06-03 Thread Robert Story
On Fri, 3 Jun 2005 09:26:58 -0500 Matthew wrote: MB> Well, I'd like to be able to remove parse.h but one of these: MB> MB> #include MB> #include MB> #include MB> MB> I tried to remove each of these headers one by one to see if I didn't need MB> one of them but it seems I do. The last 2 are he

Re: compiling module; conflicting function names

2005-06-03 Thread Tom Flavel
On 03/06/2005 09:26:58, Matthew Boehm wrote: > Robert Story wrote: > > > You have two options: > > > > 1) trim down header files in files that hit the conflict (ie don't > > include the net-snmp parse.h) > > > > 2) patch net-snmp to rename the function. It's only used in one > > files, so it shoul

Re: compiling module; conflicting function names

2005-06-03 Thread Matthew Boehm
Robert Story wrote: > You have two options: > > 1) trim down header files in files that hit the conflict (ie don't > include the net-snmp parse.h) > > 2) patch net-snmp to rename the function. It's only used in one > files, so it should be a simple fix. Well, I'd like to be able to remove parse.h

Re: compiling module; conflicting function names

2005-06-01 Thread Robert Story
On Tue, 31 May 2005 12:31:52 -0500 Matthew wrote: MB> I'm trying to bring this module up to date with our current version. MB> Asterisk supports lodable/unloadable modules. This SNMP module can be MB> loaded/unloaded at the will of the PBX admin. MB> MB> That module is compiled against some NET-SN