Seite 1 von 1

NI-Buildsystem Fragen!

Verfasst: Fr 28. Aug 2026, 22:00
von Token
ich habe mich mal an dem buildsystem versucht, folgende fragen dazu:
ich probier(t)e es mit einem ubuntu18 ... aber beim make init / toolchain bauen gibt es schon erste fehler:
1. das zlib.mk will eine v1.3.1 ... diese gibt es jedoch nicht mehr auf dem server ... die v1.3.2 ist nun aktuell!
(das müsste mal bitte im buildsystem korrigiert/aktualisiert werden!)
2. ziemlich am schluss bekomme ich -W..... errors ... das log müsste ich aber nachreichen, das finde ich noch nicht!
3. welche build-voraussetzungen brauche ich eigentlich - ist mein U18 evtl. zu alt? ... die check's gingen jedoch alle durch!

Re: NI-Buildsystem Fragen!

Verfasst: Fr 28. Aug 2026, 23:08
von Token
hier mal noch das angesprochene Log:
[+] Spoiler

Code: Alles auswählen

Building host-mtd-utils
  CC       lib/execinfo.o
  CC       lib/libmtd.o
  CC       lib/common.o
  CC       lib/libfec.o
  CC       ubi-utils/ubiupdatevol.o
gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wrestrict’
gcc: error: unrecognized command line option ‘-Wrestrict’
Makefile:3000: recipe for target 'lib/execinfo.o' failed
make[1]: *** [lib/execinfo.o] Error 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
Makefile:3000: recipe for target 'lib/common.o' failed
make[1]: *** [lib/common.o] Error 1
gcc: error: unrecognized command line option ‘-Wrestrict’
Makefile:3000: recipe for target 'lib/libmtd.o' failed
make[1]: *** [lib/libmtd.o] Error 1
gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wduplicated-branches’; did you mean ‘-Wduplicated-cond’?
gcc: error: unrecognized command line option ‘-Wrestrict’
Makefile:3000: recipe for target 'lib/libfec.o' failed
make[1]: *** [lib/libfec.o] Error 1
gcc: error: unrecognized command line option ‘-Wrestrict’
Makefile:3000: recipe for target 'ubi-utils/ubiupdatevol.o' failed
make[1]: *** [ubi-utils/ubiupdatevol.o] Error 1
package/mtd-utils/mtd-utils.mk:66: recipe for target 'host-mtd-utils' failed
make: *** [host-mtd-utils] Error 2
token@nuc-ubuntu:~/ni-buildsystem$
 
token@nuc-ubuntu:~/ni-buildsystem$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.5.0-2ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.5.0 20181026 (Ubuntu 6.5.0-2ubuntu1~18.04) 

Re: NI-Buildsystem Fragen!

Verfasst: Sa 29. Aug 2026, 02:59
von Token
und dann war ich vmtl. grössenwahnsinnig, und habe U26/gcc15 genommen ... die nr. ging komplett nach hinten los.