Alright, it's literally the 3rd day, since I'm trying to compile this library:
http://ming.sourceforge.net/
I never had any success. I think I got all the required libraries, but still I'm getting errors.
Code:
ming-0.3a/ming/php_ext$ make
cd ..; make static
make[1]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming'
cd src && make static
make[2]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src'
cd blocks && make
make[3]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/blocks'
gcc -g -Wall -I.. -I. -c -o pngdbl.o pngdbl.c
pngdbl.c: In function ‘openPngFromInput’:
pngdbl.c:54: warning: pointer targets in passing argument 2 of ‘SWFInput_read’ differ in signedness
pngdbl.c: In function ‘readPNG’:
pngdbl.c:282: warning: pointer targets in passing argument 2 of ‘compress2’ differ in signedness
make[3]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/blocks'
cd actioncompiler && make
make[3]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/actioncompiler'
gcc -g -Wall -I.. -I. -c -o compile.o compile.c
gcc -g -Wall -I.. -I. -c -o listaction.o listaction.c
bison --defines --debug -p swf4 swf4compiler.y
swf4compiler.y: conflicts: 49 shift/reduce, 42 reduce/reduce
swf4compiler.y:176.25-38: warning: rule never reduced because of conflicts: statements: /* empty */
swf4compiler.y:669.11-673.29: warning: rule never reduced because of conflicts: rhs_expr: '-' NUMBER
flex -i -Pswf4 swf4compiler.flex
gcc -g -Wall -I.. -I. -c -o lex.swf4.o lex.swf4.c
swf4compiler.flex:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘YY_PROTO’
swf4compiler.flex: In function ‘do_unput4’:
swf4compiler.flex:82: warning: implicit declaration of function ‘yyunput’
lex.swf4.c: At top level:
lex.swf4.c:819: warning: conflicting types for ‘yyunput’
lex.swf4.c:819: error: static declaration of ‘yyunput’ follows non-static declaration
swf4compiler.flex:82: error: previous implicit declaration of ‘yyunput’ was here
make[3]: *** [lex.swf4.o] Error 1
make[3]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/actioncompiler'
make[2]: *** [static] Error 2
make[2]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src'
make[1]: *** [static] Error 2
make[1]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming'
make: *** [../libming.a] Error 2
q6z4kf@A135:~/Desktop/ming-0.3a/ming/php_ext$
I have no idea what is ‘yyunput’ and what do I need to do to fix it and make it finally to compile.. any suggestions please? thank you!