BrianJFeldman / ffmpeg.js.wasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make: *** [build/fribidi/dist/lib/libfribidi.so] Error 2

ArtifexEt opened this issue · comments

Hey,

I try to compile but without success. I need an advice.

os: osx 10.14.6 (18G95)

make all
cd build/fribidi && \
        git reset --hard && \
        patch -p1 < ../fribidi-make.patch && \
        emconfigure ./configure \
                CFLAGS=-O3 \
                NM=llvm-nm \
                --prefix="$(pwd)/dist" \
                --disable-dependency-tracking \
                --disable-debug \
                --without-glib \
                && \
        emmake make -j8 && \
        emmake make install
HEAD is now at 1a6935c 0.19.7
patching file Makefile.am
patching file gen.tab/Makefile.am
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /Users/szymon/emsdk/fastcomp/emscripten/emcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc accepts -g... yes
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to accept ISO C89... none needed
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc understands -c and -o together... yes
checking dependency style of /Users/szymon/emsdk/fastcomp/emscripten/emcc... none
checking the archiver (/Users/szymon/emsdk/fastcomp/emscripten/emar) interface... ar
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /Users/szymon/emsdk/fastcomp/emscripten/emcc... /Users/szymon/emsdk/fastcomp/emscripten/emcc
checking if the linker (/Users/szymon/emsdk/fastcomp/emscripten/emcc) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... llvm-nm
checking the name lister (llvm-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... /Users/szymon/emsdk/fastcomp/emscripten/emranlib
checking command to parse llvm-nm output from /Users/szymon/emsdk/fastcomp/emscripten/emcc object... failed
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... emcc:WARNING: ignoring unsupported linker flag: `-single_module`
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... emcc:WARNING: ignoring unsupported linker flag: `-force_load`
no
checking how to run the C preprocessor... /Users/szymon/emsdk/fastcomp/emscripten/emcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc supports -fno-rtti -fno-exceptions... yes
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to produce PIC... -fno-common -DPIC
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc PIC flag -fno-common -DPIC works... yes
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc static flag -static works... yes
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc supports -c -o file.o... yes
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc supports -c -o file.o... (cached) yes
checking whether the /Users/szymon/emsdk/fastcomp/emscripten/emcc linker (/Users/szymon/emsdk/fastcomp/emscripten/emcc) supports shared libraries... emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.45
clang version 6.0.1 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp--clang 98df4be387dde3e3918fa5bbb5fc43e1a0e1daac) (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp 6c7e775325067e33fa60611e619a8b987b6d0c35) (emscripten 1.38.31 : 1.38.31)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Users/szymon/emsdk/fastcomp/fastcomp/bin
shared:INFO: (Emscripten: Running sanity checks)
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) /Users/szymon/emsdk/fastcomp/emscripten/emcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc accepts -g... (cached) yes
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to accept ISO C89... (cached) none needed
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc understands -c and -o together... (cached) yes
checking dependency style of /Users/szymon/emsdk/fastcomp/emscripten/emcc... (cached) none
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for native Win32... no
checking for some Win32 platform... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for an ANSI C-conforming const... yes
checking for preprocessor stringizing operator... yes
checking size of int... 4
checking size of short... 2
checking size of void *... 4
checking size of wchar_t... 4
checking for memmove... yes
checking for memset... yes
checking for strdup... yes
checking return type of signal handlers... void
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating fribidi.pc
config.status: creating lib/fribidi-config.h
config.status: creating Makefile
config.status: creating charset/Makefile
config.status: creating gen.tab/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make: ['make', '-j8']
 cd . && /bin/sh /Users/szymon/ffmpeg.js/build/fribidi/missing automake-1.16 --gnits Makefile
 cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
  GEN      .gitignore
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure CFLAGS=-O3 NM=llvm-nm --prefix=/Users/szymon/ffmpeg.js/build/fribidi/dist --disable-dependency-tracking --disable-debug --without-glib CC=/Users/szymon/emsdk/fastcomp/emscripten/emcc PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR=/Users/szymon/emsdk/fastcomp/emscripten/system/local/lib/pkgconfig:/Users/szymon/emsdk/fastcomp/emscripten/system/lib/pkgconfig --no-create --no-recursion
Usable autoreconf found, running
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:54: installing './compile'
configure.ac:51: installing './missing'
bin/Makefile.am: installing './depcomp'
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26:   'lib/Headers.mk' included from here
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28:   'lib/Headers.mk' included from here
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
configure: WARNING: unrecognized options: --enable-maintainer-mode, --enable-compile-warnings
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /Users/szymon/emsdk/fastcomp/emscripten/emcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc accepts -g... yes
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to accept ISO C89... none needed
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc understands -c and -o together... yes
checking dependency style of /Users/szymon/emsdk/fastcomp/emscripten/emcc... none
checking the archiver (/Users/szymon/emsdk/fastcomp/emscripten/emar) interface... ar
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /Users/szymon/emsdk/fastcomp/emscripten/emcc... /Users/szymon/emsdk/fastcomp/emscripten/emcc
checking if the linker (/Users/szymon/emsdk/fastcomp/emscripten/emcc) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... llvm-nm
checking the name lister (llvm-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... /Users/szymon/emsdk/fastcomp/emscripten/emranlib
checking command to parse llvm-nm output from /Users/szymon/emsdk/fastcomp/emscripten/emcc object... failed
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... emcc:WARNING: ignoring unsupported linker flag: `-single_module`
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... emcc:WARNING: ignoring unsupported linker flag: `-force_load`
no
checking how to run the C preprocessor... /Users/szymon/emsdk/fastcomp/emscripten/emcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc supports -fno-rtti -fno-exceptions... yes
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to produce PIC... -fno-common -DPIC
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc PIC flag -fno-common -DPIC works... yes
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc static flag -static works... yes
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc supports -c -o file.o... yes
checking if /Users/szymon/emsdk/fastcomp/emscripten/emcc supports -c -o file.o... (cached) yes
checking whether the /Users/szymon/emsdk/fastcomp/emscripten/emcc linker (/Users/szymon/emsdk/fastcomp/emscripten/emcc) supports shared libraries... emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.45
clang version 6.0.1 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp--clang 98df4be387dde3e3918fa5bbb5fc43e1a0e1daac) (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp 6c7e775325067e33fa60611e619a8b987b6d0c35) (emscripten 1.38.31 : 1.38.31)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Users/szymon/emsdk/fastcomp/fastcomp/bin
shared:INFO: (Emscripten: Running sanity checks)
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) /Users/szymon/emsdk/fastcomp/emscripten/emcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc accepts -g... (cached) yes
checking for /Users/szymon/emsdk/fastcomp/emscripten/emcc option to accept ISO C89... (cached) none needed
checking whether /Users/szymon/emsdk/fastcomp/emscripten/emcc understands -c and -o together... (cached) yes
checking dependency style of /Users/szymon/emsdk/fastcomp/emscripten/emcc... (cached) none
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for native Win32... no
checking for some Win32 platform... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for an ANSI C-conforming const... yes
checking for preprocessor stringizing operator... yes
checking size of int... 4
checking size of short... 2
checking size of void *... 4
checking size of wchar_t... 4
checking for memmove... yes
checking for memset... yes
checking for strdup... yes
checking return type of signal handlers... void
checking that generated files are newer than configure... done
configure: creating ./config.status
configure: WARNING: unrecognized options: --enable-maintainer-mode, --enable-compile-warnings
 /bin/sh ./config.status
config.status: creating fribidi.pc
config.status: creating lib/fribidi-config.h
config.status: creating Makefile
config.status: creating charset/Makefile
config.status: creating gen.tab/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in gen.tab
  GEN      .gitignore
Making all in charset
Making all in lib
/Library/Developer/CommandLineTools/usr/bin/make  all-am
  CCLD     libfribidi.la
../libtool: eval: line 1717: syntax error near unexpected token `|'
../libtool: eval: line 1717: `llvm-nm  .libs/fribidi.o .libs/fribidi-arabic.o .libs/fribidi-bidi.o .libs/fribidi-bidi-types.o .libs/fribidi-deprecated.o .libs/fribidi-joining.o .libs/fribidi-joining-types.o .libs/fribidi-mem.o .libs/fribidi-mirroring.o .libs/fribidi-run.o .libs/fribidi-shape.o   ../charset/.libs/libfribidi-char-sets.a |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libfribidi.exp'
make[4]: *** [libfribidi.la] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [build/fribidi/dist/lib/libfribidi.so] Error 2