compiling parser.c

rrb1 rrb1@ukc.ac.uk
Thu, 19 Jul 2001 16:58:44 +0100 (BST)


--Part10107191644.A
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

i'm not using make to compile parser.c for various reasons, 
just the files i need to compile. When i compile parser.c i 
get the errors in the attached out.txt. I do however 
usually compile it on windows (and get the same errors), 
just that it was easier to capture the output on unix. 

Richard

On Thu, 19 Jul 2001 08:44:50 -0700 Sigbjorn Finne 
<sof@galconn.com> wrote:
> Hi,
> 
> it's hard to pinpoint what's going wrong based on the
> information you give -- could you send the output of
> 'make' that's causing the break to hugs-bugs@haskell.org,
> and we'll try to help you out.
> 
> thanks,
> --sigbjorn
> 
> ----- Original Message -----
> From: "Richard Backhouse" <rrb1@ukc.ac.uk>
> To: <hugs-users@haskell.org>
> Sent: Thursday, July 19, 2001 02:16
> Subject: compiling parser.c
> 
> 
> > hi,
> >
> > i'm working with the Hugs source but i can't compile parser.c. Do I need
> to
> > have/do something to make this compile. I'm using gcc.
> >
> > Thanks for any help you can give.
> >
> > Richard
> >
> >
> > _______________________________________________
> > Hugs-Users mailing list
> > Hugs-Users@haskell.org
> > http://www.haskell.org/mailman/listinfo/hugs-users
> 


--Part10107191644.A
Content-Type: TEXT/Plain; name="out.txt"

