RE: Parse tree too big

From: Isaac Chen (Isaac@cometsystems.com)
Date: Thu May 17 2001 - 12:36:38 EDT


gcc 2.95.3

It compiles after asn1 is removed from the OBJECTS target. Thanks.

-----Original Message-----
From: Jared Mauch [mailto:jared@puck.nether.net]
Sent: Thursday, May 17, 2001 12:15 PM
To: Isaac Chen
Cc: 'sysmon-help@puck.nether.net'
Subject: Re: Parse tree too big

        Are you using the sunPRO C compiler?

        you can remove the asn1 related
information from the Makefile as sysmon should build (i think)
without those files.

        They are included for later snmp support depending on how I
implement it.

        - Jared

On Thu, May 17, 2001 at 10:46:56AM -0400, Isaac Chen wrote:
> Jared,
>
> Thanks. I installed flex and was move forward until the asn1.c part.
I've
> got errors like:
>
> In file included from asn1.c:33:
> asn1.h:131: parse error before `__P'
> asn1.h:132: parse error before `__P'
> asn1.h:133: parse error before `__P'
> asn1.h:134: parse error before `__P'
> asn1.h:135: parse error before `__P'
> asn1.h:136: parse error before `__P'
> asn1.h:137: parse error before `__P'
> asn1.h:138: parse error before `__P'
> asn1.h:139: parse error before `__P'
> asn1.h:140: parse error before `__P'
> asn1.h:141: parse error before `__P'
> asn1.h:142: parse error before `__P'
> asn1.h:143: parse error before `__P'
> asn1.h:144: parse error before `__P'
> asn1.h:145: parse error before `__P'
> asn1.h:146: parse error before `__P'
> asn1.h:147: parse error before `__P'
> asn1.h:148: parse error before `__P'
> asn1.h:150: parse error before `__P'
> asn1.h:152: parse error before `__P'
> asn1.h:154: parse error before `__P'
> asn1.h:156: parse error before `__P'
> asn1.h:158: parse error before `__P'
> asn1.h:159: parse error before `__P'
> asn1.h:161: parse error before `__P'
> asn1.c: In function `asn_parse_int':
> asn1.c:64: warning: assignment makes pointer from integer without a cast
> asn1.c: In function `asn_parse_unsigned_int':
> asn1.c:116: warning: assignment makes pointer from integer without a cast
> asn1.c: In function `asn_build_int':
> asn1.c:180: warning: assignment makes pointer from integer without a cast
> asn1.c: In function `asn_build_unsigned_int':
> asn1.c:243: warning: assignment makes pointer from integer without a cast
> asn1.c: In function `asn_parse_string':
> asn1.c:291: warning: assignment makes pointer from integer without a cast
> asn1.c: In function `asn_build_string':
> asn1.c:332: warning: assignment makes pointer from integer without a cast
> asn1.c: In function `asn_parse_header':
> asn1.c:367: warning: assignment makes pointer from integer without a cast
> asn1.c: At top level:
> asn1.c:423: warning: type mismatch with previous implicit declaration
> asn1.c:332: warning: previous implicit declaration of `asn_build_header'
> asn1.c:423: warning: `asn_build_header' was previously implicitly declared
> to return `int'
> asn1.c: In function `asn_build_header':
> asn1.c:432: warning: return makes pointer from integer without a cast
> asn1.c: At top level:
> asn1.c:476: warning: type mismatch with previous implicit declaration
> asn1.c:367: warning: previous implicit declaration of `asn_parse_length'
> asn1.c:476: warning: `asn_parse_length' was previously implicitly declared
> to return `int'
> asn1.c:502: warning: type mismatch with previous implicit declaration
> asn1.c:432: warning: previous implicit declaration of `asn_build_length'
> asn1.c:502: warning: `asn_build_length' was previously implicitly declared
> to return `int'
> *** Error code 1
> make: Fatal error: Command failed for target `asn1.o'
>
> Your help is appreciated.
>
> Isaac

-- 
Jared Mauch  | pgp key available via finger from jared@puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:14:07 EDT