
Hi, Is there any SMI library is available for windows platform , so that I can use that library directly along with smi.h header file
Thanks in advance Ashok

Hi Ashok,
You can compile libsmi on w32 for w32. Take a look in the "win" subdir. I suggest to you gnu make.
Regards,
Ashok Kumar [ GVG DDF ] ashok.kumar@celstream.com wrote:
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
------_=_NextPart_001_01C203C7.F1BB3BB0 Content-Type: text/plain; charset="iso-8859-1"
Hi, Is there any SMI library is available for windows platform , so that I can use that library directly along with smi.h header file
Thanks in advance Ashok
------_=_NextPart_001_01C203C7.F1BB3BB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>New Lib for Windows NT</TITLE> </HEAD> <BODY>
<P><FONT SIZE=3D2>Hi,</FONT> <BR> <FONT SIZE=3D2>Is there = any SMI library is available for windows platform , so that I can use = that library directly along with smi.h header file</FONT></P>
<P><FONT SIZE=3D2>Thanks in advance</FONT> <BR><FONT SIZE=3D2>Ashok</FONT> </P>
</BODY> </HTML> ------_=_NextPart_001_01C203C7.F1BB3BB0-- -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/libsmi.

Hi,
AK> Is there any SMI library is available for windows platform , so that AK> I can use that library directly along with smi.h header file
well, if you want to build something with the lib, you should be able to create the lib yourself ;-)
but anyway, you may like to fetch a fresh version built from the cvs archive with vc6 here:
http://www.gaertner.de/~schoenfr/libsmi/smi-lib-vc6-binary-200205285.zip
to contribute at least something more useful to the list a small diff is appended. it contains
- Added forward declaration for getTypePrefix() to tools/dump-xsd.c. VC6 does not compile without.
- Added comment to win/README.win describing how to generate the files not in the CVS archive.
- Added smidiff.exe as a target to build and install to win/makefile.
have fun, Erik
diff -u -d -r libsmi-cvs/tools/dump-xsd.c libsmi/tools/dump-xsd.c --- libsmi-cvs/tools/dump-xsd.c Sat May 25 13:02:47 2002 +++ libsmi/tools/dump-xsd.c Sat May 25 13:23:40 2002 @@ -62,6 +62,7 @@ /* some forward declarations */ static void fprintElement( FILE *f, int indent, SmiNode *smiNode, const char *prefix ); +static char* getTypePrefix( char *typeName );
static char *getStringBasetype(SmiBasetype basetype) { diff -u -d -r libsmi-cvs/win/README.win libsmi/win/README.win --- libsmi-cvs/win/README.win Tue Aug 28 11:20:35 2001 +++ libsmi/win/README.win Sat May 25 13:38:42 2002 @@ -45,6 +45,20 @@
+If you grabbed the CVS version and some files seems to be missing: +================================================================== + +You may generate these files on another platform (Linux seems to work +fine) by running: + + cd libsmi ## the sources from the CVS archive + ./autogen.sh ## generates configure script an runs it + cd lib + make errormacros.h parser-smi.c parser-sming.c \ + scanner-smi.c scanner-sming.c smi.h + + + COMMENTS: =========
diff -u -d -r libsmi-cvs/win/makefile libsmi/win/makefile --- libsmi-cvs/win/makefile Sun May 19 20:38:14 2002 +++ libsmi/win/makefile Sat May 25 13:29:03 2002 @@ -100,6 +100,9 @@ $(TMPDIR)\dump-scli.obj \ $(TMPDIR)\dump-xsd.obj
+SMIDIFFOBJS = \ + $(TMPDIR)\smidiff.obj + SMILIB = smi.lib
## @@ -138,7 +141,7 @@ $(SMILIB): $(LIBSMIOBJS) $(implib) /out:smi.lib $(LIBSMIOBJS)
-tools: smiquery.exe smilint.exe smidump.exe +tools: smiquery.exe smilint.exe smidump.exe smidiff.exe
smiquery.exe: $(SMIQUERYOBJS) $(SMILIB) $(cc32) $(DEFINES) /osmiquery.exe $(SMIQUERYOBJS) $(SMILIB) @@ -149,6 +152,10 @@ smidump.exe: $(SMIDUMPOBJS) $(SMILIB) $(cc32) $(DEFINES) \ /osmidump.exe $(SMIDUMPOBJS) $(SMILIB) + +smidiff.exe: $(SMIDIFFOBJS) $(SMILIB) + $(cc32) $(DEFINES) \ + /osmidiff.exe $(SMIDIFFOBJS) $(SMILIB)
clean: del *.lib

Hi!
Erik> [...] to contribute at least something more useful to the list a Erik> small diff is appended. [...]
Thanks. It's now available from the CVS repository.
-frank
participants (4)
-
Ashok Kumar [ GVG DDF ]
-
Erik Schoenfelder
-
Frank Strauss
-
Yigal Hochberg