Hi everyone,
I am new for OpenIL and ls1028a.
I followed https://www.nxp.com/docs/en/user-guide/OPEN-LINUX-IND-UM-1-6.pdf and confronted a bunch of errors.
The following is the exact command I run:
git clone https://github.com/openil/openil.git
cd openil
git checkout OpenIL-201908 -b OpenIL-201908
make nxp_ls1028ardb-64b_ubuntu_defconfig
make
The first warning I got is "WARNING: no hash file for ubuntu-base-16.04.3-base-arm64.tar.gz", followed by some "tar : dev/xxxx: Cannot mknod: Operation not permitted" and many other errors.
The attachment is the full log of building.
I have been seeking for solution for days, but all the methods I found did not work.
Is there anyone can help, please?
My environment is Ubuntu 18.04 x86_64 GNU_Linux, and my Ubuntu is installed in an external disk, which I do not know if it matters.
已解决! 转到解答。
Hello Eric Chen,
I also encountered a similar problem during building libnfc-nci, please install "pkg-config" to overcome the current issue with command "sudo apt-get install pkg-config".
I installed the following packages before building libnfc-nci successfully.
$ sudo apt update
$ sudo apt-get install git make gcc g++ python autoconf automake libtool dh-autoreconf pkg-config
Thanks,
Yiping
Hello Eric Chen,
I also encountered a similar problem during building libnfc-nci, please install "pkg-config" to overcome the current issue with command "sudo apt-get install pkg-config".
I installed the following packages before building libnfc-nci successfully.
$ sudo apt update
$ sudo apt-get install git make gcc g++ python autoconf automake libtool dh-autoreconf pkg-config
Thanks,
Yiping
Hi yipingwang,
Thank you very much for replying.
Is this method for "cannot mknod"?
I latter found out the content in my openil directory is not the same as the content on Github.
Since I don't know what's wrong with my "git clone", I download the content on Github as zip.
I don't have "cannot mknod" problem now, but the building process is still running.
I'll leave a comment again whether this building succeed or not.
Best regards,
Eric
In your console log, the building failed at compiling libnfc-nci-R2.4 as the following.
./bootstrap: 4: ./bootstrap: aclocal: not found
./bootstrap: 5: ./bootstrap: autoheader: not found
./bootstrap: 6: ./bootstrap: libtoolize: not found
./bootstrap: 7: ./bootstrap: automake: not found
./bootstrap: 8: ./bootstrap: autoreconf: not found
/bin/bash: ./configure: 娌掓湁姝や竴妾旀鎴栫洰閷?package/pkg-generic.mk:206: recipe for target '/home/eric_chen/openil/output/build/libnfc-nci-R2.4/.stamp_configured' failed
make: *** [/home/eric_chen/openil/output/build/libnfc-nci-R2.4/.stamp_configured] Error 127
It works! Thank you Yiping!
I still have a question about the manual though.
I followed the steps to checkout to the branch "OpenIL-201908" (I've tried "OpenIL-v1.6.2-201911" too), but I have to change several lines in nxp_ls1028ardb-64b_ubuntu_defconfig and add some sh file in certain directories since this branch doesn't support ubuntu 18.04.
Or should I just stay in master branch and build image?