RE: [libsmi] How can I compile libSIM in VC++6.0 ?

Hi Yigal,
have you tried to compile libSIM using the last version (libsim-0.2.5) ? If you successed, could you tell me how I can compile it please ? or when can I find changes/patches you told me in a new version ?
Best Regards Lorenzo
-----Original Message----- From: Yigal Hochberg [SMTP:hochberg@dmhsoftware.com] Sent: mercoledì 2 agosto 2000 9.17 To: LCardascia@etnoteam.it Cc: libsmi@ibr.cs.tu-bs.de Subject: Re: [libsmi] How can I compile libSIM in VC++6.0 ?
Hi Cardascia,
I have been able to compile libsmi with ms 6.0. A few changes were needed. I mailed the changes/fixes to Juergen or Frank. As far as I remember the changes were applied. If not, I can email them again.
Regards,
Cardascia Lorenzo LCardascia@etnoteam.it 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_000_01BFFC68.02E64540 Content-Type: text/plain
Hi All,
Can Anyone help me to compile libSIM using VC++6.0 ? Could Anyone show me the steps sequence to compile it ?
Thanks in advance Lorenzo
<<problems compiling libSIM windows version...>>
------_=_NextPart_000_01BFFC68.02E64540 Content-Type: message/rfc822 Content-Description: problems compiling libSIM windows version...
Message-ID:
21F5FF2C7A13D31189E200508B2CE40E016A8E1C@ets1175.etnoteam.it
From: Cardascia Lorenzo LCardascia@etnoteam.it To: "'libsmi@ibr.cs.tu-bs.de'" libsmi@ibr.cs.tu-bs.de Subject: problems compiling libSIM windows version... Date: Tue, 1 Aug 2000 19:33:26 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1"
Hi All, I'm new at this mailingList.
I'd like to do a MIB compiler by using libSIM, then I think to do it by parsing a SMIv1/SMIv2 MIB to have an intermediate file (MOSY STYLE) that it's easier to process than MIB module. I think to use the intermediate file so generated to build some C++ classes for my software... Is it possible to do it using libsmi-0.2.5.tar.gz in Windows NT enviroments with VC++6.0 ?
Is there an example source code that I can analyze to know how I can write my code ?
I read README.win file to compile libSIM but I didn't success, then I constructed a new project in VC++ with your makefile. I successed to compile some files (win.c, data.c, check.c, error.c, util.c, smi.c and parser-smi.tab) but I had the error shown below on scanner-smi.c file.
Can Anyone help me to tell what is the problem ? How can I solve my problem to compile libSMI ?
Any feedback will be appreciate.
Thanks in advance Lorenzo
--------------------Configuration: winproject - Win32 Debug-------------------- Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl -IC:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\include -Z7 -Od -c
-W3
-DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -I.....\lib -I.....\win -IC:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\include -Fo...\ .....\lib\scanner-smi.c Command line warning D4024 : unrecognized source file type 'FILES\MICROSOFT', object file assumed Command line warning D4027 : source file 'FILES\MICROSOFT' ignored Command line warning D4024 : unrecognized source file type 'VISUAL',
object
file assumed Command line warning D4027 : source file 'VISUAL' ignored Command line warning D4024 : unrecognized source file type 'STUDIO\VC98\include', object file assumed Command line warning D4027 : source file 'STUDIO\VC98\include' ignored Command line warning D4024 : unrecognized source file type 'FILES\MICROSOFT', object file assumed Command line warning D4027 : source file 'FILES\MICROSOFT' ignored Command line warning D4024 : unrecognized source file type 'VISUAL',
object
file assumed Command line warning D4027 : source file 'VISUAL' ignored Command line warning D4024 : unrecognized source file type 'STUDIO\VC98\include', object file assumed Command line warning D4027 : source file 'STUDIO\VC98\include' ignored scanner-smi.c scanner-smi.l(125) : error C2065: 'lvalp' : undeclared identifier scanner-smi.l(125) : error C2100: illegal indirection scanner-smi.l(125) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(130) : error C2065: 'parser' : undeclared identifier scanner-smi.l(138) : error C2100: illegal indirection scanner-smi.l(138) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(148) : error C2100: illegal indirection scanner-smi.l(148) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(170) : error C2100: illegal indirection scanner-smi.l(170) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(238) : error C2100: illegal indirection scanner-smi.l(238) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(243) : error C2100: illegal indirection scanner-smi.l(243) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(248) : error C2100: illegal indirection scanner-smi.l(248) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(253) : error C2100: illegal indirection scanner-smi.l(253) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(258) : error C2100: illegal indirection scanner-smi.l(258) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(263) : error C2100: illegal indirection scanner-smi.l(263) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(268) : error C2100: illegal indirection scanner-smi.l(268) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(273) : error C2100: illegal indirection scanner-smi.l(273) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(278) : error C2100: illegal indirection scanner-smi.l(278) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(283) : error C2100: illegal indirection scanner-smi.l(283) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(288) : error C2100: illegal indirection scanner-smi.l(288) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(293) : error C2100: illegal indirection scanner-smi.l(293) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(298) : error C2100: illegal indirection scanner-smi.l(298) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(303) : error C2100: illegal indirection scanner-smi.l(303) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(308) : error C2100: illegal indirection scanner-smi.l(308) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(313) : error C2100: illegal indirection scanner-smi.l(313) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(318) : error C2100: illegal indirection scanner-smi.l(318) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(323) : error C2100: illegal indirection scanner-smi.l(323) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(328) : error C2100: illegal indirection scanner-smi.l(328) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(333) : error C2100: illegal indirection scanner-smi.l(333) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(338) : error C2100: illegal indirection scanner-smi.l(338) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(343) : error C2100: illegal indirection scanner-smi.l(343) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(348) : error C2100: illegal indirection scanner-smi.l(348) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(353) : error C2100: illegal indirection scanner-smi.l(353) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(358) : error C2100: illegal indirection scanner-smi.l(358) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(363) : error C2100: illegal indirection scanner-smi.l(363) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(368) : error C2100: illegal indirection scanner-smi.l(368) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(373) : error C2100: illegal indirection scanner-smi.l(373) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(378) : error C2100: illegal indirection scanner-smi.l(378) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(383) : error C2100: illegal indirection scanner-smi.l(383) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(388) : error C2100: illegal indirection scanner-smi.l(388) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(393) : error C2100: illegal indirection scanner-smi.l(393) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(398) : error C2100: illegal indirection scanner-smi.l(398) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(403) : error C2100: illegal indirection scanner-smi.l(403) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(408) : error C2100: illegal indirection scanner-smi.l(408) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(413) : error C2100: illegal indirection scanner-smi.l(413) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(418) : error C2100: illegal indirection scanner-smi.l(418) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(423) : error C2100: illegal indirection scanner-smi.l(423) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(428) : error C2100: illegal indirection scanner-smi.l(428) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(433) : error C2100: illegal indirection scanner-smi.l(433) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(438) : error C2100: illegal indirection scanner-smi.l(438) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(443) : error C2100: illegal indirection scanner-smi.l(443) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(448) : error C2100: illegal indirection scanner-smi.l(448) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(453) : error C2100: illegal indirection scanner-smi.l(453) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(458) : error C2100: illegal indirection scanner-smi.l(458) : error C2224: left of '.id' must have struct/union
type
scanner-smi.l(463) : error C2100: illegal indirection scanner-smi.l(463) : fatal error C1003: error count exceeds 100;
stopping
compilation NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. Error executing nmake.
winproject.exe - 103 error(s), 12 warning(s)
------_=_NextPart_000_01BFFC68.02E64540--
!! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
--
- Yigal
-- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (1)
-
Cardascia Lorenzo