
Hi,
I had to build libsmi with MSVC 2005 and had some little problems to build it from last released distribution.
Too there was a problem with 'make checkdist' on unix (MAC-OX)
//regards
Claus
Changelog: Missing files in libsmi-0.4.8.tar.gz:
dump-svg-script.h config.nmake smi.def Note
that some files needs to be patched (CK)
config.nmake change default install path and add missing install dir:
MIBROOT = c:/usr/share/smi/mibs PIBROOT = c:/usr/share/smi/pibs INSTROOT = c:\usr INCDIR = $(INSTROOT)\include DEFINES = $(DEBUG) -D_CRT_SECURE_NO_DEPRECATE=1 -DYY_NO_UNISTD_H GNUmakefile and Makefile:
substitude 'rm -f' with '$(RM)' to fix nmake clean config INSTROOT = c:\usr config MIBDIR = $(INSTROOT)\share\smi\mibs ignore errors with MKDIR! install smi.h to $(INCDIR) config.h.in change default config path prefix to c:\usr\etc\smi
win.h add missing functions:
#define isatty _isatty #define fileno _fileno ../lib/smi.h.in rename c++ reserved parameter class to classname:
extern SmiClass *smiGetClass(SmiModule *smiModulePtr,char *classname); ../lib/util.c:
#include win.h ../tools/Makefile.am comment out the line with 'MOSTLYCLEANFILES = dump-svg-script.h'