Hi I currently have an error when building FFmpeg Here is the log: Any idea about the cause? $ make vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/af_afir.o STRIP libavfilter/x86/af_afir.o skipping strip -x libavfilter/x86/af_afir.o CC libavfilter/x86/af_afir_init.o af_afir_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/af_volume.o STRIP libavfilter/x86/af_volume.o skipping strip -x libavfilter/x86/af_volume.o CC libavfilter/x86/af_volume_init.o af_volume_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/avf_showcqt.o STRIP libavfilter/x86/avf_showcqt.o skipping strip -x libavfilter/x86/avf_showcqt.o CC libavfilter/x86/avf_showcqt_init.o avf_showcqt_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/colorspacedsp.o STRIP libavfilter/x86/colorspacedsp.o skipping strip -x libavfilter/x86/colorspacedsp.o CC libavfilter/x86/colorspacedsp_init.o colorspacedsp_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_blend.o STRIP libavfilter/x86/vf_blend.o skipping strip -x libavfilter/x86/vf_blend.o CC libavfilter/x86/vf_blend_init.o vf_blend_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_bwdif.o STRIP libavfilter/x86/vf_bwdif.o skipping strip -x libavfilter/x86/vf_bwdif.o CC libavfilter/x86/vf_bwdif_init.o vf_bwdif_init.c CC libavfilter/x86/vf_eq.o vf_eq.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_fspp.o STRIP libavfilter/x86/vf_fspp.o skipping strip -x libavfilter/x86/vf_fspp.o CC libavfilter/x86/vf_fspp_init.o vf_fspp_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_gradfun.o STRIP libavfilter/x86/vf_gradfun.o skipping strip -x libavfilter/x86/vf_gradfun.o CC libavfilter/x86/vf_gradfun_init.o vf_gradfun_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_hflip.o STRIP libavfilter/x86/vf_hflip.o skipping strip -x libavfilter/x86/vf_hflip.o CC libavfilter/x86/vf_hflip_init.o vf_hflip_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_hqdn3d.o STRIP libavfilter/x86/vf_hqdn3d.o skipping strip -x libavfilter/x86/vf_hqdn3d.o CC libavfilter/x86/vf_hqdn3d_init.o vf_hqdn3d_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_idet.o STRIP libavfilter/x86/vf_idet.o skipping strip -x libavfilter/x86/vf_idet.o CC libavfilter/x86/vf_idet_init.o vf_idet_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_interlace.o STRIP libavfilter/x86/vf_interlace.o skipping strip -x libavfilter/x86/vf_interlace.o CC libavfilter/x86/vf_interlace_init.o vf_interlace_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_limiter.o STRIP libavfilter/x86/vf_limiter.o skipping strip -x libavfilter/x86/vf_limiter.o CC libavfilter/x86/vf_limiter_init.o vf_limiter_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_maskedmerge.o STRIP libavfilter/x86/vf_maskedmerge.o skipping strip -x libavfilter/x86/vf_maskedmerge.o CC libavfilter/x86/vf_maskedmerge_init.o vf_maskedmerge_init.c CC libavfilter/x86/vf_noise.o vf_noise.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_pp7.o STRIP libavfilter/x86/vf_pp7.o skipping strip -x libavfilter/x86/vf_pp7.o CC libavfilter/x86/vf_pp7_init.o vf_pp7_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_psnr.o STRIP libavfilter/x86/vf_psnr.o skipping strip -x libavfilter/x86/vf_psnr.o CC libavfilter/x86/vf_psnr_init.o vf_psnr_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_pullup.o STRIP libavfilter/x86/vf_pullup.o skipping strip -x libavfilter/x86/vf_pullup.o CC libavfilter/x86/vf_pullup_init.o vf_pullup_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_removegrain.o STRIP libavfilter/x86/vf_removegrain.o skipping strip -x libavfilter/x86/vf_removegrain.o CC libavfilter/x86/vf_removegrain_init.o vf_removegrain_init.c CC libavfilter/x86/vf_spp.o vf_spp.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_ssim.o STRIP libavfilter/x86/vf_ssim.o skipping strip -x libavfilter/x86/vf_ssim.o CC libavfilter/x86/vf_ssim_init.o vf_ssim_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_stereo3d.o STRIP libavfilter/x86/vf_stereo3d.o skipping strip -x libavfilter/x86/vf_stereo3d.o CC libavfilter/x86/vf_stereo3d_init.o vf_stereo3d_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_threshold.o STRIP libavfilter/x86/vf_threshold.o skipping strip -x libavfilter/x86/vf_threshold.o CC libavfilter/x86/vf_threshold_init.o vf_threshold_init.c CC libavfilter/x86/vf_tinterlace_init.o vf_tinterlace_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_w3fdif.o STRIP libavfilter/x86/vf_w3fdif.o skipping strip -x libavfilter/x86/vf_w3fdif.o CC libavfilter/x86/vf_w3fdif_init.o vf_w3fdif_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/vf_yadif.o STRIP libavfilter/x86/vf_yadif.o skipping strip -x libavfilter/x86/vf_yadif.o CC libavfilter/x86/vf_yadif_init.o vf_yadif_init.c vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/yadif-10.o STRIP libavfilter/x86/yadif-10.o skipping strip -x libavfilter/x86/yadif-10.o vsyasm: warning: unrecognized option `-M' X86ASM libavfilter/x86/yadif-16.o STRIP libavfilter/x86/yadif-16.o skipping strip -x libavfilter/x86/yadif-16.o AR libavfilter/libavfilter.a LINK : fatal error LNK1181: cannot open input file 'libavfilter/x86/af_afir.o' make: *** [/c/third_party/ffmpeg/ffmpeg/ffbuild/library.mak:22: libavfilter/libavfilter.a] Error 157
On 12/9/17, George Nistor <georgenistor@live.com> wrote:
Hi I currently have an error when building FFmpeg Here is the log:
Any idea about the cause?
What version of nasm/yasm do you have? Try to update version to latest release of nasm.
still I got error I have nasm 2.14 rc0 yasm 1.30 win64 for VS 2010+ configure has run OK. I use Visual Studio 2017 On 12/9/2017 11:45, Paul B Mahol wrote:
On 12/9/17, George Nistor <georgenistor@live.com> wrote:
Hi I currently have an error when building FFmpeg Here is the log:
Any idea about the cause? What version of nasm/yasm do you have?
Try to update version to latest release of nasm. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
2017-12-09 4:31 GMT+01:00 George Nistor <georgenistor@live.com>:
I currently have an error when building FFmpeg Here is the log:
Any idea about the cause?
$ make vsyasm: warning: unrecognized option `-M'
Please test with a general usage yasm binary instead of the special Visual Studio binary. Carl Eugen
It seems it worked to fix the error. No I have another one: jpegls Here is the log: $ make CC libavcodec/jpeglsenc.o jpeglsenc.c c:\thirdparty\ffmpeg\ffmpeg\libavcodec\get_bits.h(308): warning C4101: 're_cache': unreferenced local variable c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(43): error C2143: syntax error: missing ':' before ',' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(43): error C2059: syntax error: ',' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(45): error C2059: syntax error: '}' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(50): error C2143: syntax error: missing ')' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(50): error C2143: syntax error: missing '{' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(50): error C2059: syntax error: ')' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(55): error C2143: syntax error: missing ')' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(55): error C2143: syntax error: missing '{' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(55): error C2059: syntax error: 'type' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(55): error C2059: syntax error: ')' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(85): error C2143: syntax error: missing ')' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(85): error C2143: syntax error: missing '{' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(85): error C2059: syntax error: 'type' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(85): error C2059: syntax error: ')' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(87): error C2143: syntax error: missing ')' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(87): error C2143: syntax error: missing '{' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(87): error C2059: syntax error: 'type' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(87): error C2059: syntax error: ')' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(97): error C2143: syntax error: missing ')' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(97): error C2143: syntax error: missing '{' before '*' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(98): error C2059: syntax error: 'type' c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(98): error C2059: syntax error: ')' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(47): error C2143: syntax error: missing ')' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(47): error C2143: syntax error: missing '{' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(47): error C2371: 'PutBitContext': redefinition; different basic types c:\thirdparty\ffmpeg\ffmpeg\libavcodec\put_bits.h(40): note: see declaration of 'PutBitContext' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(47): error C2143: syntax error: missing ';' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(47): error C2059: syntax error: 'type' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(48): error C2059: syntax error: ')' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(75): error C2143: syntax error: missing ')' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(75): error C2143: syntax error: missing '{' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(75): error C2371: 'PutBitContext': redefinition; different basic types c:\thirdparty\ffmpeg\ffmpeg\libavcodec\put_bits.h(40): note: see declaration of 'PutBitContext' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(75): error C2143: syntax error: missing ';' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(76): error C2059: syntax error: 'type' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(76): error C2059: syntax error: ')' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(108): error C2143: syntax error: missing ')' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(108): error C2143: syntax error: missing '{' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(108): error C2371: 'PutBitContext': redefinition; different basic types c:\thirdparty\ffmpeg\ffmpeg\libavcodec\put_bits.h(40): note: see declaration of 'PutBitContext' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(108): error C2143: syntax error: missing ';' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(108): error C2059: syntax error: 'type' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(109): error C2059: syntax error: ')' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(130): error C2143: syntax error: missing ')' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(130): error C2143: syntax error: missing '{' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(130): error C2371: 'PutBitContext': redefinition; different basic types c:\thirdparty\ffmpeg\ffmpeg\libavcodec\put_bits.h(40): note: see declaration of 'PutBitContext' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(130): error C2143: syntax error: missing ';' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(131): error C2059: syntax error: 'type' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(132): error C2059: syntax error: ')' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(233): error C2143: syntax error: missing ')' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(233): error C2143: syntax error: missing '{' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(233): error C2371: 'PutBitContext': redefinition; different basic types c:\thirdparty\ffmpeg\ffmpeg\libavcodec\put_bits.h(40): note: see declaration of 'PutBitContext' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(233): error C2143: syntax error: missing ';' before '*' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(233): error C2059: syntax error: ')' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(234): error C2054: expected '(' to follow 'pb' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(267): error C2065: 'JLSState': undeclared identifier C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(267): error C2297: '*': illegal, right operand has type 'int *' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(320): error C2065: 'JLSState': undeclared identifier C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(325): error C2059: syntax error: '=' C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(326): error C2223: left of '->bpp' must point to struct/union C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(327): warning C4013: 'ff_jpegls_reset_coding_parameters' undefined; assuming extern returning int C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(328): warning C4013: 'ff_jpegls_init_state' undefined; assuming extern returning int C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(330): warning C4013: 'ls_store_lse' undefined; assuming extern returning int C:/thirdparty/ffmpeg/ffmpeg/libavcodec/jpeglsenc.c(341): warning C4013: 'ls_encode_line' undefined; assuming extern returning int make: *** [/c/thirdparty/ffmpeg/ffmpeg/ffbuild/common.mak:60: libavcodec/jpeglsenc.o] Error 2 -----Original Message----- From: ffmpeg-user [mailto:ffmpeg-user-bounces@ffmpeg.org] On Behalf Of Carl Eugen Hoyos Sent: Sunday, December 10, 2017 3:00 PM To: FFmpeg user questions <ffmpeg-user@ffmpeg.org> Subject: Re: [FFmpeg-user] make error af_afir.o 2017-12-09 4:31 GMT+01:00 George Nistor <georgenistor@live.com>:
I currently have an error when building FFmpeg Here is the log:
Any idea about the cause?
$ make vsyasm: warning: unrecognized option `-M'
Please test with a general usage yasm binary instead of the special Visual Studio binary. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
2017-12-10 14:37 GMT+01:00 George Nistor <georgenistor@live.com>:
$ make CC libavcodec/jpeglsenc.o jpeglsenc.c c:\thirdparty\ffmpeg\ffmpeg\libavcodec\get_bits.h(308): warning C4101: 're_cache': unreferenced local variable c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(43): error C2143: syntax error: missing ':' before ','
Windows headers do not like the variable name "near", a patch is currently discussed, please wait a few hours. Remember not to top-post here, Carl Eugen
It seems it was fixed. I was able just now to build with a fresh git clone. George -----Original Message----- From: ffmpeg-user [mailto:ffmpeg-user-bounces@ffmpeg.org] On Behalf Of Carl Eugen Hoyos Sent: Sunday, December 10, 2017 3:41 PM To: FFmpeg user questions <ffmpeg-user@ffmpeg.org> Subject: Re: [FFmpeg-user] make error af_afir.o 2017-12-10 14:37 GMT+01:00 George Nistor <georgenistor@live.com>:
$ make CC libavcodec/jpeglsenc.o jpeglsenc.c c:\thirdparty\ffmpeg\ffmpeg\libavcodec\get_bits.h(308): warning C4101: 're_cache': unreferenced local variable c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(43): error C2143: syntax error: missing ':' before ','
Windows headers do not like the variable name "near", a patch is currently discussed, please wait a few hours. Remember not to top-post here, Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
2017-12-10 14:37 GMT+01:00 George Nistor <georgenistor@live.com>:
It seems it worked to fix the error. No I have another one: jpegls
Here is the log:
$ make CC libavcodec/jpeglsenc.o jpeglsenc.c c:\thirdparty\ffmpeg\ffmpeg\libavcodec\get_bits.h(308): warning C4101: 're_cache': unreferenced local variable c:\thirdparty\ffmpeg\ffmpeg\libavcodec\jpegls.h(43): error C2143: syntax error: missing ':' before ','
Should be fixed. Carl Eugen
I missed the question too, i can't understand "Please test with a general usage yasm binary instead of the special Visual Studio binary. ". how should i do to fixed the erro:'LINK : fatal error LNK1181: cannot open input file 'libavfilter/x86/af_afir.o' '? -- Sent from: http://www.ffmpeg-archive.org/
i fixed it, wowwowow,. i know it, just download an yasm-win32, because vsyasm could'nt konw -M -- Sent from: http://www.ffmpeg-archive.org/
participants (4)
-
Carl Eugen Hoyos -
George Nistor -
helloCgy -
Paul B Mahol