kolyvan / kxtorrent

torrent (bittorrent) client for iPhone
225 stars 73 forks source link

build ffmpeg error #1

Open mywander opened 11 years ago

mywander commented 11 years ago

config.h is unchanged libavutil/avconfig.h is unchanged

WARNING: pkg-config not found, library detection may fail. Executing cd ffmpeg; make CC libavdevice/alldevices.o In file included from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/common.h:29:19: warning: ctype.h: No such file or directory ./libavutil/common.h:30:19: warning: errno.h: No such file or directory ./libavutil/common.h:31:22: warning: inttypes.h: No such file or directory In file included from ./libavutil/common.h:32, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h

...................

./libavformat/avformat.h:1611: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1611: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1611: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1802: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1802: error: expected declaration specifiers or ‘...’ before ‘int64t’ ./libavformat/avformat.h:1828: error: expected ‘)’ before ‘’ token ./libavformat/avformat.h:1842: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavformat/avformat.h:1842: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavformat/avformat.h:1852: error: expected ‘)’ before ‘_’ token ./libavformat/avformat.h:1897: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1905: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1905: error: expected declaration specifiers or ‘...’ before ‘int64t’ make: ** [libavdevice/alldevices.o] Error 1 rake aborted! \ Build failed **

itkingdom commented 11 years ago

Hi Kolyvan, is there any option to update all latest submodules?

kolyvan commented 11 years ago

Hm, what do you mean ?

itkingdom commented 11 years ago

I mean build ffmpeg has issue

ITK-MacBook-Pro:kxmovie itkingdom$ rake build_ffmpeg Executing cd ffmpeg; ./configure --disable-asm --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --disable-doc --disable-bzlib --target-os=darwin --enable-cross-compile --assert-level=2 --disable-mmx --arch=i386 --cpu=i386 --extra-ldflags='-arch i386' --extra-cflags='-arch i386' --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc --as='gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk --extra-ldflags=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/usr/lib/system install prefix /usr/local source path . C compiler /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc ARCH c (i386) big-endian no runtime cpu detection yes debug symbols yes strip symbols yes optimize for size no optimizations yes static yes shared no postprocessing support no new filter support yes network support no threading support pthreads safe bitstream reader yes SDL support no libdxva2 enabled no libva enabled no libvdpau enabled no AVISynth enabled no frei0r enabled no gnutls enabled no libaacplus enabled no libass enabled no libcaca enabled no libcdio support no libcelt enabled no libdc1394 support no libfaac enabled no libfdk-aac enabled no libgsm enabled no libiec61883 support no libilbc enabled no libmodplug enabled no libmp3lame enabled no libnut enabled no libopencore-amrnb support no libopencore-amrwb support no libopencv support no libopenjpeg enabled no libopus enabled no libpulse enabled no librtmp enabled no libschroedinger enabled no libspeex enabled no libstagefright-h264 enabled no libtheora enabled no libtwolame enabled no libutvideo enabled no libv4l2 enabled no libvo-aacenc support no libvo-amrwbenc support no libvorbis enabled no libvpx enabled no libx264 enabled no libxavs enabled no libxvid enabled no openal enabled no openssl enabled no zlib enabled no bzlib enabled no texi2html enabled yes perl enabled yes pod2man enabled yes makeinfo enabled yes

Enabled decoders: aac cdxl kgv1 aac_latm cinepak kmvc aasc cljr lagarith ac3 cllc loco adpcm_4xm cook mace3 adpcm_adx cpia mace6 adpcm_ct cscd mdec adpcm_ea cyuv microdvd adpcm_ea_maxis_xa dca mimic adpcm_ea_r1 dfa mjpeg adpcm_ea_r2 dirac mjpegb adpcm_ea_r3 dnxhd mlp adpcm_ea_xas dpx mmvideo adpcm_g722 dsicinaudio motionpixels adpcm_g726 dsicinvideo movtext adpcm_ima_amv dvbsub mp1 adpcm_ima_apc dvdsub mp1float adpcm_ima_dk3 dvvideo mp2 adpcm_ima_dk4 dxtory mp2float adpcm_ima_ea_eacs eac3 mp3 adpcm_ima_ea_sead eacmv mp3adu adpcm_ima_iss eamad mp3adufloat adpcm_ima_qt eatgq mp3float adpcm_ima_smjpeg eatgv mp3on4 adpcm_ima_wav eatqi mp3on4float adpcm_ima_ws eightbps mpc7 adpcm_ms eightsvx_exp mpc8 adpcm_sbpro_2 eightsvx_fib mpeg1video adpcm_sbpro_3 escape124 mpeg2video adpcm_sbpro_4 escape130 mpeg4 adpcm_swf ffv1 mpegvideo adpcm_thp ffvhuff msa1 adpcm_xa ffwavesynth msmpeg4v1 adpcm_yamaha flac msmpeg4v2 alac flic msmpeg4v3 als flv msrle amrnb fourxm mss1 amrwb fraps mss2 amv frwu msvideo1 anm g723_1 mszh ansi g729 mts2 ape gif mxpeg ass gsm nellymoser asv1 gsm_ms nuv asv2 h261 paf_audio atrac1 h263 paf_video atrac3 h263i pam aura h263p pbm aura2 h264 pcm_alaw avrn huffyuv pcm_bluray avrp iac pcm_dvd avs idcin pcm_f32be avui idf pcm_f32le ayuv iff_byterun1 pcm_f64be bethsoftvid iff_ilbm pcm_f64le bfi imc pcm_lxf bink indeo2 pcm_mulaw binkaudio_dct indeo3 pcm_s16be binkaudio_rdft indeo4 pcm_s16le bintext indeo5 pcm_s16le_planar bmp interplay_dpcm pcm_s24be bmv_audio interplay_video pcm_s24daud bmv_video jacosub pcm_s24le c93 jpeg2000 pcm_s32be cavs jpegls pcm_s32le cdgraphics jv pcm_s8 pcm_s8_planar sgi vble pcm_u16be shorten vc1 pcm_u16le sipr vc1image pcm_u24be smackaud vcr1 pcm_u24le smacker vima pcm_u32be smc vmdaudio pcm_u32le snow vmdvideo pcm_u8 sol_dpcm vmnc pcm_zork sonic vorbis pcx sp5x vp3 pgm srt vp5 pgmyuv subrip vp6 pgssub subviewer vp6a pictor sunrast vp6f ppm svq1 vp8 prores svq3 vqa prores_lgpl tak wavpack ptx targa webvtt qcelp targa_y216 wmalossless qdm2 text wmapro qdraw theora wmav1 qpeg thp wmav2 qtrle tiertexseqvideo wmavoice r10k tiff wmv1 r210 tmv wmv2 ra_144 truehd wmv3 ra_288 truemotion1 wmv3image ralf truemotion2 wnv1 rawvideo truespeech ws_snd1 realtext tscc2 xan_dpcm rl2 tta xan_wc3 roq twinvq xan_wc4 roq_dpcm txd xbin rpza ulti xbm rv10 utvideo xface rv20 v210 xl rv30 v210x xsub rv40 v308 xwd s302m v408 y41p sami v410 yop sanm vb yuv4

Enabled encoders: a64multi jpeg2000 prores a64multi5 jpegls prores_anatoliy aac ljpeg prores_kostya ac3 mjpeg qtrle ac3_fixed movtext r10k adpcm_adx mp2 r210 adpcm_g722 mpeg1video ra_144 adpcm_g726 mpeg2video rawvideo adpcm_ima_qt mpeg4 roq adpcm_ima_wav msmpeg4v2 roq_dpcm adpcm_ms msmpeg4v3 rv10 adpcm_swf msvideo1 rv20 adpcm_yamaha nellymoser sgi alac pam snow amv pbm sonic ass pcm_alaw sonic_ls asv1 pcm_f32be srt asv2 pcm_f32le subrip avrp pcm_f64be sunrast avui pcm_f64le svq1 ayuv pcm_mulaw targa bmp pcm_s16be tiff cljr pcm_s16le utvideo dca pcm_s24be v210 dnxhd pcm_s24daud v308 dpx pcm_s24le v408 dvbsub pcm_s32be v410 dvdsub pcm_s32le vorbis dvvideo pcm_s8 wmav1 eac3 pcm_u16be wmav2 ffv1 pcm_u16le wmv1 ffvhuff pcm_u24be wmv2 flac pcm_u24le xbm flv pcm_u32be xface g723_1 pcm_u32le xsub gif pcm_u8 xwd h261 pcx y41p h263 pgm yuv4 h263p pgmyuv huffyuv ppm

Enabled hwaccels:

Enabled parsers: aac dvdsub png aac_latm flac pnm ac3 gsm rv30 adx h261 rv40 bmp h263 tak cavsvideo h264 vc1 cook mjpeg vorbis dca mlp vp3 dirac mpeg4video vp8 dnxhd mpegaudio dvbsub mpegvideo

Enabled demuxers: aac ilbc pcm_u24le ac3 image2 pcm_u32be act image2pipe pcm_u32le adf ingenient pcm_u8 adx ipmovie pmp aea iss pva aiff iv8 qcp amr ivf r3d anm jacosub rawvideo apc jv realtext ape latm rl2 asf lmlm4 rm ass loas roq au lvf rpl avi lxf rso avs m4v sami bethsoftvid matroska sbg bfi mgsts segafilm bink microdvd shorten bintext mjpeg siff bit mlp smacker bmv mm smjpeg c93 mmf smush caf mov sol cavsvideo mp3 sox cdg mpc spdif cdxl mpc8 srt daud mpegps str dfa mpegts subviewer dirac mpegtsraw swf dnxhd mpegvideo tak dsicin msnwc_tcp thp dts mtv tiertexseq dtshd mvi tmv dv mxf truehd dxa mxg tta ea nc tty ea_cdata nsv txd eac3 nut vc1 ffm nuv vc1t ffmetadata ogg vmd filmstrip oma voc flac paf vqf flic pcm_alaw w64 flv pcm_f32be wav fourxm pcm_f32le wc3 g722 pcm_f64be webvtt g723_1 pcm_f64le wsaud g729 pcm_mulaw wsvqa gsm pcm_s16be wtv gxf pcm_s16le wv h261 pcm_s24be xa h263 pcm_s24le xbin h264 pcm_s32be xmv hls pcm_s32le xwma ico pcm_s8 yop idcin pcm_u16be yuv4mpegpipe idf pcm_u16le iff pcm_u24be

Enabled muxers: a64 image2pipe pcm_s16be ac3 ipod pcm_s16le adts ismv pcm_s24be adx ivf pcm_s24le aiff jacosub pcm_s32be amr latm pcm_s32le asf m4v pcm_s8 asf_stream matroska pcm_u16be ass matroska_audio pcm_u16le au md5 pcm_u24be avi microdvd pcm_u24le avm2 mjpeg pcm_u32be bit mkvtimestamp_v2 pcm_u32le caf mlp pcm_u8 cavsvideo mmf psp crc mov rawvideo daud mp2 rm dirac mp3 roq dnxhd mp4 rso dts mpeg1system rtp dv mpeg1vcd segment eac3 mpeg1video smjpeg f4v mpeg2dvd smoothstreaming ffm mpeg2svcd sox ffmetadata mpeg2video spdif filmstrip mpeg2vob srt flac mpegts stream_segment flv mpjpeg swf framecrc mxf tg2 framemd5 mxf_d10 tgp g722 null truehd g723_1 nut vc1t gif ogg voc gxf oma wav h261 pcm_alaw webm h263 pcm_f32be wtv h264 pcm_f32le wv ico pcm_f64be yuv4mpegpipe ilbc pcm_f64le image2 pcm_mulaw

Enabled protocols: applehttp crypto md5 cache file pipe concat hls

