RE: [libsmi] has anyone tried to compile libsmi 0.3.0 on AIX 4.3. 3?

Hmmm, bad style. Replying to your own posts. Yes it will compile on AIX.
Add CPPFLAGS=-DYY_USE_PROTOS to the make command - otherwise the "#define YY_DECL ..." in scanner-smi.l and scanner-sming.l don't expand the prototypes, leaving lvalp and parser undefined
Rename the static variable regex in tools/dump-scli.c - there's a name clash in <regex.h>
There appears to be a typo in tools/ smidiff.c in the "switch (oldNode->nodekind) {" starting at line 1737. Should the printErrorAtLine call be inside the switch? If not there needs to be a semicolon before the closing brace. The compiler will not accept : followed by }
Regards, Andrew Hood A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable. -- Leslie Lamport, as quoted in CACM, June 1992
-----Original Message----- From: HOOD, Andy Sent: Wednesday, 23 January 2002 10:39 To: 'libsmi@ibr.cs.tu-bs.de' Subject: [libsmi] has anyone tried to compile libsmi on AIX 4.3.3?
Subject line says it all.

HOOD, Andy writes:
Andrew> Rename the static variable regex in tools/dump-scli.c - Andrew> there's a name clash in <regex.h>
Andrew> There appears to be a typo in tools/ smidiff.c in the "switch Andrew> (oldNode->nodekind) {" starting at line 1737. Should the Andrew> printErrorAtLine call be inside the switch? If not there needs Andrew> to be a semicolon before the closing brace. The compiler will Andrew> not accept : followed by }
I have fixed these two problems in the CVS.
/js
participants (2)
-
HOOD, Andy
-
Juergen Schoenwaelder