parser.y:19: parse error before `scriptFile'
parser.y:19: warning: data definition has no type or storage class
parser.y:41: parse error before `local'
parser.y:42: parse error before `local'
parser.y:43: parse error before `local'
parser.y:44: parse error before `local'
parser.y:45: parse error before `local'
parser.y:46: parse error before `local'
parser.y:47: parse error before `local'
parser.y:48: parse error before `local'
parser.y:49: parse error before `local'
parser.y:56: parse error before `local'
parser.y:59: parse error before `local'
parser.y:62: parse error before `local'
//usr/local/packages/bison-1.28/share/bison/bison.simple:138: parse error before `yylval'
//usr/local/packages/bison-1.28/share/bison/bison.simple:138: warning: data definition has no type or storage class
//usr/local/packages/bison-1.28/share/bison/bison.simple: In function `yyparse':
//usr/local/packages/bison-1.28/share/bison/bison.simple:253: syntax error before `*'
//usr/local/packages/bison-1.28/share/bison/bison.simple:258: `Cell' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:258: (Each undeclared identifier is reported only once
//usr/local/packages/bison-1.28/share/bison/bison.simple:258: for each function it appears in.)
//usr/local/packages/bison-1.28/share/bison/bison.simple:258: parse error before `yyvsa'
//usr/local/packages/bison-1.28/share/bison/bison.simple:261: `yyvs' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:261: `yyvsa' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:273: parse error before `int'
//usr/local/packages/bison-1.28/share/bison/bison.simple:307: `yyvsp' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:319: `yystacksize' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:323: `yyvs1' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:324: parse error before `short'
//usr/local/packages/bison-1.28/share/bison/bison.simple:359: `yyfree_stacks' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:376: `yyss1' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:377: `size' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:378: parse error before `)'
//usr/local/packages/bison-1.28/share/bison/bison.simple:522: `yylen' undeclared (first use in this function)
//usr/local/packages/bison-1.28/share/bison/bison.simple:524: `yyval' undeclared (first use in this function)
parser.y:119: `inputExpr' undeclared (first use in this function)
parser.y:119: `LETREC' undeclared (first use in this function)
parser.y:119: `sp' undeclared (first use in this function)
parser.y:120: `inputContext' undeclared (first use in this function)
parser.y:121: `valDefns' undeclared (first use in this function)
parser.y:136: `MODULEENT' undeclared (first use in this function)
parser.y:136: `currentModule' undeclared (first use in this function)
parser.y:136: request for member `text' in something not a structure or union
parser.y:147: `conMain' undeclared (first use in this function)
parser.y:148: `NIL' undeclared (first use in this function)
parser.y:153: `String' undeclared (first use in this function)
parser.y:153: parse error before `modName'
parser.y:154: `modName' undeclared (first use in this function)
parser.y:168: request for member `text' in something not a structure or union
parser.y:181: `DOTDOT' undeclared (first use in this function)
parser.y:199: `imps' undeclared (first use in this function)
parser.y:229: `HIDDEN' undeclared (first use in this function)
parser.y:272: `SYNONYM' undeclared (first use in this function)
parser.y:275: `RESTRICTSYN' undeclared (first use in this function)
parser.y:279: `DATATYPE' undeclared (first use in this function)
parser.y:282: `QUAL' undeclared (first use in this function)
parser.y:292: `NEWTYPE' undeclared (first use in this function)
parser.y:313: `SIGDECL' undeclared (first use in this function)
parser.y:320: `POLYTYPE' undeclared (first use in this function)
parser.y:327: `BANG' undeclared (first use in this function)
parser.y:334: `LABC' undeclared (first use in this function)
parser.y:410: `textCcall' undeclared (first use in this function)
parser.y:411: `textStdcall' undeclared (first use in this function)
parser.y:444: `row' undeclared (first use in this function)
parser.y:536: `typeUnit' undeclared (first use in this function)
parser.y:537: `typeArrow' undeclared (first use in this function)
parser.y:557: `typeList' undeclared (first use in this function)
parser.y:581: `FIXDECL' undeclared (first use in this function)
parser.y:581: `NON_ASS' undeclared (first use in this function)
parser.y:583: `LEFT_ASS' undeclared (first use in this function)
parser.y:585: `RIGHT_ASS' undeclared (first use in this function)
parser.y:591: `DEF_PREC' undeclared (first use in this function)
parser.y:609: `FUNBIND' undeclared (first use in this function)
parser.y:611: `RSIGN' undeclared (first use in this function)
parser.y:613: `PATBIND' undeclared (first use in this function)
parser.y:623: `varPlus' undeclared (first use in this function)
parser.y:635: `GUARDED' undeclared (first use in this function)
parser.y:651: `ESIGN' undeclared (first use in this function)
parser.y:664: `INFIX' undeclared (first use in this function)
parser.y:666: `NEG' undeclared (first use in this function)
parser.y:666: `ONLY' undeclared (first use in this function)
parser.y:690: `ASPAT' undeclared (first use in this function)
parser.y:692: `CONFLDS' undeclared (first use in this function)
parser.y:695: `WILDCARD' undeclared (first use in this function)
parser.y:699: `FINLIST' undeclared (first use in this function)
parser.y:700: `LAZYPAT' undeclared (first use in this function)
parser.y:779: `CASE' undeclared (first use in this function)
parser.y:780: `DOCOMP' undeclared (first use in this function)
parser.y:790: `LAMBDA' undeclared (first use in this function)
parser.y:794: `COND' undeclared (first use in this function)
parser.y:816: `UPDFLDS' undeclared (first use in this function)
parser.y:837: `nameFlip' undeclared (first use in this function)
parser.y:879: `FROMQUAL' undeclared (first use in this function)
parser.y:880: `QWHERE' undeclared (first use in this function)
parser.y:882: `DOQUAL' undeclared (first use in this function)
parser.y:922: `COMP' undeclared (first use in this function)
parser.y:925: `nameFromTo' undeclared (first use in this function)
parser.y:926: `nameFromThen' undeclared (first use in this function)
parser.y:927: `nameFrom' undeclared (first use in this function)
parser.y:928: `nameFromThenTo' undeclared (first use in this function)
parser.y:937: `BOOLQUAL' undeclared (first use in this function)
parser.y:944: `nameUnit' undeclared (first use in this function)
parser.y:945: `nameNil' undeclared (first use in this function)
parser.y:952: `varHiding' undeclared (first use in this function)
parser.y:953: `varQualified' undeclared (first use in this function)
parser.y:954: `varAsMod' undeclared (first use in this function)
parser.y:955: `varExport' undeclared (first use in this function)
parser.y:956: `varDynamic' undeclared (first use in this function)
parser.y:957: `varCCall' undeclared (first use in this function)
parser.y:958: `varStdCall' undeclared (first use in this function)
parser.y:959: `varUnsafe' undeclared (first use in this function)
parser.y:960: `varLabel' undeclared (first use in this function)
parser.y:968: `varMinus' undeclared (first use in this function)
parser.y:969: `varBang' undeclared (first use in this function)
parser.y:970: `varDot' undeclared (first use in this function)
parser.y:1022: `startColumn' undeclared (first use in this function)
parser.y:1031: invalid lvalue in assignment
parser.y:1032: `column' undeclared (first use in this function)
parser.y:1032: invalid lvalue in assignment
parser.y: At top level:
parser.y:1043: parse error before `local'
parser.y:1044: parse error before `Int'
parser.y:1044: warning: data definition has no type or storage class
parser.y:1045: parse error before `e'
parser.y:1045: warning: data definition has no type or storage class
parser.y:1059: warning: parameter names (without types) in function declaration
parser.y:1059: function `pushed' is initialized like a variable
parser.y:1059: warning: data definition has no type or storage class
parser.y:1060: parse error before `}'
parser.y:1067: parse error before `local'
parser.y:1068: parse error before `String'
parser.y:1068: warning: data definition has no type or storage class
parser.y:1073: parse error before `local'
parser.y: In function `unexpected':
parser.y:1079: warning: return makes integer from pointer without a cast
parser.y:1082: warning: return makes integer from pointer without a cast
parser.y:1083: warning: return makes integer from pointer without a cast
parser.y:1084: warning: return makes integer from pointer without a cast
parser.y:1085: warning: return makes integer from pointer without a cast
parser.y:1086: warning: return makes integer from pointer without a cast
parser.y:1087: warning: return makes integer from pointer without a cast
parser.y:1088: warning: return makes integer from pointer without a cast
parser.y:1089: warning: return makes integer from pointer without a cast
parser.y:1090: warning: return makes integer from pointer without a cast
parser.y:1091: warning: return makes integer from pointer without a cast
parser.y:1092: warning: return makes integer from pointer without a cast
parser.y:1093: warning: return makes integer from pointer without a cast
parser.y:1094: warning: return makes integer from pointer without a cast
parser.y:1095: warning: return makes integer from pointer without a cast
parser.y:1096: warning: return makes integer from pointer without a cast
parser.y:1097: warning: return makes integer from pointer without a cast
parser.y:1098: warning: return makes integer from pointer without a cast
parser.y:1099: warning: return makes integer from pointer without a cast
parser.y:1100: warning: return makes integer from pointer without a cast
parser.y:1101: warning: return makes integer from pointer without a cast
parser.y:1102: warning: return makes integer from pointer without a cast
parser.y:1103: warning: return makes integer from pointer without a cast
parser.y:1110: warning: return makes integer from pointer without a cast
parser.y:1111: warning: return makes integer from pointer without a cast
parser.y:1112: warning: return makes integer from pointer without a cast
parser.y:1113: warning: return makes integer from pointer without a cast
parser.y:1114: warning: return makes integer from pointer without a cast
parser.y:1115: warning: return makes integer from pointer without a cast
parser.y:1116: warning: return makes integer from pointer without a cast
parser.y:1117: warning: return makes integer from pointer without a cast
parser.y:1118: warning: return makes integer from pointer without a cast
parser.y:1119: warning: return makes integer from pointer without a cast
parser.y:1120: warning: return makes integer from pointer without a cast
parser.y:1121: warning: return makes integer from pointer without a cast
parser.y:1122: warning: return makes integer from pointer without a cast
parser.y:1123: warning: return makes integer from pointer without a cast
parser.y:1124: warning: return makes integer from pointer without a cast
parser.y:1125: warning: return makes integer from pointer without a cast
parser.y:1126: warning: return makes integer from pointer without a cast
parser.y:1127: warning: return makes integer from pointer without a cast
parser.y:1128: warning: return makes integer from pointer without a cast
parser.y:1129: warning: return makes integer from pointer without a cast
parser.y:1130: warning: return makes integer from pointer without a cast
parser.y:1131: warning: return makes integer from pointer without a cast
parser.y:1147: warning: return makes integer from pointer without a cast
parser.y:1153: warning: return makes integer from pointer without a cast
parser.y:1154: warning: return makes integer from pointer without a cast
parser.y:1155: warning: return makes integer from pointer without a cast
parser.y:1156: warning: return makes integer from pointer without a cast
parser.y:1157: warning: return makes integer from pointer without a cast
parser.y:1158: warning: return makes integer from pointer without a cast
parser.y:1159: warning: return makes integer from pointer without a cast
parser.y:1160: warning: return makes integer from pointer without a cast
parser.y:1161: warning: return makes integer from pointer without a cast
parser.y: At top level:
parser.y:1165: parse error before `local'
parser.y:1166: parse error before `Cell'
parser.y:1166: warning: data definition has no type or storage class
parser.y:1175: parse error before `local'
parser.y:1176: parse error before `List'
parser.y:1176: warning: data definition has no type or storage class
parser.y:1178: initializer element is not constant
parser.y:1178: warning: data definition has no type or storage class
parser.y:1179: parse error before `x'
parser.y:1179: warning: data definition has no type or storage class
parser.y:1183: warning: parameter names (without types) in function declaration
parser.y:1183: function `fst' is initialized like a variable
parser.y:1183: warning: data definition has no type or storage class
parser.y:1184: warning: parameter names (without types) in function declaration
parser.y:1184: function `snd' is initialized like a variable
parser.y:1184: warning: data definition has no type or storage class
parser.y:1185: initializer element is not constant
parser.y:1185: warning: data definition has no type or storage class
parser.y:1186: redefinition of `t'
parser.y:1178: `t' previously defined here
parser.y:1186: initializer element is not constant
parser.y:1186: warning: data definition has no type or storage class
parser.y:1187: parse error before `++'
parser.y:1189: warning: parameter names (without types) in function declaration
parser.y:1189: function `fst' is initialized like a variable
parser.y:1189: warning: data definition has no type or storage class
parser.y:1190: parse error before `return'
parser.y:1193: parse error before `local'
parser.y:1194: parse error before `Type'
parser.y:1194: warning: data definition has no type or storage class
parser.y:1199: parse error before `local'
parser.y:1200: parse error before `Cell'
parser.y:1200: warning: data definition has no type or storage class
parser.y:1215: parse error before `local'
parser.y:1216: parse error before `List'
parser.y:1216: warning: data definition has no type or storage class
parser.y:1221: warning: parameter names (without types) in function declaration
parser.y:1221: function `fst' is initialized like a variable
parser.y:1221: warning: data definition has no type or storage class
parser.y:1222: warning: parameter names (without types) in function declaration
parser.y:1222: function `snd' is initialized like a variable
parser.y:1222: warning: data definition has no type or storage class
parser.y:1223: parse error before `return'
parser.y:1239: parse error before `local'
parser.y:1240: parse error before `Cell'
parser.y:1240: warning: data definition has no type or storage class
parser.y:1253: parse error before `local'
parser.y:1254: parse error before `String'
parser.y:1254: warning: data definition has no type or storage class
parser.y:1261: parse error before `local'
parser.y:1262: parse error before `String'
parser.y:1262: warning: data definition has no type or storage class
parser.y:1279: parse error before `local'
parser.y:1280: parse error before `String'
parser.y:1280: warning: data definition has no type or storage class

--Part10107191644.A--