Enabled filters: aconvert copy pan aevalsrc crop pixdesctest afifo deshake removelogo aformat drawbox rgbtestsrc alphaextract earwax scale alphamerge edgedetect select amerge fade sendcmd amix fieldorder setdar amovie fifo setfield anull format setpts anullsink fps setsar anullsrc framestep settb aresample gradfun showinfo asendcmd hflip showspectrum asetnsamples hue showwaves asetpts idet silencedetect asettb join slicify ashowinfo life smptebars asink lut split asink lutrgb swapuv asplit lutyuv testsrc astreamsync mandelbrot thumbnail atempo movie tile bbox negate transpose blackdetect noformat unsharp cellauto null vflip channelmap nullsink volume channelsplit nullsrc volumedetect color overlay vsink concat pad vsink

Enabled bsfs: aac_adtstoasc mjpeg2jpeg noise chomp mjpega_dump_header remove_extradata dump_extradata mov2textsub text2movsub h264_mp4toannexb mp3_header_compress imx_dump_header mp3_header_decompress

Enabled indevs: lavfi

Enabled outdevs:

License: LGPL version 2.1 or later Creating config.mak and config.h...

WARNING: pkg-config not found, library detection may fail. Executing cd ffmpeg; make CC libavdevice/alldevices.o In file included from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/common.h:29:19: warning: ctype.h: No such file or directory ./libavutil/common.h:30:19: warning: errno.h: No such file or directory ./libavutil/common.h:31:22: warning: inttypes.h: No such file or directory In file included from ./libavutil/common.h:32, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h In file included from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/common.h:33:18: warning: math.h: No such file or directory ./libavutil/common.h:34:19: warning: stdio.h: No such file or directory ./libavutil/common.h:35:20: warning: stdlib.h: No such file or directory ./libavutil/common.h:36:20: warning: string.h: No such file or directory In file included from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/common.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_reverse’ In file included from ./libavutil/common.h:77, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/intmath.h:24:20: warning: stdint.h: No such file or directory In file included from ./libavutil/common.h:77, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/intmath.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘ff_log2_tab’ ./libavutil/intmath.h: In function ‘ff_log2_c’: ./libavutil/intmath.h:68: error: ‘ff_log2_tab’ undeclared (first use in this function) ./libavutil/intmath.h:68: error: (Each undeclared identifier is reported only once ./libavutil/intmath.h:68: error: for each function it appears in.) ./libavutil/intmath.h: In function ‘ff_log2_16bit_c’: ./libavutil/intmath.h:83: error: ‘ff_log2_tab’ undeclared (first use in this function) In file included from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/common.h: At top level: ./libavutil/common.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_clip_uint8_c’ ./libavutil/common.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_clip_int8_c’ ./libavutil/common.h:132: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_clip_uint16_c’ ./libavutil/common.h:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_clip_int16_c’ ./libavutil/common.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_clipl_int32_c’ ./libavutil/common.h: In function ‘av_sat_add32_c’: ./libavutil/common.h:181: warning: implicit declaration of function ‘av_clipl_int32_c’ ./libavutil/common.h:181: error: ‘int64_t’ undeclared (first use in this function) ./libavutil/common.h:181: error: expected ‘)’ before ‘a’ ./libavutil/common.h: At top level: ./libavutil/common.h:224: error: expected ‘)’ before ‘x’ ./libavutil/common.h:238: error: expected ‘)’ before ‘x’ In file included from ./libavutil/mem.h:29, from ./libavutil/common.h:359, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h In file included from ./libavutil/mem.h:32, from ./libavutil/common.h:359, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/error.h:38:5: warning: "EDOM" is not defined In file included from ./libavutil/common.h:359, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/mem.h: In function ‘av_size_mult’: ./libavutil/mem.h:209: error: ‘EINVAL’ undeclared (first use in this function) In file included from ./libavutil/internal.h:33, from ./libavutil/common.h:362, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h In file included from ./libavutil/common.h:362, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/internal.h:36:20: warning: assert.h: No such file or directory In file included from ./libavutil/libm.h:30, from ./libavutil/internal.h:113, from ./libavutil/common.h:362, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/intfloat.h: At top level: ./libavutil/intfloat.h:28: error: expected specifier-qualifier-list before ‘uint32_t’ ./libavutil/intfloat.h:33: error: expected specifier-qualifier-list before ‘uint64_t’ ./libavutil/intfloat.h:40: error: expected ‘)’ before ‘i’ ./libavutil/intfloat.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_float2int’ ./libavutil/intfloat.h:60: error: expected ‘)’ before ‘i’ ./libavutil/intfloat.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_double2int’ In file included from ./libavutil/internal.h:113, from ./libavutil/common.h:362, from ./libavutil/avutil.h:237, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/libm.h: In function ‘cbrtf’: ./libavutil/libm.h:54: warning: implicit declaration of function ‘pow’ ./libavutil/libm.h:54: warning: incompatible implicit declaration of built-in function ‘pow’ ./libavutil/libm.h: At top level: ./libavutil/libm.h:80: warning: conflicting types for built-in function ‘isinf’ ./libavutil/libm.h: In function ‘isinf’: ./libavutil/libm.h:81: error: ‘uint32_t’ undeclared (first use in this function) ./libavutil/libm.h:81: error: expected ‘;’ before ‘v’ ./libavutil/libm.h:82: error: ‘v’ undeclared (first use in this function) ./libavutil/libm.h: At top level: ./libavutil/libm.h:90: warning: conflicting types for built-in function ‘isnan’ ./libavutil/libm.h: In function ‘isnan’: ./libavutil/libm.h:91: error: ‘uint32_t’ undeclared (first use in this function) ./libavutil/libm.h:91: error: expected ‘;’ before ‘v’ ./libavutil/libm.h:92: error: ‘v’ undeclared (first use in this function) ./libavutil/libm.h: In function ‘rint’: ./libavutil/libm.h:136: warning: implicit declaration of function ‘floor’ ./libavutil/libm.h:136: warning: incompatible implicit declaration of built-in function ‘floor’ ./libavutil/libm.h:136: warning: implicit declaration of function ‘ceil’ ./libavutil/libm.h:136: warning: incompatible implicit declaration of built-in function ‘ceil’ ./libavutil/libm.h: In function ‘round’: ./libavutil/libm.h:157: warning: incompatible implicit declaration of built-in function ‘floor’ ./libavutil/libm.h:157: warning: incompatible implicit declaration of built-in function ‘ceil’ ./libavutil/libm.h: In function ‘roundf’: ./libavutil/libm.h:164: warning: incompatible implicit declaration of built-in function ‘floor’ ./libavutil/libm.h:164: warning: incompatible implicit declaration of built-in function ‘ceil’ ./libavutil/libm.h: In function ‘trunc’: ./libavutil/libm.h:171: warning: incompatible implicit declaration of built-in function ‘floor’ ./libavutil/libm.h:171: warning: incompatible implicit declaration of built-in function ‘ceil’ ./libavutil/libm.h: In function ‘truncf’: ./libavutil/libm.h:178: warning: incompatible implicit declaration of built-in function ‘floor’ ./libavutil/libm.h:178: warning: incompatible implicit declaration of built-in function ‘ceil’ In file included from ./libavutil/rational.h:32, from ./libavutil/mathematics.h:27, from ./libavutil/avutil.h:240, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: no include path in which to search for limits.h In file included from ./libavutil/mathematics.h:27, from ./libavutil/avutil.h:240, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/rational.h: In function ‘av_cmp_q’: ./libavutil/rational.h:56: error: nested functions are disabled, use -fnested-functions to re-enable ./libavutil/rational.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘tmp’ ./libavutil/rational.h:56: error: ‘tmp’ undeclared (first use in this function) ./libavutil/rational.h:56: error: ‘int64_t’ undeclared (first use in this function) ./libavutil/rational.h:56: error: expected ‘;’ before ‘b’ ./libavutil/rational.h: At top level: ./libavutil/rational.h:83: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavutil/rational.h:83: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavutil/rational.h:83: error: expected declaration specifiers or ‘...’ before ‘int64_t’ In file included from ./libavutil/avutil.h:240, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/mathematics.h:80: warning: data definition has no type or storage class ./libavutil/mathematics.h:80: warning: type defaults to ‘int’ in declaration of ‘int64_t’ ./libavutil/mathematics.h:80: warning: ‘const’ attribute ignored ./libavutil/mathematics.h:80: error: expected ‘,’ or ‘;’ before ‘av_gcd’ ./libavutil/mathematics.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_rescale’ ./libavutil/mathematics.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_rescale_rnd’ ./libavutil/mathematics.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_rescale_q’ ./libavutil/mathematics.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_rescale_q_rnd’ ./libavutil/mathematics.h:111: error: expected ‘)’ before ‘ts_a’ ./libavutil/mathematics.h:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_compare_mod’ In file included from ./libavutil/avutil.h:242, from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/intfloat_readwrite.h:29: error: expected specifier-qualifier-list before ‘uint8_t’ ./libavutil/intfloat_readwrite.h:33: error: expected ‘)’ before ‘v’ ./libavutil/intfloat_readwrite.h:34: error: expected ‘)’ before ‘v’ ./libavutil/intfloat_readwrite.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_dbl2int’ ./libavutil/intfloat_readwrite.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_flt2int’ In file included from libavdevice/version.h:28, from libavdevice/avdevice.h:22, from libavdevice/alldevices.c:22: ./libavutil/avutil.h: In function ‘av_x_if_null’: ./libavutil/avutil.h:251: error: ‘intptrt’ undeclared (first use in this function) In file included from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavformat/avformat.h:195:18: warning: time.h: No such file or directory In file included from ./libavcodec/avcodec.h:30, from ./libavformat/avformat.h:197, from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavutil/samplefmt.h: At top level: ./libavutil/samplefmt.h:188: error: expected ‘)’ before ‘’ token ./libavutil/samplefmt.h:210: error: expected ‘)’ before ‘’ token ./libavutil/samplefmt.h:224: error: expected ‘)’ before ‘’ token ./libavutil/samplefmt.h:237: error: expected ‘)’ before ‘_’ token In file included from ./libavcodec/avcodec.h:37, from ./libavformat/avformat.h:197, from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavutil/audioconvert.h:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_get_channel_layout’ ./libavutil/audioconvert.h:142: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ ./libavutil/audioconvert.h:148: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ ./libavutil/audioconvert.h:153: error: expected ‘)’ before ‘channel_layout’ ./libavutil/audioconvert.h:158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_get_default_channel_layout’ ./libavutil/audioconvert.h:169: error: expected ‘)’ before ‘channel_layout’ ./libavutil/audioconvert.h:175: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_channel_layout_extract_channel’ ./libavutil/audioconvert.h:182: error: expected ‘)’ before ‘channel’ ./libavutil/audioconvert.h:190: error: expected ‘)’ before ‘channel’ ./libavutil/audioconvert.h:201: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ In file included from ./libavformat/avformat.h:197, from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavcodec/avcodec.h:859: error: expected specifier-qualifier-list before ‘int16_t’ ./libavcodec/avcodec.h:974: error: expected specifier-qualifier-list before ‘int64_t’ ./libavcodec/avcodec.h:1058: error: expected specifier-qualifier-list before ‘uint8_t’ ./libavcodec/avcodec.h:1446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_frame_get_best_effort_timestamp’ ./libavcodec/avcodec.h:1447: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavcodec/avcodec.h:1448: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_frame_get_pkt_duration’ ./libavcodec/avcodec.h:1449: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavcodec/avcodec.h:1450: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_frame_get_pkt_pos’ ./libavcodec/avcodec.h:1451: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavcodec/avcodec.h:1452: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_frame_get_channel_layout’ ./libavcodec/avcodec.h:1453: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavcodec/avcodec.h:1598: error: expected specifier-qualifier-list before ‘uint8t’ ./libavcodec/avcodec.h:3173: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘attribute’ before ‘’ token ./libavcodec/avcodec.h:3295: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:3295: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavcodec/avcodec.h:3308: error: expected ‘;’ before ‘int’ ./libavcodec/avcodec.h:3343: error: expected specifier-qualifier-list before ‘uint8_t’ ./libavcodec/avcodec.h:3400: error: expected specifier-qualifier-list before ‘uint16t’ ./libavcodec/avcodec.h:3747: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token ./libavcodec/avcodec.h:3769: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘_’ token ./libavcodec/avcodec.h:3893: error: expected declaration specifiers or ‘...’ before ‘int16_t’ ./libavcodec/avcodec.h:4007: error: expected specifier-qualifier-list before ‘int64_t’ ./libavcodec/avcodec.h:4146: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:4146: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavcodec/avcodec.h:4148: error: expected ‘;’ before ‘void’ ./libavcodec/avcodec.h:4188: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4189: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:4189: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavcodec/avcodec.h:4195: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4196: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:4196: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavcodec/avcodec.h:4251: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4313: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4354: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4492: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4622: error: expected ‘)’ before ‘pix_fmt_mask’ ./libavcodec/avcodec.h:4740: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:4740: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavcodec/avcodec.h:4800: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4801: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:4801: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavcodec/avcodec.h:4802: error: expected ‘;’ before ‘void’ ./libavcodec/avcodec.h:4810: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavcodec/avcodec.h:4811: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavcodec/avcodec.h:4811: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token In file included from ./libavformat/avformat.h:201, from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavformat/avio.h:91: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavformat/avio.h:92: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavformat/avio.h:93: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avio.h:184: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavformat/avio.h:185: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavformat/avio.h:186: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avio.h:190: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ ./libavformat/avio.h:191: error: expected declaration specifiers or ‘...’ before ‘uint64_t’ ./libavformat/avio.h:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_seek’ ./libavformat/avio.h:236: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_skip’ ./libavformat/avio.h:242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_tell’ ./libavformat/avio.h:251: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_size’ ./libavformat/avio.h:287: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_rl64’ ./libavformat/avio.h:291: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_rb64’ ./libavformat/avio.h:433: error: expected declaration specifiers or ‘...’ before ‘uint8_t’ ./libavformat/avio.h:472: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘avio_seek_time’ In file included from ./libavformat/avformat.h:205, from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavutil/time.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘av_gettime’ In file included from libavdevice/avdevice.h:46, from libavdevice/alldevices.c:22: ./libavformat/avformat.h:321: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:443: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:443: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:544: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:550: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:589: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:690: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:873: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:883: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:963: error: expected specifier-qualifier-list before ‘int64_t’ ./libavformat/avformat.h:1582: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1611: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1611: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1611: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1802: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1802: error: expected declaration specifiers or ‘...’ before ‘int64t’ ./libavformat/avformat.h:1828: error: expected ‘)’ before ‘’ token ./libavformat/avformat.h:1842: warning: type defaults to ‘int’ in declaration of ‘uint8t’ ./libavformat/avformat.h:1842: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token ./libavformat/avformat.h:1852: error: expected ‘)’ before ‘_’ token ./libavformat/avformat.h:1897: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1905: error: expected declaration specifiers or ‘...’ before ‘int64_t’ ./libavformat/avformat.h:1905: error: expected declaration specifiers or ‘...’ before ‘int64t’ make: ** [libavdevice/alldevices.o] Error 1 rake aborted!

Is this OK to update kxmovie module manually? I think kxtorrent uses old version of kxmovie then issue is happened, but when I tried to build kxmovie from http://github.com/kolyvan/kxmovie and it's OK.

Infywebrtcdev1 commented 9 years ago

/home/ashish/ashish/jitsi_project/app/src/main/jni/org_jitsi_impl_neomedia_codec_FFmpeg.c fatal error:libavutil/avutil.h : No such file or directory

include <libavutil/avutil.h>

i m using ./gradlew assembleDebug

how to resolve it? plz help