This is a cache of https://discuss.96boards.org/t/is-changed-requirement-for-compiling/8894. It is a snapshot of the page at 2024-10-31T02:04:30.999+0000.
Is changed requirement for compiling? - TB-96AIoT - 96Boards Forum

Is changed requirement for compiling?

I did downdown TB 96AioT source down 2 month ago.
then I did sucess to build on 16.04 ubuntu linux.

I did update BSP update with repo sync , then i fail to build
because Textinfo is not found and make version is too old

http://ftp.gnu.org/gnu/make/make-4.2.tar.gz
http://ftp.gnu.org/gnu/texinfo/

I download them from above site

but errors appear in compiling

source buildroot/build/envsetup.sh
make
checking menu.h presence... yes
checking for menu.h... yes
checking form.h usability... yes
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanel... no
configure: error: panel library not found
make[1]: *** [package/pkg-generic.mk:247: 

i think TB96AIoT BSP is unstable

When building buildroot.
after execute the command “buildroot/build/envsetup.sh”

should choose the option “rockchip_rk1808”, (10 for old sdk, but 12 for new sdk).

and should
execute “cd buildroot” firstly
then
execute " make"

Sorry for the mistake of compiling steps.

hi lodestar

I did
"
2043 repo sync
2044 source buildroot/build/envsetup.sh
2045 cd buildroot/
2046 make
"

checking form.h usability... yes
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanel... no
configure: error: panel library not found
make[1]: *** [package/pkg-generic.mk:247: /media/home4/jhlim/git_TB96IOT/buildroot/output/rockchip_rk1808/build/alsa-utils-1.1.5/.stamp_configured] Error 1
make: *** [Makefile:83: _all] Error 2
jhlim@r9ydp-build:~/git_TB96IOT/buildroot (master)$ git remote -v
beiqi   https://github.com/96boards-tb-96aiot/buildroot (fetch)
beiqi   https://github.com/96boards-tb-96aiot/buildroot (push)

The alsa-utils compile error is still happen.
I think the compile error not depends on RK BSP. but the error makes RK BSP unuseful

Thanks in advances

Please make sure all theses tools are installed.

sudo apt-get install gawk repo git-core gitk git-gui gcc-arm-lin
ux-gnueabihf u-boot-tools device-tree-compiler gcc-aarch64-linux-gn
u mtools parted libudev-dev libusb-1.0-0-dev python-linaro-image-to
ols linaro-image-tools autoconf autotools-dev libsigsegv2 m4 intlto
ol libdrm-dev curlsed make binutils build-essential gcc g++ bash pat
ch gzip bzip2 perl tar cpio python unzip rsyncfile bc wget libncurse
s5 libqt4-dev libglib2.0-dev libgtk2.0-dev libglade2-dev cvs git mer
curialrsync openssh-client subversion asciidoc w3m dblatex graphviz
python-matplotlib libc6:i386 liblz4-tool

hi loaestar

all tools are not installed

  1. invaild package
    I can’t install “rsyncfile mercurial” packages in above lists

  2. invalid pacakges in ubuntu 16.04

The following packages have unmet dependencies:
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed

my build pc is “4.15.0-58-generic #64~16.04.1-Ubuntu SMP Wed Aug 7 14:10:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux”.

these packages that not installed are essential ?