I'm getting a compile error when trying to compile the flex output of ppl.l in tools/wpp. This is under Debian (Woody) with latest updates. Can anybody help me out? Enclosed is the output of the build and folling that, the installed packages. I have also tried the latest version (20030408) with identical results. TIA Luke =============================================================== Script started on Mon Apr 28 19:53:57 2003 maxwell:wine-20030219$ ./tools/wineinstall WINE Installer v0.74 I see that WINE has already been configured, so I'll skip that. We need to install wine as root user, do you want us to build wine, 'su root' and install Wine? Enter 'no' to continue without installing (yes/no) yes /usr/local/lib doesn't exist in your /etc/ld.so.conf, it will be added when we perform the install... Compiling WINE. Grab a lunch or two, rent a video, or whatever, in the meantime... make[1]: Entering directory `/opt/export/wine/wine-20030219/library' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/export/wine/wine-20030219/library' make[1]: Entering directory `/opt/export/wine/wine-20030219/ole' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/export/wine/wine-20030219/ole' make[1]: Entering directory `/opt/export/wine/wine-20030219/unicode' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/export/wine/wine-20030219/unicode' make[1]: Entering directory `/opt/export/wine/wine-20030219/tools' make[2]: Entering directory `/opt/export/wine/wine-20030219/tools/wpp' gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -Wpointer-arith -mpreferred-stack-boundary=2 -gstabs+ -D_REENTRANT -o lex.yy.o lex.yy.c ./ppl.l:97: warning: `/*' within comment ./ppl.l: In function `pplex': ./ppl.l:309: `pp_incl_state' undeclared (first use in this function) ./ppl.l:309: (Each undeclared identifier is reported only once ./ppl.l:309: for each function it appears in.) ./ppl.l:309: `pp_pp' undeclared (first use in this function) ./ppl.l:314: `pp_ignore' undeclared (first use in this function) ./ppl.l:314: warning: implicit declaration of function `yy_pp_state' ./ppl.l:314: `pp_inc' undeclared (first use in this function) ./ppl.l:314: `tINCLUDE' undeclared (first use in this function) ./ppl.l:314: `pp_eol' undeclared (first use in this function) ./ppl.l:315: called object is not a function ./ppl.l:315: `pp_def' undeclared (first use in this function) ./ppl.l:316: `tERROR' undeclared (first use in this function) ./ppl.l:317: `tWARNING' undeclared (first use in this function) ./ppl.l:318: `tPRAGMA' undeclared (first use in this function) ./ppl.l:319: `tPPIDENT' undeclared (first use in this function) ./ppl.l:320: `pp_ifd' undeclared (first use in this function) ./ppl.l:320: `tUNDEF' undeclared (first use in this function) ./ppl.l:321: `tIFDEF' undeclared (first use in this function) ./ppl.l:322: `tIFNDEF' undeclared (first use in this function) ./ppl.l:323: `pp_if' undeclared (first use in this function) ./ppl.l:323: `tIF' undeclared (first use in this function) ./ppl.l:324: `tELIF' undeclared (first use in this function) ./ppl.l:325: `pp_endif' undeclared (first use in this function) ./ppl.l:325: `tELSE' undeclared (first use in this function) ./ppl.l:326: `tENDIF' undeclared (first use in this function) ./ppl.l:327: `pp_line' undeclared (first use in this function) ./ppl.l:327: `tLINE' undeclared (first use in this function) ./ppl.l:328: `tGCCLINE' undeclared (first use in this function) ./ppl.l:329: warning: implicit declaration of function `pperror' ./ppl.l:330: warning: implicit declaration of function `newline' ./ppl.l:330: `tNL' undeclared (first use in this function) ./ppl.l:338: warning: implicit declaration of function `make_number' ./ppl.l:338: `pplval' undeclared (first use in this function) ./ppl.l:339: warning: implicit declaration of function `new_string' ./ppl.l:339: warning: implicit declaration of function `add_string' ./ppl.l:339: `pp_iqs' undeclared (first use in this function) ./ppl.l:340: `pp_dqs' undeclared (first use in this function) ./ppl.l:344: called object is not a function ./ppl.l:366: `pp_defined' undeclared (first use in this function) ./ppl.l:366: `tDEFINED' undeclared (first use in this function) ./ppl.l:367: `tLSHIFT' undeclared (first use in this function) ./ppl.l:368: `tRSHIFT' undeclared (first use in this function) ./ppl.l:369: `tLOGAND' undeclared (first use in this function) ./ppl.l:370: `tLOGOR' undeclared (first use in this function) ./ppl.l:371: `tEQ' undeclared (first use in this function) ./ppl.l:372: `tNE' undeclared (first use in this function) ./ppl.l:373: `tLTE' undeclared (first use in this function) ./ppl.l:374: `tGTE' undeclared (first use in this function) ./ppl.l:379: `pp_sqs' undeclared (first use in this function) ./ppl.l:387: warning: implicit declaration of function `pp_xstrdup' ./ppl.l:387: `tIDENT' undeclared (first use in this function) ./ppl.l:418: `tLITERAL' undeclared (first use in this function) ./ppl.l:421: called object is not a function ./ppl.l:427: `pp_macro' undeclared (first use in this function) ./ppl.l:427: `tMACRO' undeclared (first use in this function) ./ppl.l:428: `pp_define' undeclared (first use in this function) ./ppl.l:428: `tDEFINE' undeclared (first use in this function) ./ppl.l:447: `pp_mbody' undeclared (first use in this function) ./ppl.l:447: `tMACROEND' undeclared (first use in this function) ./ppl.l:451: `tELIPSIS' undeclared (first use in this function) ./ppl.l:460: `tCONCAT' undeclared (first use in this function) ./ppl.l:461: `tSTRINGIZE' undeclared (first use in this function) ./ppl.l:479: `pp_macscan' undeclared (first use in this function) ./ppl.l:486: `macexpstackentry_t' undeclared (first use in this function) ./ppl.l:486: `mac' undeclared (first use in this function) ./ppl.l:486: warning: implicit declaration of function `pop_macro' ./ppl.l:488: warning: implicit declaration of function `put_buffer' ./ppl.l:490: warning: implicit declaration of function `free_macro' ./ppl.l:498: warning: implicit declaration of function `MACROPARENTHESES' ./ppl.l:498: invalid lvalue in increment ./ppl.l:499: warning: implicit declaration of function `add_text_to_macro' ./ppl.l:502: invalid lvalue in decrement ./ppl.l:505: warning: implicit declaration of function `macro_add_arg' ./ppl.l:518: `pp_comment' undeclared (first use in this function) ./ppl.l:519: `pp_status' undeclared (first use in this function) ./ppl.l:536: warning: implicit declaration of function `ppwarning' ./ppl.l:548: called object is not a function ./ppl.l:555: `RCINCL' undeclared (first use in this function) ./ppl.l:556: called object is not a function ./ppl.l:557: warning: implicit declaration of function `get_string' ./ppl.l:558: `tDQSTRING' undeclared (first use in this function) ./ppl.l:560: warning: implicit declaration of function `put_string' ./ppl.l:556: warning: unreachable code at beginning of switch statement ./ppl.l:567: called object is not a function ./ppl.l:573: `tSQSTRING' undeclared (first use in this function) ./ppl.l:575: warning: unreachable code at beginning of switch statement ./ppl.l:583: `tIQSTRING' undeclared (first use in this function) ./ppl.l:602: warning: unreachable code at beginning of switch statement ./ppl.l:613: warning: implicit declaration of function `string_start' ./ppl.l:620: `pp_entry_t' undeclared (first use in this function) ./ppl.l:620: `ppp' undeclared (first use in this function) ./ppl.l:620: warning: statement with no effect ./ppl.l:622: warning: implicit declaration of function `pplookup' ./ppl.l:624: called object is not a function ./ppl.l:627: called object is not a function ./ppl.l:633: called object is not a function ./ppl.l:633: `INITIAL' undeclared (first use in this function) ./ppl.l:635: `tRCINCLUDE' undeclared (first use in this function) ./ppl.l:644: `def_special' undeclared (first use in this function) ./ppl.l:645: warning: implicit declaration of function `expand_special' ./ppl.l:647: `def_define' undeclared (first use in this function) ./ppl.l:648: warning: implicit declaration of function `expand_define' ./ppl.l:650: `def_macro' undeclared (first use in this function) ./ppl.l:651: `pp_macign' undeclared (first use in this function) ./ppl.l:652: warning: implicit declaration of function `push_macro' ./ppl.l:655: warning: implicit declaration of function `pp_internal_error' ./ppl.l:645: warning: unreachable code at beginning of switch statement ./ppl.l:679: `tRCINCLUDEPATH' undeclared (first use in this function) ./ppl.l:692: warning: implicit declaration of function `isprint' ./ppl.l:708: `pp_macexp' undeclared (first use in this function) ./ppl.l:696: `bufferstackentry_t' undeclared (first use in this function) ./ppl.l:696: `bep' undeclared (first use in this function) ./ppl.l:696: warning: implicit declaration of function `pop_buffer' ./ppl.l:698: warning: implicit declaration of function `pp_get_if_depth' ./ppl.l:709: warning: statement with no effect ./ppl.l:711: warning: implicit declaration of function `expand_macro' ./ppl.l: At top level: ./ppl.l:742: warning: `newline' was declared implicitly `extern' and later `static' ./ppl.l:330: warning: previous declaration of `newline' ./ppl.l:742: warning: type mismatch with previous implicit declaration ./ppl.l:330: warning: previous implicit declaration of `newline' ./ppl.l:742: warning: `newline' was previously implicitly declared to return `int' ./ppl.l: In function `newline': ./ppl.l:743: `pp_status' undeclared (first use in this function) ./ppl.l:749: `ncontinuations' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:782: parse error before `YYSTYPE' ./ppl.l:783: warning: `make_number' was declared implicitly `extern' and later `static' ./ppl.l:338: warning: previous declaration of `make_number' ./ppl.l: In function `make_number': ./ppl.l:790: warning: implicit declaration of function `toupper' ./ppl.l:790: `str' undeclared (first use in this function) ./ppl.l:790: `len' undeclared (first use in this function) ./ppl.l:824: `val' undeclared (first use in this function) ./ppl.l:824: `radix' undeclared (first use in this function) ./ppl.l:825: `tULONG' undeclared (first use in this function) ./ppl.l:830: `tSLONG' undeclared (first use in this function) ./ppl.l:835: `tUINT' undeclared (first use in this function) ./ppl.l:840: `tSINT' undeclared (first use in this function) ./ppl.l:841: warning: control reaches end of non-void function ./ppl.l: At top level: ./ppl.l:851: parse error before `*' ./ppl.l:852: warning: `expand_special' was declared implicitly `extern' and later `static' ./ppl.l:645: warning: previous declaration of `expand_special' ./ppl.l:852: warning: type mismatch with previous implicit declaration ./ppl.l:645: warning: previous implicit declaration of `expand_special' ./ppl.l:852: warning: `expand_special' was previously implicitly declared to return `int' ./ppl.l: In function `expand_special': ./ppl.l:856: warning: implicit declaration of function `assert' ./ppl.l:856: `ppp' undeclared (first use in this function) ./ppl.l:856: `def_special' undeclared (first use in this function) ./ppl.l:861: warning: implicit declaration of function `pp_xrealloc' ./ppl.l:861: warning: assignment makes pointer from integer without a cast ./ppl.l:862: `pp_status' undeclared (first use in this function) ./ppl.l:867: warning: assignment makes pointer from integer without a cast ./ppl.l:875: `macexpstackidx' undeclared (first use in this function) ./ppl.l:883: warning: implicit declaration of function `push_buffer' ./ppl.l: At top level: ./ppl.l:888: parse error before `*' ./ppl.l:889: warning: `expand_define' was declared implicitly `extern' and later `static' ./ppl.l:648: warning: previous declaration of `expand_define' ./ppl.l:889: warning: type mismatch with previous implicit declaration ./ppl.l:648: warning: previous implicit declaration of `expand_define' ./ppl.l:889: warning: `expand_define' was previously implicitly declared to return `int' ./ppl.l: In function `expand_define': ./ppl.l:890: `ppp' undeclared (first use in this function) ./ppl.l:890: `def_define' undeclared (first use in this function) ./ppl.l:894: `macexpstackidx' undeclared (first use in this function) ./ppl.l:895: `pp_status' undeclared (first use in this function) ./ppl.l: In function `add_text': ./ppl.l:916: `ALLOCBLOCKSIZE' undeclared (first use in this function) ./ppl.l:917: warning: assignment makes pointer from integer without a cast ./ppl.l: At top level: ./ppl.l:925: parse error before `*' ./ppl.l:925: parse error before `*' ./ppl.l:926: warning: return-type defaults to `int' ./ppl.l: In function `add_expand_text': ./ppl.l:932: `mtp' undeclared (first use in this function) ./ppl.l:937: `exp_text' undeclared (first use in this function) ./ppl.l:943: `exp_stringize' undeclared (first use in this function) ./ppl.l:947: `mep' undeclared (first use in this function) ./ppl.l:960: `exp_concat' undeclared (first use in this function) ./ppl.l:966: warning: implicit declaration of function `isspace' ./ppl.l:973: `nnl' undeclared (first use in this function) ./ppl.l:995: `exp_subst' undeclared (first use in this function) ./ppl.l:938: warning: unreachable code at beginning of switch statement ./ppl.l:1020: warning: control reaches end of non-void function ./ppl.l: At top level: ./ppl.l:1022: parse error before `*' ./ppl.l:1023: warning: `expand_macro' was declared implicitly `extern' and later `static' ./ppl.l:711: warning: previous declaration of `expand_macro' ./ppl.l:1023: warning: type mismatch with previous implicit declaration ./ppl.l:711: warning: previous implicit declaration of `expand_macro' ./ppl.l:1023: warning: `expand_macro' was previously implicitly declared to return `int' ./ppl.l: In function `expand_macro': ./ppl.l:1024: `mtext_t' undeclared (first use in this function) ./ppl.l:1024: `mtp' undeclared (first use in this function) ./ppl.l:1024: warning: statement with no effect ./ppl.l:1025: parse error before `int' ./ppl.l:1028: `pp_entry_t' undeclared (first use in this function) ./ppl.l:1028: `ppp' undeclared (first use in this function) ./ppl.l:1028: `mep' undeclared (first use in this function) ./ppl.l:1029: parse error before `int' ./ppl.l:1031: `def_macro' undeclared (first use in this function) ./ppl.l:1034: `nargs' undeclared (first use in this function) ./ppl.l:1037: `n' undeclared (first use in this function) ./ppl.l:1038: `nnl' undeclared (first use in this function) ./ppl.l:1042: `macexpstackidx' undeclared (first use in this function) ./ppl.l:1043: `pp_status' undeclared (first use in this function) ./ppl.l:1064: `k' undeclared (first use in this function) ./ppl.l:1064: `cptr' undeclared (first use in this function) ./ppl.l:1064: warning: left-hand operand of comma expression has no effect ./ppl.l:1064: warning: left-hand operand of comma expression has no effect ./ppl.l:1079: warning: left-hand operand of comma expression has no effect ./ppl.l:1079: warning: left-hand operand of comma expression has no effect ./ppl.l: At top level: ./ppl.l:1101: warning: `new_string' was declared implicitly `extern' and later `static' ./ppl.l:339: warning: previous declaration of `new_string' ./ppl.l:1101: warning: type mismatch with previous implicit declaration ./ppl.l:339: warning: previous implicit declaration of `new_string' ./ppl.l:1101: warning: `new_string' was previously implicitly declared to return `int' ./ppl.l: In function `new_string': ./ppl.l:1106: `strbuf_idx' undeclared (first use in this function) ./ppl.l:1107: `str_startline' undeclared (first use in this function) ./ppl.l:1107: `pp_status' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1111: warning: `add_string' was declared implicitly `extern' and later `static' ./ppl.l:339: warning: previous declaration of `add_string' ./ppl.l:1111: warning: type mismatch with previous implicit declaration ./ppl.l:339: warning: previous implicit declaration of `add_string' ./ppl.l:1111: warning: `add_string' was previously implicitly declared to return `int' ./ppl.l: In function `add_string': ./ppl.l:1114: `strbuf_idx' undeclared (first use in this function) ./ppl.l:1114: `strbuf_alloc' undeclared (first use in this function) ./ppl.l:1116: `ALLOCBLOCKSIZE' undeclared (first use in this function) ./ppl.l:1117: `strbuffer' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1126: warning: `get_string' was declared implicitly `extern' and later `static' ./ppl.l:582: warning: previous declaration of `get_string' ./ppl.l:1126: warning: type mismatch with previous implicit declaration ./ppl.l:582: warning: previous implicit declaration of `get_string' ./ppl.l:1126: warning: `get_string' was previously implicitly declared to return `int' ./ppl.l: In function `get_string': ./ppl.l:1127: warning: implicit declaration of function `pp_xmalloc' ./ppl.l:1127: `strbuf_idx' undeclared (first use in this function) ./ppl.l:1127: warning: initialization makes pointer from integer without a cast ./ppl.l:1128: `strbuffer' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1137: warning: `put_string' was declared implicitly `extern' and later `static' ./ppl.l:575: warning: previous declaration of `put_string' ./ppl.l:1137: warning: type mismatch with previous implicit declaration ./ppl.l:575: warning: previous implicit declaration of `put_string' ./ppl.l:1137: warning: `put_string' was previously implicitly declared to return `int' ./ppl.l: In function `put_string': ./ppl.l:1138: `strbuffer' undeclared (first use in this function) ./ppl.l:1138: `strbuf_idx' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1145: warning: `string_start' was declared implicitly `extern' and later `static' ./ppl.l:613: warning: previous declaration of `string_start' ./ppl.l: In function `string_start': ./ppl.l:1146: `str_startline' undeclared (first use in this function) ./ppl.l:1147: warning: control reaches end of non-void function ./ppl.l: At top level: ./ppl.l:1155: parse error before `*' ./ppl.l:1156: warning: `push_buffer' was declared implicitly `extern' and later `static' ./ppl.l:1089: warning: previous declaration of `push_buffer' ./ppl.l:1156: warning: type mismatch with previous implicit declaration ./ppl.l:1089: warning: previous implicit declaration of `push_buffer' ./ppl.l:1156: warning: `push_buffer' was previously implicitly declared to return `int' ./ppl.l: In function `push_buffer': ./ppl.l:1157: `ppdebug' undeclared (first use in this function) ./ppl.l:1158: `bufferstackidx' undeclared (first use in this function) ./ppl.l:1158: `ppp' undeclared (first use in this function) ./ppl.l:1158: `filename' undeclared (first use in this function) ./ppl.l:1158: `incname' undeclared (first use in this function) ./ppl.l:1158: `pop' undeclared (first use in this function) ./ppl.l:1159: `MAXBUFFERSTACK' undeclared (first use in this function) ./ppl.l:1162: `bufferstack' undeclared (first use in this function) ./ppl.l:1165: `pp_status' undeclared (first use in this function) ./ppl.l:1170: `ncontinuations' undeclared (first use in this function) ./ppl.l:1171: `pp_incl_state' undeclared (first use in this function) ./ppl.l:1173: `pass_data' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1190: parse error before `*' ./ppl.l:1191: warning: return-type defaults to `int' ./ppl.l:1191: warning: type mismatch with previous implicit declaration ./ppl.l:696: warning: previous implicit declaration of `pop_buffer' ./ppl.l:1191: warning: `pop_buffer' was previously implicitly declared to return `int' ./ppl.l: In function `pop_buffer': ./ppl.l:1192: `bufferstackidx' undeclared (first use in this function) ./ppl.l:1200: `bufferstack' undeclared (first use in this function) ./ppl.l:1204: `pp_status' undeclared (first use in this function) ./ppl.l:1207: `ncontinuations' undeclared (first use in this function) ./ppl.l:1214: `pp_incl_state' undeclared (first use in this function) ./ppl.l:1216: `pp_entry_t' undeclared (first use in this function) ./ppl.l:1216: `ppp' undeclared (first use in this function) ./ppl.l:1219: `includelogicentry_t' undeclared (first use in this function) ./ppl.l:1219: `iep' undeclared (first use in this function) ./ppl.l:1224: `pp_includelogiclist' undeclared (first use in this function) ./ppl.l:1237: `pass_data' undeclared (first use in this function) ./ppl.l:1242: `ppdebug' undeclared (first use in this function) ./ppl.l:1257: warning: implicit declaration of function `yy_current_state' ./ppl.l:1257: `pp_macexp' undeclared (first use in this function) ./ppl.l:1258: warning: implicit declaration of function `macro_add_expansion' ./ppl.l: At top level: ./ppl.l:1273: parse error before `*' ./ppl.l:1274: warning: `push_macro' was declared implicitly `extern' and later `static' ./ppl.l:652: warning: previous declaration of `push_macro' ./ppl.l:1274: warning: type mismatch with previous implicit declaration ./ppl.l:652: warning: previous implicit declaration of `push_macro' ./ppl.l:1274: warning: `push_macro' was previously implicitly declared to return `int' ./ppl.l: In function `push_macro': ./ppl.l:1275: `macexpstackidx' undeclared (first use in this function) ./ppl.l:1275: `MAXMACEXPSTACK' undeclared (first use in this function) ./ppl.l:1278: `macexpstack' undeclared (first use in this function) ./ppl.l:1280: `ppp' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1284: parse error before `*' ./ppl.l:1285: warning: return-type defaults to `int' ./ppl.l: In function `top_macro': ./ppl.l:1286: `macexpstackidx' undeclared (first use in this function) ./ppl.l:1286: `macexpstack' undeclared (first use in this function) ./ppl.l:1287: warning: control reaches end of non-void function ./ppl.l: At top level: ./ppl.l:1289: parse error before `*' ./ppl.l:1290: warning: return-type defaults to `int' ./ppl.l:1290: warning: type mismatch with previous implicit declaration ./ppl.l:710: warning: previous implicit declaration of `pop_macro' ./ppl.l:1290: warning: `pop_macro' was previously implicitly declared to return `int' ./ppl.l: In function `pop_macro': ./ppl.l:1291: `macexpstackidx' undeclared (first use in this function) ./ppl.l:1293: `macexpstack' undeclared (first use in this function) ./ppl.l:1294: warning: control reaches end of non-void function ./ppl.l: At top level: ./ppl.l:1296: parse error before `*' ./ppl.l:1297: warning: `free_macro' was declared implicitly `extern' and later `static' ./ppl.l:490: warning: previous declaration of `free_macro' ./ppl.l:1297: warning: type mismatch with previous implicit declaration ./ppl.l:490: warning: previous implicit declaration of `free_macro' ./ppl.l:1297: warning: `free_macro' was previously implicitly declared to return `int' ./ppl.l: In function `free_macro': ./ppl.l:1300: `mep' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1312: warning: `add_text_to_macro' was declared implicitly `extern' and later `static' ./ppl.l:518: warning: previous declaration of `add_text_to_macro' ./ppl.l:1312: warning: type mismatch with previous implicit declaration ./ppl.l:518: warning: previous implicit declaration of `add_text_to_macro' ./ppl.l:1312: warning: `add_text_to_macro' was previously implicitly declared to return `int' ./ppl.l: In function `add_text_to_macro': ./ppl.l:1313: `macexpstackentry_t' undeclared (first use in this function) ./ppl.l:1313: `mep' undeclared (first use in this function) ./ppl.l:1319: `ALLOCBLOCKSIZE' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1328: warning: `macro_add_arg' was declared implicitly `extern' and later `static' ./ppl.l:514: warning: previous declaration of `macro_add_arg' ./ppl.l:1328: warning: type mismatch with previous implicit declaration ./ppl.l:514: warning: previous implicit declaration of `macro_add_arg' ./ppl.l:1328: warning: `macro_add_arg' was previously implicitly declared to return `int' ./ppl.l: In function `macro_add_arg': ./ppl.l:1331: `macexpstackentry_t' undeclared (first use in this function) ./ppl.l:1331: `mep' undeclared (first use in this function) ./ppl.l:1352: `pp_status' undeclared (first use in this function) ./ppl.l:1360: `pp_macexp' undeclared (first use in this function) ./ppl.l:1330: warning: `cptr' might be used uninitialized in this function ./ppl.l: At top level: ./ppl.l:1368: warning: `macro_add_expansion' was declared implicitly `extern' and later `static' ./ppl.l:1258: warning: previous declaration of `macro_add_expansion' ./ppl.l:1368: warning: type mismatch with previous implicit declaration ./ppl.l:1258: warning: previous implicit declaration of `macro_add_expansion' ./ppl.l:1368: warning: `macro_add_expansion' was previously implicitly declared to return `int' ./ppl.l: In function `macro_add_expansion': ./ppl.l:1369: `macexpstackentry_t' undeclared (first use in this function) ./ppl.l:1369: `mep' undeclared (first use in this function) ./ppl.l:1380: `pp_status' undeclared (first use in this function) ./ppl.l: At top level: ./ppl.l:1393: warning: `put_buffer' was declared implicitly `extern' and later `static' ./ppl.l:1138: warning: previous declaration of `put_buffer' ./ppl.l:1393: warning: type mismatch with previous implicit declaration ./ppl.l:1138: warning: previous implicit declaration of `put_buffer' ./ppl.l:1393: warning: `put_buffer' was previously implicitly declared to return `int' ./ppl.l: In function `put_buffer': ./ppl.l:1397: `pass_data' undeclared (first use in this function) ./ppl.l: In function `pp_do_include': ./ppl.l:1421: `includelogicentry_t' undeclared (first use in this function) ./ppl.l:1421: `iep' undeclared (first use in this function) ./ppl.l:1421: warning: statement with no effect ./ppl.l:1423: `pp_includelogiclist' undeclared (first use in this function) ./ppl.l:1444: warning: implicit declaration of function `pp_open_include' ./ppl.l:1444: warning: assignment makes pointer from integer without a cast ./ppl.l:1449: `pp_incl_state' undeclared (first use in this function) ./ppl.l:1452: `pass_data' undeclared (first use in this function) ./ppl.l:1455: `pp_status' undeclared (first use in this function) ./ppl.l: In function `pp_push_ignore_state': ./ppl.l:1471: `pp_ignore' undeclared (first use in this function) ./ppl.l: At top level: lex.yy.c:15493: warning: `yyunput' defined but not used make[2]: *** [lex.yy.o] Error 1 make[2]: Leaving directory `/opt/export/wine/wine-20030219/tools/wpp' make[1]: *** [wpp] Error 2 make[1]: Leaving directory `/opt/export/wine/wine-20030219/tools' make: *** [tools] Error 2 ========================================================================= Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-===========================================ii adduser 3.47 Add and remove users and groups ii apt 0.5.4 Advanced front-end for dpkg ii apt-utils 0.5.4 APT utility programs ii ash 0.3.8-37 NetBSD /bin/sh ii at 3.1.8-11 Delayed job execution and batch processing ii base-config 1.33.18 Debian base configuration package ii base-files 3.0.2 Debian base system miscellaneous files ii base-passwd 3.4.1 Debian Base System Password/Group Files ii bash 2.05a-11 The GNU Bourne Again SHell ii binutils 2.12.90.0.1-4 The GNU assembler, linker and binary utiliti ii bison 1.875a-1 A parser generator that is compatible with Y ii bsdmainutils 5.20020211-4.9 More utilities from FreeBSD. ii bsdutils 2.11n-4 Basic utilities from 4.4BSD-Lite. ii bzip2 1.0.2-1 A high-quality block-sorting file compressor ii console-common 0.7.14 Basic infrastructure for text console config ii console-data 1999.08.29-24 Keymaps, fonts, charset maps, fallback table ii console-tools 0.2.3-23.3 Linux console and font utilities. ii console-tools- 0.2.3-23.3 Shared libraries for Linux console and font ii cpio 2.4.2-39 GNU cpio -- a program to manage archives of ii cpp 2.95.4-14 The GNU C preprocessor. ii cpp-2.95 2.95.4-11woody The GNU C preprocessor. ii cramfsprogs 1.1-3 Tools for CramFs (Compressed ROM File System ii cron 3.0pl1-72 management of regular background processing ii cvs 1.11.1p1debian Concurrent Versions System ii db4.1-util 4.1.25-4 Berkeley v4.1 Database Utilities ii debconf 1.2.35 Debian configuration management system ii debianutils 1.16 Miscellaneous utilities specific to Debian. ii dhcp-client 2.0pl5-11 DHCP Client ii diff 2.7-29 File comparison utilities ii dpkg 1.9.21 Package maintenance system for Debian ii e2fsprogs 1.27-2 The EXT2 file system utilities and libraries ii ed 0.2-19 The classic unix line editor ii esound-common 0.2.29-1 Enlightened Sound Daemon - Common files ii exim 3.35-1 An MTA (Mail Transport Agent) ii fdutils 5.3-7 Linux floppy utilities ii fileutils 4.1-10 GNU file management utilities ii findutils 4.1.7-2 utilities for finding files--find, xargs, an ii finger 0.17-6 User information lookup program. ii flex 2.5.31-4 A fast lexical analyzer generator. ii gcc 2.95.4-14 The GNU C compiler. ii gcc-2.95 2.95.4-11woody The GNU C compiler. ii gcc-3.3-base 3.3-0pre5 The GNU Compiler Collection (base package) ii gdk-imlib1 1.9.14-13 imaging library for use with gtk (using libp ii gettext-base 0.10.40-5 GNU Internationalization utilities for the b ii gnome-bin 1.4.2-12 Miscellaneous binaries used by GNOME ii gnome-libs-dat 1.4.2-12 Data for GNOME libraries ii grep 2.4.2-3 GNU grep, egrep and fgrep. ii grip 3.0.6-1 GNOME-based CD-player/ripper/encoder ii groff-base 1.17.2-15.wood GNU troff text-formatting system (base syste ii gzip 1.3.2-3 The GNU compression utility. ii hdparm 4.5-1.2 Tune hard disk parameters for high performan ii hostname 2.09 A utility to set/show the host name or domai ii ifupdown 0.6.4-4 High level tools to configure network interf ii imlib-base 1.9.14-13 Common files needed by the Imlib/Gdk-Imlib p ii info 4.1-2 Standalone GNU Info documentation browser ii initrd-tools 0.1.32woody.3 Tools to generate an initrd image. ii ipchains 1.3.10-15 Network firewalling for Linux 2.2.x ii iptables 1.2.6a-5 IP packet filter administration tools for 2. ii jad 1.5.8e-1 The fast Java Decompiler ii klogd 1.4.1-10 Kernel Logging Daemon ii less 374-4 A file pager program, similar to more(1) ii libapr0 2.0.45-3 The Apache Portable Runtime ii libart2 1.4.2-12 The GNOME canvas widget - runtime files ii libarts 2.2.2-13.woody aRts Sound system ii libaudiofile0 0.2.3-4 The Audiofile Library ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file compressor ii libc6 2.3.1-17 GNU C Library: Shared libraries and Timezone ii libc6-dev 2.3.1-17 GNU C Library: Development Libraries and Hea ii libcap1 1.10-12 support for getting/setting POSIX.1e capabil ii libcdparanoia0 3a9.8-7 Shared libraries for cdparanoia (runtime lib ii libcupsys2 1.1.14-4.4 Common UNIX Printing System(tm) - libs ii libdb1-compat 2.1.3-7 The Berkeley database routines [glibc 2.0/2. ii libdb2 2.7.7.0-7 The Berkeley database routines (run-time fil ii libdb3 3.2.9-17 Berkeley v3 Database Libraries [runtime] ii libdb4.1 4.1.25-4 Berkeley v4.1 Database Libraries [runtime] ii libdbi-perl 1.21-2 The Perl5 Database Interface by Tim Bunce ii libdps1 4.1.0-16 Display PostScript (DPS) client library ii libesd0 0.2.29-1 Enlightened Sound Daemon - Shared libraries ii libexpat1 1.95.6-4 XML parsing C library - runtime library ii libfreetype6 2.1.4-2 FreeType 2 font engine, shared library files ii libgcc1 3.3-0pre5 GCC support library ii libgdbmg1 1.7.3-27 GNU dbm database routines (runtime version). ii libghttp1 1.0.9-9 Gnome HTTP client library ii libglib1.2 1.2.10-4 The GLib library of C routines ii libgnome32 1.4.2-12 The GNOME libraries ii libgnomesuppor 1.4.2-12 The GNOME libraries (Support libraries) ii libgnomeui32 1.4.2-12 The GNOME libraries (User Interface) ii libgnorba27 1.4.2-12 GNOME CORBA services ii libgnorbagtk0 1.4.2-12 GNOME CORBA services (Gtk bindings) ii libgpmg1 1.19.6-12 General Purpose Mouse Library [libc6] ii libgtk1.2 1.2.10-14 The GIMP Toolkit set of widgets for X ii libgtk1.2-comm 1.2.10-14 Common files for the GTK+ library ii libid3-3.8.3 3.8.3-1 Library for manipulating ID3v1 and ID3v2 tag ii libident 0.22-2 simple RFC1413 client library - runtime ii libjpeg62 6b-5 The Independent JPEG Group's JPEG runtime li ii libkrb53 1.2.4-5woody4 MIT Kerberos runtime libraries ii libldap2 2.0.23-6.3 OpenLDAP libraries. ii liblockfile1 1.03 NFS-safe locking library, includes dotlockfi rc libmysqlclient 3.23.49-8.2 mysql database client library ii libncurses5 5.3.20021109-2 Shared libraries for terminal handling ii libncurses5-de 5.3.20021109-2 Developer's libraries and docs for ncurses ii libneon23 0.23.8-1 An HTTP and WebDAV client library ii libnewt0 0.50.17-9.6 Not Erik's Windowing Toolkit - text mode win ii liborbit0 0.5.17-8 Libraries for ORBit - a CORBA ORB ii libpam-modules 0.72-35 Pluggable Authentication Modules for PAM ii libpam-runtime 0.72-35 Runtime support for the PAM library ii libpam0g 0.72-35 Pluggable Authentication Modules library ii libpcap0 0.6.2-2 System interface for user-level packet captu ii libpcre3 3.4-1.1 Philip Hazel's Perl Compatible Regular Expre ii libpng2 1.0.12-3.woody PNG library - runtime ii libpopt0 1.6.4-2 lib for parsing cmdline parameters ii libreadline4 4.2a-5 GNU readline and history libraries, run-time ii libsane 1.0.7-3.2 API library for scanners ii libsasl7 1.5.27-3 Authentication abstraction library. ii libssl0.9.6 0.9.6c-2.woody SSL shared libraries ii libssl0.9.7 0.9.7b-2 SSL shared libraries ii libstdc++2.10- 2.95.4-11woody The GNU stdc++ library ii libstdc++5 3.3-0pre5 The GNU Standard C++ Library v3 ii libtiff3g 3.5.5-6 Tag Image File Format library ii libttf2 1.4pre.2001102 FreeType 1, The FREE TrueType Font Engine, s ii libungif4g 4.1.0b1-4 shared library for GIF images (runtime lib) ii libusb-0.1-4 0.1.5-4 Userspace USB programming library rc libwine 0.0.20020411-1 Windows Emulator (Library) ii libwrap0 7.6-9 Wietse Venema's TCP wrappers library ii libxaw7 4.1.0-16 X Athena widget set library ii libxml2 2.5.6-2 GNOME XML library ii libxmltok1 1.1-12 XML Parser Toolkit, runtime libraries ii lilo 22.2-3 LInux LOader - The Classic OS loader can loa ii login 20000902-12 System login tools ii logrotate 3.5.9-8 Log rotation utility ii lynx 2.8.4.1b-3.2 Text-mode WWW Browser ii m4 1.4-15 a macro processing language ii mailx 8.1.2-0.200204 A simple mail user agent. ii make 3.79.1-14 The GNU version of the "make" utility. ii makedev 2.3.1-58 Creates device files in /dev. ii man-db 2.3.20-18 The on-line manual pager ii manpages 1.39-1.1 Man pages about using a Linux system. ii mawk 1.3.3-8 a pattern scanning and text processing langu ii mbr 1.1.5-1 Master Boot Record for IBM-PC compatible com ii menu 2.1.5-10.1 provides update-menus functions for some app ii minicom 1.83.1-4.5 Clone of the MS-DOS "Telix" communications p ii modconf 0.2.43 Device Driver Configuration ii modutils 2.4.15-1 Linux module utilities. ii mount 2.11n-4 Tools for mounting and manipulating filesyst rc mysql-common 3.23.49-8.2 mysql database common files (e.g. /etc/mysql rc mysql-server 3.23.49-8.2 mysql database server binaries ii nano 1.0.6-2 free Pico clone with some new features ii nas-lib 1.5-1 The Network Audio System (NAS). (shared libr ii ncurses-base 5.2.20020112a- Descriptions of common terminal types ii ncurses-bin 5.2.20020112a- Terminal-related programs and man pages ii net-tools 1.60-4 The NET-3 networking toolkit ii netbase 4.07 Basic TCP/IP networking system ii netkit-inetd 0.10-9 The Internet Superserver ii netkit-ping 0.10-9 The ping utility from netkit ii ntp 4.1.0-8 Daemon and utilities for full NTP v4 timekee ii ntp-simple 4.1.0-8 NTP v4 daemon for simple systems. ii nvi 1.79-20 4.4BSD re-implementation of vi. ii passwd 20000902-12 Change and administer password and group dat ii patch 2.5.4-11 Apply a diff file to an original ii pciutils 2.1.9-4 Linux PCI Utilities (for 2.[1234].x kernels) ii perl 5.6.1-8.2 Larry Wall's Practical Extraction and Report ii perl-base 5.6.1-8.2 The Pathologically Eclectic Rubbish Lister. ii perl-modules 5.6.1-8.2 Core Perl modules. ii portmap 5-2 The RPC portmapper ii ppp 2.4.1.uus-4 Point-to-Point Protocol (PPP) daemon. ii pppconfig 2.0.14 A text menu based utility for configuring pp ii pppoe 3.3-1.1 PPP over Ethernet driver ii pppoeconf 0.9.10.6 configures PPPoE/ADSL ii procps 2.0.7-8 The /proc file system utilities. ii psmisc 20.2-2.1 Utilities that use the proc filesystem ii python 2.1.3-3.2 An interactive object-oriented scripting lan ii python2.1 2.1.3-3.2 An interactive object-oriented scripting lan ii samba 2.2.3a-12.3 A LanManager like file and printer server fo ii samba-common 2.2.3a-12.3 Samba common files used by both the server a ii sed 3.02-8 The GNU sed stream editor. ii setserial 2.17-24 Controls configuration of serial ports. ii shellutils 2.0.11-11 The GNU shell programming utilities. ii slang1 1.4.4-7.2 The S-Lang programming library - runtime ver ii ssh-krb5 3.4p1-0woody1 Secure rlogin/rsh/rcp replacement (OpenSSH w ii strace 4.4-1.2 A system call tracer. ii sudo 1.6.6-1.1 Provides limited super user privileges to sp ii sysklogd 1.4.1-10 System Logging Daemon ii syslinux 1.66-1 Bootloader for Linux/i386 using MS-DOS flopp ii sysvinit 2.84-2woody1 System-V like init. ii tar 1.13.25-2 GNU tar ii tasksel 1.18 Tool for selecting tasks for installation on ii tcpd 7.6-9 Wietse Venema's TCP wrapper utilities ii telnet 0.17-18 The telnet client. ii textutils 2.0-12 The GNU text file processing utilities. ii twm 4.1.0-16 Tab window manager ii util-linux 2.11n-4 Miscellaneous system utilities. ii vim 6.1.018-1 Vi IMproved - enhanced vi editor ii wget 1.8.1-6.1 retrieves files from the web ii whiptail 0.50.17-9.6 Displays user-friendly dialog boxes from she rc wine 0.0.20020411-1 Windows Emulator (Binary Emulator) rc xbase-clients 4.1.0-16 miscellaneous X clients ii xfonts-base 4.1.0-16 standard fonts for X ii xfree86-common 4.2.1-6 X Window System (XFree86) infrastructure ii xlibmesa3 4.1.0-16 XFree86 version of Mesa 3D graphics library ii xlibmesa3-glu 4.2.1-6 Mesa OpenGL utility library [XFree86] ii xlibs 4.2.1-6 X Window System client libraries ii xlibs-dev 4.2.1-6 X Window System client library development f ii xterm 4.1.0-16 X terminal emulator ii xutils 4.1.0-16 X Window System utility programs ii zlib1g 1.1.4-1 compression library - runtime
Daniela Ruschak
2003-Apr-30 04:37 UTC
Wine compile error in tools/wpp (ppl.l) under debian
Hi!> I'm getting a compile error when trying to compile the flex output of > ppl.l in tools/wpp. This is under Debian (Woody) with latest updates.I got the same error. But not under woody.> Can anybody help me out? Enclosed is the output of the build and > folling that, the installed packages. I have also tried the latest > version (20030408) with identical results. > ii flex 2.5.31-4 A fast lexical analyzer generator.Oh dear, thats not the woody package: http://packages.debian.org/cgi-bin/search_packages.pl?keywords=flex&searchon=nam +es&version=all&release=all downgrade to version flex 2.5.4a-24 I've found this information in the topic of the irc chat :-( How to downgrade: http://qref.sourceforge.net/Debian/reference/ch-package.en.html point 6.2.7 point 6.2.8 make sure that the stable dist is available in your sources.list with apt-get install -t <stable-dist> flex it should work. greetings ++dani -- Daniela Ruschak dani@proceryon.at ProCeryon Biosciences GmbH www.proceryon.at Jakob Haringer Strasse 3, A-5020 Salzburg 0043 662 450081 30 Key fingerprint = 7CAE 9582 DA5E EA12 C85D CE4E 4194 15F8 10E3 D027 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20030430/3dd0a0c3/attachment.pgp