Hi, gabriel.
how do you do?
Can not be compiled libswsca.a.
I'm not sure but before I upgrade Xcode 3.2.5, I could.
$./build-armv7
Pulling r22403...
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 --as="$SCRIPT_DIR/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk --prefix="dist" --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s --extra-cflags='-arch armv6' --extra-ldflags='-arch armv6' $CONFIGURE_OPTIONS
... snip ...
Checked out revision 22403.
Configure options: --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libx264 --extra-ldflags=-L/Users/fxf/Desktop/gabriel-ffmpeg-iphone-build-b961668/x264-armv6/dist/lib --extra-cflags=-I/Users/fxf/Desktop/gabriel-ffmpeg-iphone-build-b961668/x264-armv6/dist/include
.........................
libswscale/swscale_template.c: In function ‘swScale_C’:
libswscale/swscale_template.c:2603: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale_template.c:2603: error: (Each undeclared identifier is reported only once
libswscale/swscale_template.c:2603: error: for each function it appears in.)
libswscale/swscale_template.c: In function ‘sws_init_swScale_C’:
libswscale/swscale_template.c:3004: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘palToRgbWrapper’:
libswscale/swscale.c:1478: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘planarCopyWrapper’:
libswscale/swscale.c:1709: warning: implicit declaration of function ‘av_bswap16’
libswscale/swscale.c: In function ‘ff_get_unscaled_swscale’:
libswscale/swscale.c:1794: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘reset_ptr’:
libswscale/swscale.c:1867: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘sws_scale’:
libswscale/swscale.c:1907: warning: passing argument 1 of ‘check_image_pointers’ from incompatible pointer type
libswscale/swscale.c:1911: warning: passing argument 1 of ‘check_image_pointers’ discards qualifiers from pointer target type
libswscale/swscale.c:1924: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
make: *** [libswscale/swscale.o] Error 1
... snip ...
sory my poor English.
Thanks.
Hi, gabriel.
how do you do?
Can not be compiled libswsca.a.
I'm not sure but before I upgrade Xcode 3.2.5, I could.
$./build-armv7
Pulling r22403...
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 --as="$SCRIPT_DIR/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk --prefix="dist" --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s --extra-cflags='-arch armv6' --extra-ldflags='-arch armv6' $CONFIGURE_OPTIONS
... snip ...
Checked out revision 22403.
Configure options: --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libx264 --extra-ldflags=-L/Users/fxf/Desktop/gabriel-ffmpeg-iphone-build-b961668/x264-armv6/dist/lib --extra-cflags=-I/Users/fxf/Desktop/gabriel-ffmpeg-iphone-build-b961668/x264-armv6/dist/include
.........................
libswscale/swscale_template.c: In function ‘swScale_C’:
libswscale/swscale_template.c:2603: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale_template.c:2603: error: (Each undeclared identifier is reported only once
libswscale/swscale_template.c:2603: error: for each function it appears in.)
libswscale/swscale_template.c: In function ‘sws_init_swScale_C’:
libswscale/swscale_template.c:3004: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘palToRgbWrapper’:
libswscale/swscale.c:1478: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘planarCopyWrapper’:
libswscale/swscale.c:1709: warning: implicit declaration of function ‘av_bswap16’
libswscale/swscale.c: In function ‘ff_get_unscaled_swscale’:
libswscale/swscale.c:1794: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘reset_ptr’:
libswscale/swscale.c:1867: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
libswscale/swscale.c: In function ‘sws_scale’:
libswscale/swscale.c:1907: warning: passing argument 1 of ‘check_image_pointers’ from incompatible pointer type
libswscale/swscale.c:1911: warning: passing argument 1 of ‘check_image_pointers’ discards qualifiers from pointer target type
libswscale/swscale.c:1924: error: ‘PIX_FMT_Y400A’ undeclared (first use in this function)
make: *** [libswscale/swscale.o] Error 1
... snip ...
sory my poor English.
Thanks.