I am getting these kind of errors while building, please help me resolving this
''' Applying /home/openwrt/tools/libtool/patches/140-don-t-quote-SHELL-in-Makefile.am.patch using plaintext:
patching file Makefile.am
Applying /home/openwrt/tools/libtool/patches/200-openwrt-branding.patch using plaintext:
patching file build-aux/ltmain.in
patching file build-aux/funclib.sh
CFLAGS="-O2 -I/home/openwrt/staging_dir/host/include "
CPPFLAGS="-I/home/openwrt/staging_dir/host/include "
CXXFLAGS="" LDFLAGS="-L/home/openwrt/staging_dir/host/lib "
make --jobserver-auth=3,4 -C /home/openwrt/build_dir/host/libtool-2.4.7 uninstall
make[5]: Entering directory '/home/openwrt/build_dir/host/libtool-2.4.7'
There seems to be no Makefile in this directory.
You must run ./configure before running 'make'.
make[5]: *** [GNUmakefile:108: abort-due-to-no-makefile] Error 1
make[5]: Leaving directory '/home/openwrt/build_dir/host/libtool-2.4.7'
make[4]: [Makefile:75: /home/openwrt/build_dir/host/libtool-2.4.7/.prepared1e84e06a51ea3e4ba905aaa618e18955_6664517399ebbbc92a37c5bb081b5c53] Error 2 (ignored)
(cd /home/openwrt/staging_dir/host/share/aclocal/
&& rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4) '''
Also, I am getting this
''' OpenWrt-libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: error: '/home/openwrt/staging_dir/host/share/aclocal/libtool.m4' does not exist.
autoreconf: error: libtoolize failed with exit status: 1
make[4]: *** [Makefile:68: /home/openwrt/build_dir/host/libtool-2.4.7/.built] Error 1
make[4]: Leaving directory '/home/openwrt/tools/libtool'
time: tools/libtool/compile#47.53#2.82#54.24
ERROR: tools/libtool failed to build.
make[3]: *** [tools/Makefile:226: tools/libtool/compile] Error 1
make[3]: *** Waiting for unfinished jobs.... '''
Error seem to be self inflicted ?
please use the </> button when you paste cli output.
Dante
3
Is your SDK set up in the user home directory? 
This is the actual path and error I am facing while building the openwrt, please help in resolving this
Applying /home/Virtualxyz/openwrt-output/openwrt/tools/libtool/patches/200-openwrt-branding.patch using plaintext:
patching file build-aux/ltmain.in
patching file build-aux/funclib.sh
CFLAGS="-O2 -I/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/include "
CPPFLAGS="-I/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/include "
CXXFLAGS="" LDFLAGS="-L/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/lib "
make --jobserver-auth=3,4 -C /home/Virtualxyz/openwrt-output/openwrt/build_dir/host/libtool-2.4.7 uninstall
make[5]: Entering directory '/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/libtool-2.4.7'
There seems to be no Makefile in this directory.
You must run ./configure before running 'make'.
make[5]: *** [GNUmakefile:108: abort-due-to-no-makefile] Error 1
make[5]: Leaving directory '/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/libtool-2.4.7'
make[4]: [Makefile:75: /home/Virtualxyz/openwrt-output/openwrt/build_dir/host/libtool-2.4.7
/.prepared1e84e06a51ea3e4ba905aaa618e18955_6664517399ebbbc92a37c5bb081b5c53] Error 2 (ignored)
(cd /home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/share/aclocal/
&& rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4)
( cd /home/Virtualxyz/openwrt-output/openwrt/build_dir/host/libtool-2.4.7;
AUTOM4TE=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/autom4te
AUTOCONF=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/autoconf
AUTOMAKE=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/automake
ACLOCAL=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/aclocal
AUTOHEADER=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/autoheader
LIBTOOLIZE=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/libtoolize
LIBTOOL=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/libtool
M4=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/bin/m4
AUTOPOINT=true GTKDOCIZE=true
./bootstrap --copy --force --skip-git --skip-po --gnulib-srcdir=/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/share/gnulib )
Also, I am getting this
-c /home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Source/cmCoreTryCompile.cxx -o cmCoreTryCompile.o
OpenWrt-libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: error: '/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/share/aclocal/libtool.m4' does not exist.
autoreconf: error: libtoolize failed with exit status: 1
make[4]: *** [Makefile:68: /home/Virtualxyz/openwrt-output/openwrt/build_dir/host/libtool-2.4.7/.built] Error 1
make[4]: Leaving directory '/home/Virtualxyz/openwrt-output/openwrt/tools/libtool'
time: tools/libtool/compile#47.53#2.82#54.24
ERROR: tools/libtool failed to build.
make[3]: *** [tools/Makefile:226: tools/libtool/compile] Error 1
make[3]: *** Waiting for unfinished jobs....
````Preformatted text``Preformatted text`
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I../libebl -I../libasm -I../libelf -I../libdw -I/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -O2 -I/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/include -c -o ppc_corenote.o ppc_corenote.c
[54/280] g++ -O2 -I/home/Virtualxyz/openwrt-output/openwrt/staging_dir/host/include -D_FILE_OFFSET_BITS=64 -DCMAKE_BOOTSTRAP -DCMake_HAVE_CXX_MAKE_UNIQUE=1 -I/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Bootstrap.cmk -I/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Source -I/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Source/LexerParser -I/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Utilities/std -I/home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Utilities -c /home/Virtualxyz/openwrt-output/openwrt/build_dir/host/cmake-3.26.4/Source/cmEnableLanguageCommand.cxx -o cmEnableLanguageCommand.o
Dante
5
Which command are you running? And what are you trying to achieve?
Also, please don't mix multiple outputs and comments in the same preformatted text block.