zhengsjgoembed / 335x-buildroot Goto Github PK
View Code? Open in Web Editor NEWbuildroot for am335x
License: GNU General Public License v2.0
buildroot for am335x
License: GNU General Public License v2.0
Hi. I am building an image for my SBC335x-B2 board following the build instructions from the community.
I can't succesfully build this repository because of the ncurses error.
/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/home/ricxsar/goembed/335x-buildroot'
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/ricxsar/goembed/335x-buildroot/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/ricxsar/goembed/335x-buildroot/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/ricxsar/goembed/335x-buildroot/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/ricxsar/goembed/335x-buildroot/.config BR2_EXTERNAL=support/dummy-external /home/ricxsar/goembed/335x-buildroot/output/build/buildroot-config/conf --silentoldconfig Config.in
make[1]: Leaving directory '/home/ricxsar/goembed/335x-buildroot'
>>> host-ncurses 5.9 Building
/usr/bin/make -j1 -C /home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9 sources
make[1]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9'
cd include && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/include'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/include'
cd ncurses && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/ncurses'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/ncurses'
cd progs && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/progs'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/progs'
cd panel && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/panel'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/panel'
cd menu && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/menu'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/menu'
cd form && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/form'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/form'
cd test && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/test'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/test'
cd misc && /usr/bin/make DESTDIR="" sources
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/misc'
make[2]: Nothing to be done for 'sources'.
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/misc'
make[1]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9'
/usr/bin/make -j5 -C /home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/progs tic
make[1]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/progs'
cd ../ncurses; /usr/bin/make
make[2]: Entering directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/ncurses'
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/lib_gen.c -o ../obj_s/lib_gen.o
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_hline.c -o ../obj_s/lib_hline.o
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_immedok.c -o ../obj_s/lib_immedok.o
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_inchstr.c -o ../obj_s/lib_inchstr.o
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_initscr.c -o ../obj_s/lib_initscr.o
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_insch.c -o ../obj_s/lib_insch.o
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_insdel.c -o ../obj_s/lib_insdel.o
In file included from ../ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_15881.c:835:15: error: expected ‘)’ before ‘int’
../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include/ncurses -O2 -I/home/ricxsar/goembed/335x-buildroot/output/host/usr/include --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./base/lib_insnstr.c -o ../obj_s/lib_insnstr.o
Makefile:795: recipe for target '../obj_s/lib_gen.o' failed
make[2]: *** [../obj_s/lib_gen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/ncurses'
Makefile:307: recipe for target '../lib/libncurses.so' failed
make[1]: *** [../lib/libncurses.so] Error 2
make[1]: Leaving directory '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/progs'
package/pkg-generic.mk:182: recipe for target '/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/.stamp_built' failed
make: *** [/home/ricxsar/goembed/335x-buildroot/output/build/host-ncurses-5.9/.stamp_built] Error 2
I found a patch which will fix the error but I don't know how to patch this repository. Can you provide any instructions on how to apply the said patch.
Kindly check if the patch is working. If not, can you provide any workaround on the error.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.