Giter Site home page Giter Site logo

Comments (4)

YuzukiTsuru avatar YuzukiTsuru commented on May 25, 2024

#32

from openixcard.

hansfbaier avatar hansfbaier commented on May 25, 2024

Sorry, after updating git, I still get the same error:

$ make -j
Scanning dependencies of target inicpp
Scanning dependencies of target rc6
Scanning dependencies of target GenIMG
Scanning dependencies of target twofish
[  3%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/config.cpp.o
[  7%] Building C object src/OpenixIMG/lib/rc6/CMakeFiles/rc6.dir/src/rc6.c.o
[ 11%] Building C object src/GenIMG/CMakeFiles/GenIMG.dir/GenimageWrapper.c.o
[ 14%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/parser.cpp.o
[ 18%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/schema.cpp.o
[ 22%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/string_utils.cpp.o
[ 25%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/option.cpp.o
[ 29%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/option_schema.cpp.o
[ 40%] Building C object src/OpenixIMG/lib/twofish/CMakeFiles/twofish.dir/src/twofish.c.o
[ 40%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/section.cpp.o
[ 40%] Building CXX object src/GenIMG/CMakeFiles/GenIMG.dir/GenIMG.cpp.o
[ 44%] Building CXX object lib/inicpp/CMakeFiles/inicpp.dir/src/section_schema.cpp.o
[ 48%] Linking C static library librc6.a
[ 48%] Built target rc6
[ 51%] Linking C static library libtwofish.a
[ 51%] Built target twofish
Scanning dependencies of target OpenixIMG
[ 55%] Building C object src/OpenixIMG/CMakeFiles/OpenixIMG.dir/__/GenIMG/GenimageWrapper.c.o
[ 59%] Building C object src/OpenixIMG/CMakeFiles/OpenixIMG.dir/src/OpenixIMG.c.o
[ 62%] Linking C static library libOpenixIMG.a
[ 62%] Built target OpenixIMG
[ 66%] Linking CXX static library libGenIMG.a
configure.ac:79: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:80: the top level
[ 70%] Linking CXX static library libinicpp.a
[ 70%] Built target inicpp
configure.ac:79: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
/usr/share/autoconf/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
/usr/share/autoconf/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
/usr/share/autoconf/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
/usr/share/autoconf/m4sugar/m4sh.m4:639: AS_IF is expanded from...
/usr/share/autoconf/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
/usr/share/autoconf/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
/usr/share/autoconf/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
/usr/share/autoconf/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
/usr/share/autoconf/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
/usr/share/autoconf/m4sugar/m4sh.m4:639: AS_IF is expanded from...
/usr/share/autoconf/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
/usr/share/autoconf/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:80: the top level
configure.ac:79: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:80: the top level
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking for memset... yes
checking for setenv... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoull... yes
checking for inline... inline
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for size_t... yes
checking for uint32_t... yes
checking whether to enable debugging... no
checking whether to hide internal symbols... yes
checking if gcc supports -Wl,--as-needed flag... yes
checking if gcc supports -Wl,--gc-sections flag... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CONFUSE... yes
checking whether the compiler supports -fvisibility=hidden... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

        genimage 16
        =====

        prefix:                 /usr/local

        compiler:               gcc
        cflags:                 -g -O2  -pipe -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -Wtype-limits -Wno-unused-parameter -ffunction-sections -fdata-sections -fvisibility=hidden
        ldflags:                  -Wl,--as-needed -Wl,--gc-sections

        debug:                  no
        hide symbols:           yes
        libconfuse:             -lconfuse

configure.ac:79: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2672: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2689: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
m4/attributes.m4:87: CC_CHECK_LDFLAGS is expanded from...
configure.ac:80: the top level
config.status: creating config.h
config.status: config.h is unchanged
  CC       libgenimage_a-config.o
  CC       libgenimage_a-util.o
  CC       libgenimage_a-crc32.o
  CC       libgenimage_a-image-cpio.o
  CC       libgenimage_a-image-android-sparse.o
  CC       libgenimage_a-image-cramfs.o
  CC       libgenimage_a-image-ext2.o
  CC       libgenimage_a-image-f2fs.o
  CC       libgenimage_a-image-fip.o
  CC       libgenimage_a-image-file.o
  CC       libgenimage_a-image-fit.o
  CC       libgenimage_a-image-flash.o
  CC       libgenimage_a-image-hd.o
  CC       libgenimage_a-image-jffs2.o
  CC       libgenimage_a-image-iso.o
  CC       libgenimage_a-image-qemu.o
  CC       libgenimage_a-image-rauc.o
  CC       libgenimage_a-image-squashfs.o
  CC       libgenimage_a-image-ubi.o
  CC       libgenimage_a-image-tar.o
  CC       libgenimage_a-image-ubifs.o
  CC       libgenimage_a-image-vfat.o
  AR       libgenimage.a
ar: invalid option -- 'n'
Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
       ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new file(s) into the archive
  s            - act as ranlib
  t[O][v]      - display contents of the archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name] (same as [i])
  [D]          - use zero for timestamps and uids/gids (default)
  [U]          - use actual timestamps and uids/gids
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [O]          - display offsets of files in the archive
  [u]          - only replace files that are newer than current archive contents
 generic modifiers:
  [c]          - do not warn if the library had to be created
  [s]          - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [T]          - make a thin archive
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
  --target=BFDNAME - specify the target object format as BFDNAME
  --output=DIRNAME - specify the output directory for extraction operations
 optional:
  --plugin <p> - load the specified plugin
 emulation options: 
  No emulation specific options
ar: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386 srec symbolsrec verilog tekhex binary ihex plugin
make[4]: *** [Makefile:471: libgenimage.a] Error 1
make[3]: *** [Makefile:413: all] Error 2
make[2]: *** [src/GenIMG/CMakeFiles/GenIMG.dir/build.make:102: src/GenIMG/libGenIMG.a] Error 2
make[1]: *** [CMakeFiles/Makefile2:455: src/GenIMG/CMakeFiles/GenIMG.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

from openixcard.

YuzukiTsuru avatar YuzukiTsuru commented on May 25, 2024

try to update your binutils, the version of binutils in apt is broken

sudo apt-get install texinfo

wget https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz && \
  tar xvf binutils-2.38.tar.xz && \
  cd binutils-2.38 && \
  ./configure --prefix=/usr/local && \
  make
  
sudo make install

from openixcard.

hansfbaier avatar hansfbaier commented on May 25, 2024

I updated to Ubuntu 22.04.1 and now everything works fine. Thanks!

from openixcard.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.