swftools git (c514a78a66df841b79ef8da285a7e3dd3aba7e2b) is not fully buildable from scratch:
$ cd lib/action $ bison --defines -p swf5 swf5compiler.y swf5compiler.y:1552.35-36: $$ for the midrule at $2 of «with» has no declared type swf5compiler.y:1585.35-36: $$ for the midrule at $2 of «opcode» has no declared type swf5compiler.y:1587.35-36: $$ for the midrule at $2 of «opcode» has no declared type make: *** [swf5compiler.tab.h] Error 1 $ touch *.y *.flex $ make bison --defines -p swf4 swf4compiler.y swf4compiler.y: konflikter: 49 skift/reduksjon, 42 reduksjon/reduksjon swf4compiler.y:176.25-38: advarsel: rule useless in parser due to conflicts: statements: /* tom */ swf4compiler.y:669.11-673.29: advarsel: rule useless in parser due to conflicts: rhs_expr: '-' NUMBER flex -i -Pswf4 swf4compiler.flex gcc -c -DHAVE_CONFIG_H -I/usr/include/freetype2 -I/usr/include/fontconfig -Ilame -Ilib/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer lex.swf4.c -o lex.swf4.o In file included from swf4compiler.flex:9:0: swf4compiler.tab.h:148:5: error: conflicting types for ‘swf4parse’ In file included from swf4compiler.flex:6:0: compile.h:160:5: note: previous declaration of ‘swf4parse’ was here make: *** [lex.swf4.o] Error 1 compile.h says int swf4parse(void *b); int swf5parse(void *b); while tab.h has #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus int swf4parse (void *YYPARSE_PARAM); #else int swf4parse (); #endif #else /* ! YYPARSE_PARAM */ #if defined __STDC__ || defined __cplusplus int swf4parse (void); #else int swf4parse (); #endif #endif /* ! YYPARSE_PARAM */ --------------- SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>