Win32 app refuses to link with libsmi.a 0.4.5

Hello everyone --
I'm new to libsmi, so please be patient with my perhaps-naive questions.
I'm a C-language agent developer. I wrote a Win32 app called SimpleNMS that I use for agent testing:
http://www.pwilson.net/SimpleNMSUserGuide.html
I had hoped to use Win32 libsmi.a 0.4.5 in this app to map numeric OIDs to MIB names. But I can't so far link SimpleNMS with libsmi under MS VC++6.0 or VS 2005: the linker complains that it can't find _alloca().
I haven't found an easy fix yet: VS deprecates _alloca(); yet I can't replace it because it's intrinsic.
And I haven't dared to build libsmi under VS from scratch.
So my questions:
1. Is there a libsmi.a around that has actually worked with MS dev tools?
2. I get the impression that most libsmi dev is going on under 'nix and that that Win32 libsmi is pretty much an orphan child. If that's true, I'd be glad to volunteer as a foster parent to help with Win32 development. Can I be useful to list subscribers and libsmi users?
Thanks very much, folks. I appreciate your help. I'm at a Catch-22 dead end and need to get past it.
-- Pete Wilson
____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/

CCing answer to ML I got it working a while ago, you can take a look at http://www.wireshark.org/lists/wireshark-dev/200708/msg00489.html
On 9/13/07, Pete Wilson pete142@yahoo.com wrote:
Hello everyone --
I'm new to libsmi, so please be patient with my perhaps-naive questions.
I'm a C-language agent developer. I wrote a Win32 app called SimpleNMS that I use for agent testing:
http://www.pwilson.net/SimpleNMSUserGuide.html
I had hoped to use Win32 libsmi.a 0.4.5 in this app to map numeric OIDs to MIB names. But I can't so far link SimpleNMS with libsmi under MS VC++6.0 or VS 2005: the linker complains that it can't find _alloca().
I haven't found an easy fix yet: VS deprecates _alloca(); yet I can't replace it because it's intrinsic.
And I haven't dared to build libsmi under VS from scratch.
So my questions:
- Is there a libsmi.a around that has actually worked
with MS dev tools?
- I get the impression that most libsmi dev is going
on under 'nix and that that Win32 libsmi is pretty much an orphan child. If that's true, I'd be glad to volunteer as a foster parent to help with Win32 development. Can I be useful to list subscribers and libsmi users?
Thanks very much, folks. I appreciate your help. I'm at a Catch-22 dead end and need to get past it.
-- Pete Wilson
Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to libsmi-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/mailman/listinfo/libsmi.

On Thu, Sep 13, 2007 at 06:45:20AM -0700, Pete Wilson wrote:
So my questions:
- Is there a libsmi.a around that has actually worked
with MS dev tools?
I have no clue. Others who develop under MS need to answer this question.
- I get the impression that most libsmi dev is going
on under 'nix and that that Win32 libsmi is pretty much an orphan child. If that's true, I'd be glad to volunteer as a foster parent to help with Win32 development. Can I be useful to list subscribers and libsmi users?
The libsmi (obviously) was developed under 'nix and all core people strongly prefer this development platform. The Win32 binaries I sometimes make available are actually cross compiled using mingw and I simply hope the result is somewhat usable without actually testing things.
That said, we have been accepting patches to make Win32 support easier in the past but we rely on people sending us patches. In other words, we are happy to integrate patches that look reasonable and make the life of Win32 users easier and volunteers are greatly welcome to produce them.
/js

Pete,
I can build w32 smilib using msdev 6.0 development. Both by nmake and GNU make. The 0.4.5 release has some peoblems that had to be fixed manually. I did not have a chance to submit the chnages. Sorry.
I am away from my desk until Sep 24, 2007. I will be happy to help when I come back.
Regards,
Yigal Hochberg DMH Software.
---- Pete Wilson pete142@yahoo.com wrote:
Hello everyone --
I'm new to libsmi, so please be patient with my perhaps-naive questions.
I'm a C-language agent developer. I wrote a Win32 app called SimpleNMS that I use for agent testing:
http://www.pwilson.net/SimpleNMSUserGuide.html
I had hoped to use Win32 libsmi.a 0.4.5 in this app to map numeric OIDs to MIB names. But I can't so far link SimpleNMS with libsmi under MS VC++6.0 or VS 2005: the linker complains that it can't find _alloca().
I haven't found an easy fix yet: VS deprecates _alloca(); yet I can't replace it because it's intrinsic.
And I haven't dared to build libsmi under VS from scratch.
So my questions:
- Is there a libsmi.a around that has actually worked
with MS dev tools?
- I get the impression that most libsmi dev is going
on under 'nix and that that Win32 libsmi is pretty much an orphan child. If that's true, I'd be glad to volunteer as a foster parent to help with Win32 development. Can I be useful to list subscribers and libsmi users?
Thanks very much, folks. I appreciate your help. I'm at a Catch-22 dead end and need to get past it.
-- Pete Wilson
Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to libsmi-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/mailman/listinfo/libsmi.
participants (4)
-
Juergen Schoenwaelder
-
Luis EG Ontanon
-
Pete Wilson
-
Yigal Hochberg