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

Alex Lopez alex at opsys.com
Mon May 3 12:55:09 MST 2004


John, tried it on my end with (E, Hem, UR Mandrake 9.1) no errors and
compile went fine. Have not checked functionality but all seams OK!

Version info:

kernel-source-2.4.21-0.13mdk
bison-1.35-3mdk


-----Original Message-----
From: John Todd [mailto:jtodd at loligo.com] 
Sent: Monday, May 03, 2004 3:23 PM
To: asterisk-dev at lists.digium.com
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



More information about the asterisk-dev mailing list