byhook / ffmpeg4android

音视频学习实践,从移植ffmpeg库到android平台,混合编译x264库以及fdk-aac库,到相机音频采集编码推流到RTMP服务器的学习记录
773 stars 258 forks source link

ubuntu18.04 + NDK 19.2.5345600 编译X264失败,目录结构与指导相同 #5

Open Shanlovana opened 5 years ago

Shanlovana commented 5 years ago

├── build_fdkaac_all.sh ├── build_fdkaac.sh ├── build_ffmpeg_all.sh ├── build_ffmpeg.sh ├── build_x264_all.sh ├── build_x264.sh ├── config.sh ├── fdk-aac-0.1.6 ├── fdk-aac-0.1.6.tar.gz ├── ffmpeg-4.1.4 ├── ffmpeg-4.1.4.tar.bz2 └── x264

android@RESCUER-R720-15IKBN:~/opensource$ sh ./build_x264_all.sh TOOLCHAIN_BASE=arm-linux-androideabi TOOLNAME_BASE=arm-linux-androideabi AOSP_ABI=armeabi-v7a AOSP_ARCH=arch-arm AOSP_FLAGS=-march=armv7-a -mthumb -mfpu=vfpv3-d16 -mfloat-abi=softfp -Wl,--fix-cortex-a8 -funwind-tables -fexceptions -frtti HOST=arm-linux-androideabi LIBS_DIR=/home/android/opensource/libs/libx264 Unknown option --disable-shared, ignored Unknown option --enable-neon, ignored No working C compiler found. Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 TOOLCHAIN_BASE=aarch64-linux-android TOOLNAME_BASE=aarch64-linux-android AOSP_ABI=arm64-v8a AOSP_ARCH=arch-arm64 AOSP_FLAGS=-funwind-tables -fexceptions -frtti HOST=aarch64-linux LIBS_DIR=/home/android/opensource/libs/libx264 Unknown option --disable-shared, ignored Unknown option --enable-neon, ignored No working C compiler found. Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 TOOLCHAIN_BASE=x86 TOOLNAME_BASE=i686-linux-android AOSP_ABI=x86 AOSP_ARCH=arch-x86 AOSP_FLAGS=-march=i686 -mtune=intel -mssse3 -mfpmath=sse -funwind-tables -fexceptions -frtti HOST=i686-linux LIBS_DIR=/home/android/opensource/libs/libx264 Unknown option --disable-shared, ignored Unknown option --enable-neon, ignored No working C compiler found. Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 TOOLCHAIN_BASE=x86_64 TOOLNAME_BASE=x86_64-linux-android AOSP_ABI=x86_64 AOSP_ARCH=arch-x86_64 AOSP_FLAGS=-march=x86-64 -msse4.2 -mpopcnt -mtune=intel -funwind-tables -fexceptions -frtti HOST=x86_64-linux LIBS_DIR=/home/android/opensource/libs/libx264 Unknown option --disable-shared, ignored Unknown option --enable-neon, ignored No working C compiler found. Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1 Makefile:3: config.mak: 没有那个文件或目录 ./configure Found no assembler Minimum version is nasm-2.13 If you really want to compile without asm, configure with --disable-asm. Makefile:332: recipe for target 'config.mak' failed make: [config.mak] Error 1

byhook commented 5 years ago

安装 nasm 试试看