[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-522247 ] snmpCallbackDomain.c must be in snmplib
From: noreply () sourceforge ! net
Date: 2002-02-28 14:55:15
[Download RAW message or body]
Bugs item #522247, was opened at 2002-02-24 23:57
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=522247&group_id=12694
Category: library
Group: None
>Status: Closed
Resolution: Fixed
Priority: 2
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Dave Shield (dts12)
Summary: snmpCallbackDomain.c must be in snmplib
Initial Comment:
Compiling CVS version on CYGWIN (latest),
snmpCallbackDomain.c was not added to the library in
snmpLib.
----------------------------------------------------------------------
>Comment By: Dave Shield (dts12)
Date: 2002-02-28 14:55
Message:
Logged In: YES
user_id=88893
Yup - that fixed it. Thanks.
----------------------------------------------------------------------
Comment By: John Naylon (jbpn)
Date: 2002-02-28 13:41
Message:
Logged In: YES
user_id=93926
Dave,
you could try this in snmpCallbackDomain.c, l. 280 or
thereabouts:
#ifdef WIN32
rc = _pipe(mydata->pipefds, 1024, O_BINARY);
#else
rc = pipe(mydata->pipefds);
#endif
(I haven't tried it)
John
----------------------------------------------------------------------
Comment By: Dave Shield (dts12)
Date: 2002-02-28 13:33
Message:
Logged In: YES
user_id=88893
I haven't tried using Cygwin - but with Visual C++,
snmpCallbackDomain.c doesn't compile (which is why I
removed it from the win32 snmplib project)
It complains about various routines being undefined
(read, write, open, etc). I can deal with most of these
by #includeing <io.h> - but that still leaves 'pipe'.
If this file is added to the library (and the reference
to 'snmp_callback_open' restored to snmp_vars.c), then
the agent fails to link with the error
"unresolved external symbol _pipe"
I'm happy to fix this, if someone can tell me what needs
doing!
Dave
----------------------------------------------------------------------
Comment By: John Naylon (jbpn)
Date: 2002-02-28 11:56
Message:
Logged In: YES
user_id=93926
Okay, over to Dave on this one then.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-02-27 23:10
Message:
Logged In: NO
As of last night (2/26) this still seems to be a problem in
CVS.
----------------------------------------------------------------------
Comment By: John Naylon (jbpn)
Date: 2002-02-27 12:15
Message:
Logged In: YES
user_id=93926
I assume this is working for you now then? I'll close this
report.
----------------------------------------------------------------------
Comment By: John Naylon (jbpn)
Date: 2002-02-25 17:22
Message:
Logged In: YES
user_id=93926
Dave edited the file earlier today -- I suggest you update
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-02-25 17:18
Message:
Logged In: NO
I just took a cut of the Main branch on Sunday about 2pm.
----------------------------------------------------------------------
Comment By: John Naylon (jbpn)
Date: 2002-02-25 14:21
Message:
Logged In: YES
user_id=93926
Have you updated recently? Dave has been hacking on the
win32 stuff a fair bit in the past few days. It looks like
this is fixed now.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=522247&group_id=12694
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic