From: Graham A. <gr...@si...> - 2005-09-17 17:45:22
|
I am trying to compile Ming for the php module for OS X I am using PHP Version 5.0.4 I downloaded the latest version...i think...ming-0.3beta1 I would like the version where I can stream video :) when doing a make...then make install in the php_ext directory I get all kinds of errors..... does anyone know which Ming version for PHP will compile for OS X ? many thanks in advance g output from make: cc -I../src -fPIC -DHAVE_MING -DCOMPILE_DL_MING -DZEND_NEW_ERROR_HANDLING -c ming.c -I. -I../src -I.. `php-config --includes` ming.c: In function `zif_swfbitmap_init': ming.c:523: warning: assignment from incompatible pointer type ming.c: In function `zif_swftextfield_setFont': ming.c:3812: warning: passing arg 2 of `SWFTextField_setFont' from incompatible pointer type cd ..; make static make -C src static gcc -O2 -Wall -I. -c -o blocklist.o blocklist.c gcc -O2 -Wall -I. -c -o displaylist.o displaylist.c gcc -O2 -Wall -I. -c -o fill.o fill.c gcc -O2 -Wall -I. -c -o font_util.o font_util.c gcc -O2 -Wall -I. -c -o ming.o ming.c gcc -O2 -Wall -I. -c -o movie.o movie.c movie.c: In function `SWFMovie_toOutput': movie.c:522: warning: `tempbuffer' might be used uninitialized in this function gcc -O2 -Wall -I. -c -o movieclip.o movieclip.c gcc -O2 -Wall -I. -c -o position.o position.c gcc -O2 -Wall -I. -c -o shape_cubic.o shape_cubic.c gcc -O2 -Wall -I. -c -o shape_util.o shape_util.c gcc -O2 -Wall -I. -c -o text_util.o text_util.c cd blocks && make gcc -O2 -Wall -I. -I.. -fno-common -c -o action.o action.c gcc -O2 -Wall -I. -I.. -fno-common -c -o bitmap.o bitmap.c gcc -O2 -Wall -I. -I.. -fno-common -c -o block.o block.c gcc -O2 -Wall -I. -I.. -fno-common -c -o browserfont.o browserfont.c gcc -O2 -Wall -I. -I.. -fno-common -c -o button.o button.c gcc -O2 -Wall -I. -I.. -fno-common -c -o character.o character.c gcc -O2 -Wall -I. -I.. -fno-common -c -o cxform.o cxform.c gcc -O2 -Wall -I. -I.. -fno-common -c -o dbl.o dbl.c gcc -O2 -Wall -I. -I.. -fno-common -c -o error.o error.c gcc -O2 -Wall -I. -I.. -fno-common -c -o fillstyle.o fillstyle.c gcc -O2 -Wall -I. -I.. -fno-common -c -o font.o font.c font.c: In function `SWFFont_getShape': font.c:1209: warning: `x' might be used uninitialized in this function font.c:1209: warning: `y' might be used uninitialized in this function gcc -O2 -Wall -I. -I.. -fno-common -c -o fontinfo.o fontinfo.c gcc -O2 -Wall -I. -I.. -fno-common -c -o gradient.o gradient.c gcc -O2 -Wall -I. -I.. -fno-common -c -o imports.o imports.c gcc -O2 -Wall -I. -I.. -fno-common -c -o input.o input.c gcc -O2 -Wall -I. -I.. -fno-common -c -o jpeg.o jpeg.c gcc -O2 -Wall -I. -I.. -fno-common -c -o linestyle.o linestyle.c gcc -O2 -Wall -I. -I.. -fno-common -c -o matrix.o matrix.c gcc -O2 -Wall -I. -I.. -fno-common -c -o method.o method.c gcc -O2 -Wall -I. -I.. -fno-common -c -o morph.o morph.c gcc -O2 -Wall -I. -I.. -fno-common -c -o mp3.o mp3.c mp3.c: In function `nextMP3Frame': mp3.c:82: warning: `bitrate' might be used uninitialized in this function gcc -O2 -Wall -I. -I.. -fno-common -c -o output.o output.c gcc -O2 -Wall -I. -I.. -fno-common -c -o outputblock.o outputblock.c gcc -O2 -Wall -I. -I.. -fno-common -c -o placeobject.o placeobject.c gcc -O2 -Wall -I. -I.. -fno-common -c -o rect.o rect.c gcc -O2 -Wall -I. -I.. -fno-common -c -o shape.o shape.c shape.c: In function `SWFShape_drawScaledGlyph': shape.c:810: warning: `x' might be used uninitialized in this function shape.c:810: warning: `y' might be used uninitialized in this function gcc -O2 -Wall -I. -I.. -fno-common -c -o sound.o sound.c gcc -O2 -Wall -I. -I.. -fno-common -c -o soundinstance.o soundinstance.c gcc -O2 -Wall -I. -I.. -fno-common -c -o soundstream.o soundstream.c soundstream.c: In function `SWFSoundStream_getStreamHead': soundstream.c:206: warning: `rate' might be used uninitialized in this function gcc -O2 -Wall -I. -I.. -fno-common -c -o sprite.o sprite.c gcc -O2 -Wall -I. -I.. -fno-common -c -o text.o text.c gcc -O2 -Wall -I. -I.. -fno-common -c -o textfield.o textfield.c gcc -O2 -Wall -I. -I.. -fno-common -c -o utf8.o utf8.c gcc -O2 -Wall -I. -I.. -fno-common -c -o videostream.o videostream.c gcc -O2 -Wall -I. -I.. -fno-common -c -o gifdbl.o gifdbl.c gifdbl.c:11:21: gif_lib.h: No such file or directory gifdbl.c:31: error: parse error before '*' token gifdbl.c: In function `getTransparentColor': gifdbl.c:34: error: `ExtensionBlock' undeclared (first use in this function) gifdbl.c:34: error: (Each undeclared identifier is reported only once gifdbl.c:34: error: for each function it appears in.) gifdbl.c:34: error: `ext' undeclared (first use in this function) gifdbl.c:34: error: `file' undeclared (first use in this function) gifdbl.c:38: error: `GRAPHICS_EXT_FUNC_CODE' undeclared (first use in this function) gifdbl.c:36: warning: value computed is not used gifdbl.c: At top level: gifdbl.c:49: error: parse error before '*' token gifdbl.c: In function `readGif': gifdbl.c:51: error: `ColorMapObject' undeclared (first use in this function) gifdbl.c:51: error: `colorMap' undeclared (first use in this function) gifdbl.c:58: warning: implicit declaration of function `DGifSlurp' gifdbl.c:58: error: `file' undeclared (first use in this function) gifdbl.c:58: error: `GIF_OK' undeclared (first use in this function) gifdbl.c:87: error: `result' undeclared (first use in this function) gifdbl.c:115: error: `GifColorType' undeclared (first use in this function) gifdbl.c:115: error: parse error before "c" gifdbl.c:118: error: `c' undeclared (first use in this function) gifdbl.c:189: warning: implicit declaration of function `DGifCloseFile' gifdbl.c: In function `newSWFDBLBitmapData_fromGifFile': gifdbl.c:210: error: `GifFileType' undeclared (first use in this function) gifdbl.c:210: error: `file' undeclared (first use in this function) gifdbl.c:214: warning: implicit declaration of function `DGifOpenFileName' gifdbl.c: At top level: gifdbl.c:223: error: parse error before '*' token gifdbl.c: In function `gifReadFunc': gifdbl.c:224: error: `gif' undeclared (first use in this function) gifdbl.c:225: error: `buf' undeclared (first use in this function) gifdbl.c:225: error: `len' undeclared (first use in this function) gifdbl.c: In function `newSWFDBLBitmapData_fromGifInput': gifdbl.c:229: error: `GifFileType' undeclared (first use in this function) gifdbl.c:229: error: `file' undeclared (first use in this function) gifdbl.c:233: warning: implicit declaration of function `DGifOpen' gifdbl.c:233: error: `InputFunc' undeclared (first use in this function) gifdbl.c:233: error: parse error before "gifReadFunc" /usr/include/stdio.h: At top level: gifdbl.c:224: warning: `gifReadFunc' defined but not used make[3]: *** [gifdbl.o] Error 1 make[2]: *** [static] Error 2 make[1]: *** [static] Error 2 --------------------------------------------------- output from make install: cd ..; make static make -C src static cd blocks && make gcc -O2 -Wall -I. -I.. -fno-common -c -o gifdbl.o gifdbl.c gifdbl.c:11:21: gif_lib.h: No such file or directory gifdbl.c:31: error: parse error before '*' token gifdbl.c: In function `getTransparentColor': gifdbl.c:34: error: `ExtensionBlock' undeclared (first use in this function) gifdbl.c:34: error: (Each undeclared identifier is reported only once gifdbl.c:34: error: for each function it appears in.) gifdbl.c:34: error: `ext' undeclared (first use in this function) gifdbl.c:34: error: `file' undeclared (first use in this function) gifdbl.c:38: error: `GRAPHICS_EXT_FUNC_CODE' undeclared (first use in this function) gifdbl.c:36: warning: value computed is not used gifdbl.c: At top level: gifdbl.c:49: error: parse error before '*' token gifdbl.c: In function `readGif': gifdbl.c:51: error: `ColorMapObject' undeclared (first use in this function) gifdbl.c:51: error: `colorMap' undeclared (first use in this function) gifdbl.c:58: warning: implicit declaration of function `DGifSlurp' gifdbl.c:58: error: `file' undeclared (first use in this function) gifdbl.c:58: error: `GIF_OK' undeclared (first use in this function) gifdbl.c:87: error: `result' undeclared (first use in this function) gifdbl.c:115: error: `GifColorType' undeclared (first use in this function) gifdbl.c:115: error: parse error before "c" gifdbl.c:118: error: `c' undeclared (first use in this function) gifdbl.c:189: warning: implicit declaration of function `DGifCloseFile' gifdbl.c: In function `newSWFDBLBitmapData_fromGifFile': gifdbl.c:210: error: `GifFileType' undeclared (first use in this function) gifdbl.c:210: error: `file' undeclared (first use in this function) gifdbl.c:214: warning: implicit declaration of function `DGifOpenFileName' gifdbl.c: At top level: gifdbl.c:223: error: parse error before '*' token gifdbl.c: In function `gifReadFunc': gifdbl.c:224: error: `gif' undeclared (first use in this function) gifdbl.c:225: error: `buf' undeclared (first use in this function) gifdbl.c:225: error: `len' undeclared (first use in this function) gifdbl.c: In function `newSWFDBLBitmapData_fromGifInput': gifdbl.c:229: error: `GifFileType' undeclared (first use in this function) gifdbl.c:229: error: `file' undeclared (first use in this function) gifdbl.c:233: warning: implicit declaration of function `DGifOpen' gifdbl.c:233: error: `InputFunc' undeclared (first use in this function) gifdbl.c:233: error: parse error before "gifReadFunc" /usr/include/stdio.h: At top level: gifdbl.c:224: warning: `gifReadFunc' defined but not used make[3]: *** [gifdbl.o] Error 1 make[2]: *** [static] Error 2 make[1]: *** [static] Error 2 make: *** [../libming.a] Error 2 |