Odp: Własna Kompilacja OPENWRT.
Od architektury oczywiście że jest to oddzielnie zrobione. Chodzi mi o różne wersje openwrt np 19.07, 21.02
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Własna Kompilacja OPENWRT.
Strony Poprzednia 1 2 3 4 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Od architektury oczywiście że jest to oddzielnie zrobione. Chodzi mi o różne wersje openwrt np 19.07, 21.02
A to nie, chyba że w konfigu włączysz sobie numerowanie plików wynikowych. Ale tak po prawdzie on i tak będzie to wszystko kompilował, bo równe wersje mają pakiety w różnych wersjach, więc i tak będzie tego dużo.
Cezary udostępniłeś przeportowane źródła do kompilacja dla ZTE MF286D.
Czy plik board-zte_mf286d.qca4019 mam dociągnąć i wrzucić do /package/firmware/ipq-wifi/ ?
Tak, zaraz to wrzucę do siebie.
Cezary poratujesz ?
rm -rf /home/roman/Github/openwrt/tmp/stage-ffmpeg
touch /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.ffmpeg.audio-dec_installed
mkdir -p /home/roman/Github/openwrt/bin/targets/ramips/mt7621/packages /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/CONTROL /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/pkginfo
install -d -m0755 /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/usr/lib
cp -fpR /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-install/usr/lib/lib{avcodec,avdevice,avformat,avutil}.so.* /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/usr/lib/
find /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mipsel-openwrt-linux-musl-" ; NM="mipsel-openwrt-linux-musl-nm" STRIP="/home/roman/Github/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/roman/Github/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/roman/Github/openwrt/staging_dir/host/bin/patchelf" /home/roman/Github/openwrt/scripts/rstrip.sh /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec
rstrip.sh: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/usr/lib/libavdevice.so.58.10.100: shared object
rstrip.sh: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/usr/lib/libavcodec.so.58.91.100: shared object
rstrip.sh: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/usr/lib/libavutil.so.56.51.100: shared object
rstrip.sh: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/usr/lib/libavformat.so.58.45.100: shared object
(cd /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; )
install -d -m0755 /home/roman/Github/openwrt/bin/packages/mipsel_24kc/packages
/home/roman/Github/openwrt/staging_dir/host/bin/fakeroot /home/roman/Github/openwrt/scripts/ipkg-build -m "" /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec /home/roman/Github/openwrt/bin/packages/mipsel_24kc/packages
Packaged contents of /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-mipsel_24kc/libffmpeg-audio-dec into /home/roman/Github/openwrt/bin/packages/mipsel_24kc/packages/libffmpeg-audio-dec_4.3.3-1_mipsel_24kc.ipk
rm -rf /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec.installed /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec
mkdir -p /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec
install -d -m0755 /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec/usr/lib
cp -fpR /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/ipkg-install/usr/lib/lib{avcodec,avdevice,avformat,avutil}.so.* /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec/usr/lib/
touch /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec.installed
mkdir -p /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/root-ramips/stamp
SHELL= flock /home/roman/Github/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-audio-dec/ffmpeg-4.3.3/.pkgdir/libffmpeg-audio-dec/. /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/root-ramips/'
touch /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/root-ramips/stamp/.libffmpeg-audio-dec_installed
echo "libffmpeg-audio-dec" >> /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/pkginfo/ffmpeg.audio-dec.install
make[3]: Leaving directory '/home/roman/Github/openwrt/feeds/packages/multimedia/ffmpeg'
time: package/feeds/packages/ffmpeg/audio-dec/compile#78.04#9.72#83.54
make[3]: Entering directory '/home/roman/Github/openwrt/feeds/packages/libs/flac'
mkdir -p /home/roman/Github/openwrt/dl
SHELL= flock /home/roman/Github/openwrt/tmp/.flac-1.3.3.tar.xz.flock -c ' /home/roman/Github/openwrt/scripts/download.pl "/home/roman/Github/openwrt/dl" "flac-1.3.3.tar.xz" "213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748" "" "https://downloads.xiph.org/releases/flac/" '
mkdir -p /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/root-ramips/stamp
SHELL= flock /home/roman/Github/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/flac-1.3.3/.pkgdir/libflac/. /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/root-ramips/'
touch /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/root-ramips/stamp/.libflac_installed
echo "libflac" >> /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/pkginfo/flac.default.install
make[3]: Leaving directory '/home/roman/Github/openwrt/feeds/packages/libs/flac'
time: package/feeds/packages/flac/compile#0.27#0.10#0.33
make[3]: Entering directory '/home/roman/Github/openwrt/package/libs/libnl'
mkdir -p /home/roman/Github/openwrt/dl
SHELL= flock /home/roman/Github/openwrt/tmp/.libnl-3.5.0.tar.gz.flock -c ' /home/roman/Github/openwrt/scripts/download.pl "/home/roman/Github/openwrt/dl" "libnl-3.5.0.tar.gz" "352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa" "" "https://github.com/thom311/libnl/releases/download/libnl3_5_0" '
rm -f /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0/.built
touch /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0/.built_check
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0=libnl-3.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -DPIC -fpic -I/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0=libnl-3.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -DPIC -fpic -I/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include " LDFLAGS="-L/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/lib -L/home/roman/Github/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib -znow -zrelro " make -j1 -C /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0/. AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0=libnl-3.5.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -DPIC -fpic" LD=mipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="mipsel-openwrt-linux-musl-" ARCH="mipsel" ;
make[4]: Entering directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0'
bison -y -d -o lib/route/cls/ematch_syntax.c lib/route/cls/ematch_syntax.y
bison: error while loading shared libraries: libtextstyle.so.0: cannot open shared object file: No such file or directory
make[4]: *** [Makefile:6997: lib/route/cls/ematch_syntax.c] Error 127
make[4]: Leaving directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0'
make[3]: *** [Makefile:127: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/libnl-3.5.0/.built] Error 2
make[3]: Leaving directory '/home/roman/Github/openwrt/package/libs/libnl'
time: package/libs/libnl/compile#0.38#0.11#0.45
ERROR: package/libs/libnl failed to build.
make[2]: *** [package/Makefile:116: package/libs/libnl/compile] Error 1
make[2]: Leaving directory '/home/roman/Github/openwrt'
make[1]: *** [package/Makefile:110: /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/roman/Github/openwrt'
make: *** [/home/roman/Github/openwrt/include/toplevel.mk:230: world] Błąd 2 bison jest z systemu operacyjnego, a nie działa bo libtextstyle nie może załadować. Weź to sobie przeinstaluj w systemie.
Przeinstalowałem - reboot komputera -ten sam błąd........
Odinstalowałem i zainstalowalem jeszcze raz - reboot - ten sam błąd....
WTF?
Robiłem kompilację na inną platformę kilka dni temu z tym samym zestawem pakietów, poszło jak po maśle.
Sam bison ci chodzi? bison --help
bison -help
Użycie: bison [OPCJA]... PLIK
Generate a deterministic LR or generalized LR (GLR) parser employing
LALR(1), IELR(1), or canonical LR(1) parser tables.
Obowiązkowe argumenty dla długich opcji są obowiązkowe również dla krótkich opcji.
To samo dotyczy argumentów opcjonalnych.
Operation Modes:
-h, --help display this help and exit
-V, --version output version information and exit
--print-localedir output directory containing locale-dependent data
and exit
--print-datadir output directory containing skeletons and XSLT
and exit
-u, --update apply fixes to the source grammar file and exit
-f, --feature[=FEATURES] activate miscellaneous features
FEATURES is a list of comma separated words that can include:
caret, diagnostics-show-caret
show errors with carets
fixit, diagnostics-parseable-fixits
show machine-readable fixes
syntax-only do not generate any file
all all of the above
none disable all of the above
Diagnostics:
-W, --warnings[=CATEGORY] report the warnings falling in CATEGORY
--color[=WHEN] whether to colorize the diagnostics
--style=FILE specify the CSS FILE for colorizer diagnostics
Warning categories include:
conflicts-sr S/R conflicts (enabled by default)
conflicts-rr R/R conflicts (enabled by default)
counterexamples, cex
generate conflict counterexamples
dangling-alias string aliases not attached to a symbol
deprecated obsolete constructs
empty-rule empty rules without %empty
midrule-values unset or unused midrule values
precedence useless precedence and associativity
yacc incompatibilities with POSIX Yacc
other all other warnings (enabled by default)
all all the warnings except 'counterexamples', 'dangling-alias' and 'yacc'
no-CATEGORY turn off warnings in CATEGORY
none turn off all the warnings
error[=CATEGORY] treat warnings as errors
WHEN can be one of the following:
always, yes colorize the output
never, no don't colorize the output
auto, tty colorize if the output device is a tty
Tuning the Parser:
-L, --language=LANGUAGE specify the output programming language
-S, --skeleton=FILE specify the skeleton to use
-t, --debug instrument the parser for tracing
same as '-Dparse.trace'
--locations enable location support
-D, --define=NAME[=VALUE] similar to '%define NAME VALUE'
-F, --force-define=NAME[=VALUE] override '%define NAME VALUE'
-p, --name-prefix=PREFIX prepend PREFIX to the external symbols
deprecated by '-Dapi.prefix={PREFIX}'
-l, --no-lines don't generate '#line' directives
-k, --token-table include a table of token names
-y, --yacc emulate POSIX Yacc
Output Files:
-H, --header=[FILE] also produce a header file
-d likewise but cannot specify FILE (for POSIX Yacc)
-r, --report=THINGS also produce details on the automaton
--report-file=FILE write report to FILE
-v, --verbose same as '--report=state'
-b, --file-prefix=PREFIX specify a PREFIX for output files
-o, --output=FILE leave output to FILE
-g, --graph[=FILE] also output a graph of the automaton
--html[=FILE] also output an HTML report of the automaton
-x, --xml[=FILE] also output an XML report of the automaton
-M, --file-prefix-map=OLD=NEW replace prefix OLD with NEW when writing file paths
in output files
THINGS is a list of comma separated words that can include:
states describe the states
itemsets complete the core item sets with their closure
lookaheads explicitly associate lookahead tokens to items
solved describe shift/reduce conflicts solving
counterexamples, cex
generate conflict counterexamples
all include all the above information
none disable the report
O błędach programu poinformuj <bug-bison@gnu.org>.
strona domowa GNU Bison: <[url]https://www.gnu.org/software/bison/[/url]>.
General help using GNU software: <[url]https://www.gnu.org/gethelp/[/url]>.
Report translation bugs to <[url]https://translationproject.org/team/[/url]>.
Dla pełnej dokumentacji, uruchom: info bison A staging_dir/host/bin/bison --help?
staging_dir/host/bin/bison --help
staging_dir/host/bin/bison: error while loading shared libraries: libtextstyle.so.0: cannot open shared object file: No such file or directory Ok, więc to jest problemem.
make tools/bison/clean
make tools/bison/compile
make tools/bison/install
staging_dir/host/bin/bison --help
clean i compile ok i potem:
openwrt on openwrt-21.02 [+] took 16s
❯ make tools/bison/install
make[1] tools/bison/install
make -r tools/bison/install: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/roman/Github/openwrt/include/toplevel.mk:230: tools/bison/install] Błąd 1
openwrt on openwrt-21.02 [+] took 15s
❯ make tools/bison/install -j1 V=s
make[1]: Entering directory '/home/roman/Github/openwrt'
make[1]: *** No rule to make target 'tools/bison/install'. Stop.
make[1]: Leaving directory '/home/roman/Github/openwrt'
make: *** [/home/roman/Github/openwrt/include/toplevel.mk:230: tools/bison/install] Błąd 2 Dobra, wszystko jedno z tym installem. Działa teraz?
Działa
--help wypluwa to samo co systemowy bison
Kompiluj więc.
Kompiluję.....powiedzieć dziękuję, to jak nic nie powiedzieć....Bardzo Dziękuję za pomoc.
Proszę o pomoc przy błędzie.
OpenWrt 22.03
Netgear R6220
Końcówka loga:
make[3]: Entering directory '/home/roman/Github/openwrt/feeds/packages/net/xtables-addons'
rm -f /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/.built
touch /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/.built_check
make -C /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13 KCFLAGS="-fmacro-prefix-map=/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl=target-mipsel_24kc_musl" HOSTCFLAGS="-O2 -I/home/roman/Github/openwrt/staging_dir/host/include -I/home/roman/Github/openwrt/staging_dir/hostpkg/include -I/home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-musl-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Jun 29 20:40:04 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/home/roman/Github/openwrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/home/roman/Github/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/antfs.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/button-hotplug.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/cryptodev-linux.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/dahdi-linux.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/dmx_usb_module.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/gpio-button-hotplug.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/jool.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/ksmbd.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/mac80211.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/macremapper.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/mdio-netlink.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/mtd-rw.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/nat46.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/netatop.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/openvswitch.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/ovpn-dco.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/siit.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/trelay.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/usb-serial-xr_usb_serial_common.symvers /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/symvers/v4l2loopback.symvers" KERNELRELEASE=5.10.125 DESTDIR="/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/ipkg-install" DEPMOD="/bin/true" all
make[4]: Entering directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13'
make all-recursive
make[5]: Entering directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13'
Making all in extensions
make[6]: Entering directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions'
Xtables-addons 3.13 - Linux 5.10.125
if [ -n "/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.125" ]; then make -C /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.125 M=/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions modules; fi;
make[7]: Entering directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.125'
CC [M] /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions/xt_ECHO.o
/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions/xt_ECHO.c: In function 'echo_tg6':
/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions/xt_ECHO.c:100:62: error: passing argument 2 of 'security_skb_classify_flow' from incompatible pointer type [-Werror=incompatible-pointer-types]
100 | security_skb_classify_flow((struct sk_buff *)oldskb, flowi6_to_flowi(&fl));
| ^~~~~~~~~~~~~~~~~~~~
| |
| struct flowi *
In file included from ./include/net/scm.h:8,
from ./include/linux/netlink.h:9,
from ./include/uapi/linux/neighbour.h:6,
from ./include/linux/netdevice.h:46,
from ./include/net/inet_sock.h:19,
from ./include/linux/udp.h:16,
from /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions/xt_ECHO.c:15:
./include/linux/security.h:1718:68: note: expected 'struct flowi_common *' but argument is of type 'struct flowi *'
1718 | struct flowi_common *flic)
| ~~~~~~~~~~~~~~~~~~~~~^~~~
cc1: some warnings being treated as errors
make[8]: *** [scripts/Makefile.build:280: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions/xt_ECHO.o] Error 1
make[7]: *** [Makefile:1822: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions] Error 2
make[7]: Leaving directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.125'
make[6]: *** [Makefile:461: modules] Error 2
make[6]: Leaving directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/extensions'
make[5]: *** [Makefile:495: all-recursive] Error 1
make[5]: Leaving directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13'
make[4]: *** [Makefile:380: all] Error 2
make[4]: Leaving directory '/home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13'
make[3]: *** [Makefile:177: /home/roman/Github/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xtables-addons-3.13/.built] Error 2
make[3]: Leaving directory '/home/roman/Github/openwrt/feeds/packages/net/xtables-addons'
time: package/feeds/packages/xtables-addons/compile#3.03#0.84#3.61
ERROR: package/feeds/packages/xtables-addons failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/xtables-addons/compile] Error 1
make[2]: Leaving directory '/home/roman/Github/openwrt'
make[1]: *** [package/Makefile:110: /home/roman/Github/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/roman/Github/openwrt'
make: *** [/home/roman/Github/openwrt/include/toplevel.mk:230: world] Błąd 2 Na razie nic z tym nie zrobisz, jest błąd po aktualizacjach źródeł, nawet samo openwrt się na tym wykłada podczas kompilacji swoich obrazów. Albo poczekasz jak to naprawią albo cofnij się o kilkanaście commitów wcześniej.
Naprawili to, obecnie już się kompiluje.
Jak zwykle potrzebuję pomocy ![]()
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kmod-crypto-kpp for kmod-crypto-lib-curve25519
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-lib-curve25519 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-crypto-lib-curve25519.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-wireguard:
* kmod-crypto-kpp
* opkg_install_cmd: Cannot install package kmod-wireguard.
make[2]: *** [package/Makefile:70: package/install] Error 255 Zainstaluj kmod-crypto-kpp wcześniej.
Dziękuję poszło jak po maśle.
Help ![]()
Log z make -j1 V=s
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments,
no xattrs, compressed ids
duplicates are removed
Filesystem size 96094.76 Kbytes (93.84 Mbytes)
27.08% of uncompressed filesystem size (354833.28 Kbytes)
Inode table size 18888 bytes (18.45 Kbytes)
23.31% of uncompressed inode table size (81029 bytes)
Directory table size 21514 bytes (21.01 Kbytes)
42.20% of uncompressed directory table size (50984 bytes)
Number of duplicate files found 280
Number of inodes 2200
Number of files 1650
Number of fragments 64
Number of symbolic links 436
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 113
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
/home/roman/Openwrt/openwrt/staging_dir/host/bin/make_ext4fs -L rootfs -l 109051904 -b 4096 -m 0 -J -T 1674932894 /home/roman/Openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/root.ext4 /home/roman/Openwrt/openwrt/build_dir/target-x86_64_musl/root-x86/
Creating filesystem with parameters:
Size: 109051904
Block size: 4096
Blocks per group: 32768
Inodes per group: 6656
Inode size: 256
Journal blocks: 0
Label: rootfs
Blocks: 26624
Block groups: 1
Reserved blocks: 0
Reserved block group size: 7
error: ext4_allocate_best_fit_partial: failed to allocate 3794 blocks, out of space?
make[5]: *** [/home/roman/Openwrt/openwrt/include/image.mk:335: /home/roman/Openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/root.ext4] Error 1
make[5]: Leaving directory '/home/roman/Openwrt/openwrt/target/linux/x86/image'
make[4]: *** [Makefile:21: install] Error 2
make[4]: Leaving directory '/home/roman/Openwrt/openwrt/target/linux/x86'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/roman/Openwrt/openwrt/target/linux'
time: target/linux/install#660.35#15.73#293.81
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/roman/Openwrt/openwrt'
make[1]: *** [target/Makefile:24: /home/roman/Openwrt/openwrt/staging_dir/target-x86_64_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/roman/Openwrt/openwrt'
make: *** [/home/roman/Openwrt/openwrt/include/toplevel.mk:230: world] Błąd 2 Miejsce ci sie na dysku skończyło?
Strony Poprzednia 1 2 3 4 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Własna Kompilacja OPENWRT.
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc