[Asterisk-Dev] ast_expr.y compiliation failures with RH7.2

brian brian at bkw.org
Mon May 3 14:59:57 MST 2004


asterisk asterisk # bison -V
bison (GNU Bison) 1.875
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I say again UPDATE BISON!!!!

bkw

> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com [mailto:asterisk-dev-
> admin at lists.digium.com] On Behalf Of Alex Lopez
> Sent: Monday, May 03, 2004 3:07 PM
> To: asterisk-dev at lists.digium.com
> Subject: RE: [Asterisk-Dev] ast_expr.y compiliation failures with RH7.2
>
> I am running bison-1.35-3mdk.
>
> So that can't be a good answer.  There may have been a change in bison
> between the two releases but I doubt that. I am on a different distro,
> but I did a fresh checkout and got no errors. Got other errors but
> nothing major and Asterisk as stable and runs great on that machine.
>
> Curious: What changes were made to ast_expr and why??
>
> -----Original Message-----
> From: Ed Devine [mailto:ncfm at airmail.net]
> Sent: Monday, May 03, 2004 4:38 PM
> To: asterisk-dev at lists.digium.com
> Subject: Re: [Asterisk-Dev] ast_expr.y compiliation failures with RH7.2
>
> I experienced similar problems earlier TODAY and asked the same
> question. I
> can't help you identify the problem, but I got it also (running RH 9).
> The
> recommendation I got was :
>
> "Update your bision to version 1.875 and next time pay attention to the
> list
> before posting as this exact topic has already been discussed TODAY."
>
> I would note that none of the entries (prior to yours) mentioned
> anything at
> all about problems compiling * after getting the new CVS.
>
>
> ----- Original Message -----
> From: "John Todd" <jtodd at loligo.com>
> To: <asterisk-dev at lists.digium.com>
> Sent: Monday, May 03, 2004 2:22 PM
> Subject: [Asterisk-Dev] ast_expr.y compiliation failures with RH7.2
>
>
> >
> > Before I open a bug on this, perhaps someone can help me identify if
> > this is my problem or a problem with the Asterisk code.  Since nobody
> > else has complained about it, I'll assume it's my problem, and ask
> > for help before I open a bug.
> >
> > I have freshly checked out Asterisk (cvs co asterisk) on my "normal"
> > system, which has compiled Asterisk hundreds of times previously.  I
> > almost always do a fresh checkout, so that I can back out to my
> > working version quickly if need be.
> >
> > The platform is (yes, I know, I know) RedHat 7.2, which may be the
> > culprit.  My systems with RH9.0 don't show similar behaviors.  Other
> > than "Upgrade the damn machine, stupid!" are there any other
> > suggestions?
> >
> > Anyway, during the "make", here is the error that I'm seeing.  This
> > has happened now for two days running, with two different versions of
> > Asterisk.  Is this me, or a newly introduced incompatibility with 7.2
> > systems?
> >
> >
> > JT
> >
> >
> > [blah blah blah...]
> > gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
> > -D_GNU_SOURCE  -O6 -march=i686  -DZAPTEL_OPTIMIZATIONS
> > -DASTERISK_VERSION=\"CVS-HEAD-05/03/04-19:09:34\"
> > -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\"
> > -DASTLIBDIR=\"/usr/lib/asterisk\"
> > -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> > -DASTSPOOLDIR=\"/var/spool/asterisk\"
> > -DASTLOGDIR=\"/var/log/asterisk\"
> > -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> > -DASTMODDIR=\"/usr/lib/asterisk/modules\"
> > -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
> > -DNEW_PRI_HANGUP    -c -o asterisk.o asterisk.c
> > bison ast_expr.y --name-prefix=ast_yy -o ast_expr.c
> > ast_expr.y:103: unrecognized: %locations
> > ast_expr.y:103:    Skipping to next %
> > ast_expr.y:134: invalid @-construct
> > ast_expr.y:134: $. is invalid
> > ast_expr.y:134: invalid @-construct
> > ast_expr.y:134: $. is invalid
> > ast_expr.y:134: invalid @-construct
> > ast_expr.y:134: $. is invalid
> > ast_expr.y:134: invalid @-construct
> > ast_expr.y:134: $. is invalid
> > ast_expr.y:135: invalid @-construct
> > ast_expr.y:135: $. is invalid
> > ast_expr.y:135: invalid @-construct
> > ast_expr.y:135: $. is invalid
> > ast_expr.y:135: invalid @-construct
> > ast_expr.y:135: $. is invalid
> > ast_expr.y:135: invalid @-construct
> > ast_expr.y:135: $. is invalid
> > ast_expr.y:136: invalid @-construct
> > ast_expr.y:136: $. is invalid
> > ast_expr.y:136: invalid @-construct
> > ast_expr.y:136: $. is invalid
> > ast_expr.y:136: invalid @-construct
> > ast_expr.y:136: $. is invalid
> > ast_expr.y:136: invalid @-construct
> > ast_expr.y:136: $. is invalid
> > ast_expr.y:137: invalid @-construct
> > ast_expr.y:137: $. is invalid
> > ast_expr.y:137: invalid @-construct
> > ast_expr.y:137: $. is invalid
> > ast_expr.y:137: invalid @-construct
> > ast_expr.y:137: $. is invalid
> > ast_expr.y:137: invalid @-construct
> > ast_expr.y:137: $. is invalid
> > ast_expr.y:138: invalid @-construct
> > ast_expr.y:138: $. is invalid
> > ast_expr.y:138: invalid @-construct
> > ast_expr.y:138: $. is invalid
> > ast_expr.y:138: invalid @-construct
> > ast_expr.y:138: $. is invalid
> > ast_expr.y:138: invalid @-construct
> > ast_expr.y:138: $. is invalid
> > ast_expr.y:139: invalid @-construct
> > ast_expr.y:139: $. is invalid
> > ast_expr.y:139: invalid @-construct
> > ast_expr.y:139: $. is invalid
> > ast_expr.y:139: invalid @-construct
> > ast_expr.y:139: $. is invalid
> > ast_expr.y:139: invalid @-construct
> > ast_expr.y:139: $. is invalid
> > ast_expr.y:140: invalid @-construct
> > ast_expr.y:140: $. is invalid
> > ast_expr.y:140: invalid @-construct
> > ast_expr.y:140: $. is invalid
> > ast_expr.y:140: invalid @-construct
> > ast_expr.y:140: $. is invalid
> > ast_expr.y:140: invalid @-construct
> > ast_expr.y:140: $. is invalid
> > ast_expr.y:141: invalid @-construct
> > ast_expr.y:141: $. is invalid
> > ast_expr.y:141: invalid @-construct
> > ast_expr.y:141: $. is invalid
> > ast_expr.y:141: invalid @-construct
> > ast_expr.y:141: $. is invalid
> > ast_expr.y:141: invalid @-construct
> > ast_expr.y:141: $. is invalid
> > ast_expr.y:142: invalid @-construct
> > ast_expr.y:142: $. is invalid
> > ast_expr.y:142: invalid @-construct
> > ast_expr.y:142: $. is invalid
> > ast_expr.y:142: invalid @-construct
> > ast_expr.y:142: $. is invalid
> > ast_expr.y:142: invalid @-construct
> > ast_expr.y:142: $. is invalid
> > ast_expr.y:143: invalid @-construct
> > ast_expr.y:143: $. is invalid
> > ast_expr.y:143: invalid @-construct
> > ast_expr.y:143: $. is invalid
> > ast_expr.y:143: invalid @-construct
> > ast_expr.y:143: $. is invalid
> > ast_expr.y:143: invalid @-construct
> > ast_expr.y:143: $. is invalid
> > ast_expr.y:144: invalid @-construct
> > ast_expr.y:144: $. is invalid
> > ast_expr.y:144: invalid @-construct
> > ast_expr.y:144: $. is invalid
> > ast_expr.y:144: invalid @-construct
> > ast_expr.y:144: $. is invalid
> > ast_expr.y:144: invalid @-construct
> > ast_expr.y:144: $. is invalid
> > ast_expr.y:145: invalid @-construct
> > ast_expr.y:145: $. is invalid
> > ast_expr.y:145: invalid @-construct
> > ast_expr.y:145: $. is invalid
> > ast_expr.y:145: invalid @-construct
> > ast_expr.y:145: $. is invalid
> > ast_expr.y:145: invalid @-construct
> > ast_expr.y:145: $. is invalid
> > ast_expr.y:146: invalid @-construct
> > ast_expr.y:146: $. is invalid
> > ast_expr.y:146: invalid @-construct
> > ast_expr.y:146: $. is invalid
> > ast_expr.y:146: invalid @-construct
> > ast_expr.y:146: $. is invalid
> > ast_expr.y:146: invalid @-construct
> > ast_expr.y:146: $. is invalid
> > ast_expr.y:147: invalid @-construct
> > ast_expr.y:147: $. is invalid
> > ast_expr.y:147: invalid @-construct
> > ast_expr.y:147: $. is invalid
> > ast_expr.y:147: invalid @-construct
> > ast_expr.y:147: $. is invalid
> > ast_expr.y:147: invalid @-construct
> > ast_expr.y:147: $. is invalid
> > ast_expr.y:148: invalid @-construct
> > ast_expr.y:148: $. is invalid
> > ast_expr.y:148: invalid @-construct
> > ast_expr.y:148: $. is invalid
> > ast_expr.y:148: invalid @-construct
> > ast_expr.y:148: $. is invalid
> > ast_expr.y:148: invalid @-construct
> > ast_expr.y:148: $. is invalid
> > make: *** [ast_expr.c] Error 1
> > [root at ms1 asterisk]#
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev





More information about the asterisk-dev mailing list