вс, 24 июл. 2022 г., 20:58 Andrew Randrianasulu <[email protected]>:
> > > вс, 24 июл. 2022 г., 15:17 Nicolas George <[email protected]>: > >> Andrew Randrianasulu (12022-07-24): >> > /data/data/com.termux/files/usr/include/asm-generic/termbits.h:118:12: >> > note: expanded from macro 'B0' >> > #define B0 0000000 ^ >> >> This is strange: B0 is indeed a constant that should be defined by >> system headers, but libavcodec should never be including anything >> related to termbits.h. >> >> Would you be able to track down how this file gets included from >> aaccoder.c? >> > > > > I tried to add -M flag to cflags right before make invocation, but it does > not give me any new info. > > CFLAGS=-M make > > Yet adding -e to make arguments somewhat bypass those errors, and I have > errors at linking instead (guess this is expected). > > I looked at libavcodec/Makefile but nothing jumped out at me .... > If I add -M directly to ffbuild/config.mak CFLAGS compile error also disappear, yet linking fail like this ld.lld: error: fftools/cmdutils.o:10966: unclosed quote ld.lld: error: fftools/cmdutils.o:10966: unclosed quote ld.lld: error: fftools/ffmpeg_filter.o:21: unknown directive: int >>> int android_get_application_target_sdk_version() __attribute__((__availability__(android,strict,introduced=24))); >>> ^ clang-14: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:131: ffprobe_g] Error 1 make: *** Waiting for unfinished jobs.... clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ld.lld: error: fftools/cmdutils.o:10966: unclosed quote make: *** [Makefile:131: ffplay_g] Error 1 clang-14: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:131: ffmpeg_g] Error 1 May be clang does not support -M directive? config.mak attached > > >> Regards, >> >> -- >> Nicolas George >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> https://ffmpeg.org/mailman/listinfo/libav-user >> >> To unsubscribe, visit link above, or email >> [email protected] with subject "unsubscribe". >> >
config.mak
Description: Binary data
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
