theopolis / build-anywhere

Scripts for building compilers that run anywhere, which build things that run anywhere
89 stars 10 forks source link

Using x86_64-anywhere-linux-gnu-v5 to build ssdeep-2.14.1, it got build failed result #4

Open robert1030 opened 4 years ago

robert1030 commented 4 years ago

Platform: X86_64 PC OS: Ubuntu 18.04 (Usinig OS-release upgrade from 16.04) x86_64-anywhere-linux-gnu release version: x86_64-anywhere-linux-gnu-v5.tar.xz ssdeep version: 2.14.1

Step:

  1. tar Jxf x86_64-anywhere-linux-gnu-v5.tar.xz
  2. cp -a x86_64-anywhere-linux-gnu /tmp/
  3. source /tmp/x86_64-anywhere-linux-gnu/scripts/anywhere-setup.sh
  4. cd ssdeep-2.14.1/
  5. ./configure --disabled-shared -> got below error message configure: error: unrecognized option: --disabled-shared' Try./configure --help' for more information
  6. ./configure
  7. make -> got build failed. InstalledDir: /tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin "/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin/ld" --sysroot=/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -shared -o .libs/libfuzzy.so.2.1.0 /tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin/../lib64/crti.o crtbeginS.o -L/usr/local/lib -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin/../lib64 -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/lib/../lib64 -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/lib/../lib64 -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin/../lib -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/lib -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/lib .libs/fuzzy.o .libs/edit_dist.o .libs/find-file-size.o -l:libc++.a -l:libc++abi.a -l:libunwind.a -lpthread -ldl -lrt -lz -lm -z relro -z now -soname libfuzzy.so.2 -L/tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed crtendS.o /tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin/../lib64/crtn.o /tmp/x86_64-anywhere-linux-gnu/x86_64-anywhere-linux-gnu/sysroot/usr/bin/ld: cannot find crtbeginS.o: No such file or directory clang-8: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:490: recipe for target 'libfuzzy.la' failed make[1]: [libfuzzy.la] Error 1 make[1]: Leaving directory '/home/sqa/ssdeep-2.14.1' Makefile:401: recipe for target 'all' failed make: [all] Error 2