Dear Team,
We are working on SC606T series module, while we are compiling the yocto build system using “SC606T_Series_Linux_Startup_User_Guide_V1.2” document facing some errors. please check below error log.
Host PC: Ubuntu 16.04
Error Log:
update-alternatives: Error: not linking /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/firmware-links.sh to firmware-links.sh since /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/firmware-links.sh exists and is not a link
update-rc.d: /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/firmware-links.sh exists during rc.d purge (continuing)
Removing any system startup links for firmware-links.sh …
usage: update-rc.d [-n] [-f] [-r ] remove
update-rc.d [-n] [-r ] [-s] defaults [NN | sNN kNN]
update-rc.d [-n] [-r ] [-s] start|stop NN runlvl [runlvl] […] .
-n: not really
-f: force
-v: verbose
-r: alternate root path (default is /)
-s: invoke start methods if appropriate to current runlevel
Adding system startup for /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/firmware-links.sh.
Adding system startup for /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/run-postinsts.
Adding system startup for /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/find_recovery_partitions.sh.
Adding system startup for /home/ganesh/projects/smart_helmet/src/yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/apq8053_32-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/init.d/logd.
Collected errors:
- satisfy_dependencies_for: Cannot satisfy the following dependencies for system-core-adbd:
- libselinux0 (>= git) *
- opkg_install_cmd: Cannot install package system-core-adbd.
@ganesh
It seems your compiling tools has some error, did you install all the tools?
Hi Jonas-Q,
Thank you for the reply…
Yes, i have installed all the tools which are mentioned in the pdf(Quectel_SC606T_Series_Linux_Startup_User_Guide_V1.2). please look at below tools which i have installed in my pc.
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev lib32ncurses5 x11proto-core-dev libx11-dev libxml-simple-perl libc6-dev libgl1-mesa-dev python-markdown libxml2-utils xsltproc chrpath gawk texinfo openjdk-7-jdk lib32z1 tofrodos
Please let me know where i doing wrong.
Hi,
I cleaned the system-core package by using “rebake -c cleanall system-core” command, After this i compiled the image by using “build-8053-32-image” command. below is the error log. Please check
Error Log:
phytec@phytec:~/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build$ build-8053-32-image
Loading cache: 100% |####################################################################################################################################| ETA: 00:00:00
Loaded 2039 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = “1.28.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “Ubuntu-14.04”
TARGET_SYS = “arm-oe-linux-gnueabi”
MACHINE = “apq8053-32”
DISTRO = “msm”
DISTRO_VERSION = “202207011131”
TUNE_FEATURES = “arm armv7a vfp neon”
TARGET_FPU = “vfp-neon”
PRODUCT = “base”
VARIANT = “”
meta-qti-data-prop
meta-qti-core-prop
meta-qti-ss-mgr-prop
meta-qti-audio-prop
meta-qti-camera-prop
meta-qti-wfd-prop
meta-qti-wlan-prop
meta-qti-location-prop
scve
fastcv
meta-qti-video-prop
meta-qti-bt-prop
meta-qti-security-prop
meta-qti-gfx-prop
meta-qti-qmmf-prop
meta-qti-auto-prop
meta-qti-bsp-prop
meta-qti-display-prop
meta-qti-data
meta-qti-camera
meta-qti-auto
meta-qti-qmmf
meta-qti-video
meta-qti-location
meta-qti-audio
meta-qti-display
meta-qti-bt
meta-qti-core
meta-qti-ss-mgr
meta-qti-wlan
meta-qti-bsp
meta-qt5
meta-quectel-app
meta-quectel-core
meta
meta-selinux = “SC60_kernel4.9:8f230dd58760ce4d7f8565d7bb56b346c1cb6ddb”
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/x86_64-linux/fec-native/1.0-r0/temp/log.do_compile.26390)
ERROR: Logfile of failure stored in: /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/x86_64-linux/fec-native/1.0-r0/temp/log.do_compile.26390
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| make all-am
| make[1]: Entering directory /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/x86_64-linux/fec-native/1.0-r0/build' | ./x86_64-linux-libtool --tag=CXX --mode=link g++ -isystem/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -lcrypto -lbase -lext4_utils -lcutils -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-O1 -o fec fec-main.o fec-image.o -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -lsparse -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -lz -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -lcrypto_utils -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -lfec -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -lfec_rs -L/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -lsquashfs_utils | x86_64-linux-libtool: error: cannot find the library '/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libselinux.la' or unhandled argument '/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libselinux.la' | make[1]: *** [fec] Error 1 | make[1]: Leaving directory
/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/x86_64-linux/fec-native/1.0-r0/build’
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/x86_64-linux/fec-native/1.0-r0/temp/log.do_compile.26390)
ERROR: Task 160 (virtual:native:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/meta-qti-bsp/recipes-devtools/verity-fec/fec.bb, do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4773 tasks of which 4767 didn’t need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
virtual:native:/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/meta-qti-bsp/recipes-devtools/verity-fec/fec.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
/home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build
phytec@phytec:~/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build$
Please provide the solution… we are already getting late for this project
Thanks & Regards
Ganesh.K
@ganesh
Could you share the log from /home/phytec/phytec_work/phytec_project/Proxyg-Smart-Helmet/SC606T-Yocto/SC60_SC600_Linux_R09_r038/poky/build/tmp-glibc/work/x86_64-linux/fec-native/1.0-r0/temp/log.do_compile.26390 ?
Please use rebake fec-native
and check whether we can build it pass.