|
【Linux】
Can't add systemd package in buildroot rootfs
Posted at 7/12/2022 03:05:39
View:1772
|
Replies:2
Print
Only Author
[Copy Link]
1#
Hello all!
I tried to add systemd package for my rv1126 project, but i got compilation error.
here is my test build config
- #include "base.config"
- #include "base_extra.config"
- #include "debug.config"
- #include "audio.config"
- #include "wifi.config"
- #include "network.config"
- #include "bt.config"
- #include "video_mpp.config"
- #include "rv1126_rv1109_arm.config"
- #include "systemd.config"
- #include "camera.config"
- BR2_ROOTFS_OVERLAY="board/rockchip/rv1126_rv1109/fs-overlay-systemd/"
- BR2_PACKAGE_CAMERA_ENGINE_RKISP_IQFILE="imx327_TongJu_CHT842-MD.xml"
- BR2_PACKAGE_RKWIFIBT_AP6212A1=y
- BR2_PACKAGE_RKMEDIA=y
- BR2_PACKAGE_RKMEDIA_MPP=y
- BR2_PACKAGE_RKMEDIA_FFMPEG=y
- BR2_PACKAGE_RKMEDIA_ALSA_PLAYBACK=y
- BR2_PACKAGE_RKMEDIA_ALSA_CAPTURE=y
- BR2_PACKAGE_RKMEDIA_V4L2_CAPTURE=y
- BR2_PACKAGE_RKMEDIA_RKRGA=y
- BR2_PACKAGE_DRM_DISPLAY_OUTPUT=y
- BR2_PACKAGE_RKMEDIA_LIVE555=y
- BR2_PACKAGE_RKMEDIA_RTSP_SERVER=y
- BR2_PACKAGE_RKMEDIA_RTSP_SERVER_H264=y
- BR2_PACKAGE_FFMPEG=y
- BR2_PACKAGE_DBUS_CPP=y
- BR2_PACKAGE_DBUS_GLIB=y
- BR2_PACKAGE_SQLITE=y
- BR2_PACKAGE_SQLITE_STAT3=y
- BR2_PACKAGE_SQLITE_ENABLE_FTS3=y
- BR2_PACKAGE_SQLITE_ENABLE_JSON1=y
- BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY=y
- BR2_PACKAGE_SQLITE_SECURE_DELETE=y
- BR2_PACKAGE_CJSON=y
- BR2_PACKAGE_JSON_C=y
- BR2_PACKAGE_JSON_FOR_MODERN_CPP=y
- BR2_PACKAGE_LIBCGICC=y
- BR2_PACKAGE_RTMPDUMP=y
- BR2_PACKAGE_BOOST=y
- BR2_PACKAGE_BOOST_ATOMIC=y
- BR2_PACKAGE_BOOST_CHRONO=y
- BR2_PACKAGE_BOOST_DATE_TIME=y
- BR2_PACKAGE_BOOST_FILESYSTEM=y
- BR2_PACKAGE_BOOST_LOG=y
- BR2_PACKAGE_BOOST_REGEX=y
- BR2_PACKAGE_BOOST_STACKTRACE=y
- BR2_PACKAGE_BOOST_SYSTEM=y
- BR2_PACKAGE_BOOST_THREAD=y
- BR2_PACKAGE_CONNMAN=y
- BR2_PACKAGE_CONNMAN_WIFI=y
- BR2_PACKAGE_CONNMAN_LOOPBACK=y
- BR2_PACKAGE_CONNMAN_CLIENT=y
- BR2_PACKAGE_FCGIWRAP=y
- BR2_PACKAGE_NGINX=y
- BR2_PACKAGE_NGINX_HTTP_SSL_MODULE=y
- BR2_PACKAGE_NGINX_DEBUG=y
- BR2_PACKAGE_NGINX_RTMP=y
Copy the code
Here is the error log
- PATH="/rv1126_source/buildroot/output/rockchip_rv1126_omodule/host/bin:/rv1126_source/buildroot/output/rockchip_rv1126_omodule/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" meson --prefix=/usr --libdir='/usr/lib' --buildtype release --cross-file /rv1126_source/buildroot/output/rockchip_rv1126_omodule/host/etc/meson/cross-compilation.conf -Drootlibdir='/usr/lib' -Dblkid=true -Dman=false -Dima=false -Dlibcryptsetup=false -Defi=false -Dgnu-efi=false -Dldconfig=false -Ddefault-dnssec=no -Dtests=false -Dtelinit-path=/rv1126_source/buildroot/output/rockchip_rv1126_omodule/target/sbin/telinit -Dkill-path=/usr/bin/kill -Dkmod-path=/usr/bin/kmod -Dkexec-path=/usr/sbin/kexec -Dsulogin-path=/usr/sbin/sulogin -Dmount-path=/usr/bin/mount -Dumount-path=/usr/bin/umount -Dacl=false -Daudit=false -Dlibidn=false -Dseccomp=false -Dxkbcommon=false -Dbzip2=false -Dlz4=false -Dpam=false -Dxz=false -Dzlib=true -Dlibcurl=false -Dgcrypt=false -Dmicrohttpd=false -Dqrencode=false -Dselinux=false -Dhwdb=false -Dbinfmt=false -Dvconsole=false -Dquotacheck=false -Dtmpfiles=true -Dsysusers=false -Dfirstboot=true -Drandomseed=false -Dbacklight=false -Drfkill=false -Dlogind=false -Dmachined=false -Dimportd=false -Dhostnamed=true -Dmyhostname=false -Dtimedated=false -Dlocaled=false -Dcoredump=false -Dpolkit=false -Dnetworkd=false -Dresolve=false -Dtimesyncd=false -Dsmack=false -Dhibernate=false -Dfallback-hostname=omodule /rv1126_source/buildroot/output/rockchip_rv1126_omodule/build/systemd-237 /rv1126_source/buildroot/output/rockchip_rv1126_omodule/build/systemd-237/build
- 2022-06-15T15:04:13 Could not find any valid candidate for cross files: /rv1126_source/buildroot/output/rockchip_rv1126_omodule/host/etc/meson/cross-compilation.conf
- 2022-06-15T15:04:13
- 2022-06-15T15:04:13 ERROR: Cannot find specified cross file: /rv1126_source/buildroot/output/rockchip_rv1126_omodule/host/etc/meson/cross-compilation.conf
- 2022-06-15T15:04:13 package/pkg-generic.mk:218: recipe for target '/rv1126_source/buildroot/output/rockchip_rv1126_omodule/build/systemd-237/.stamp_configured' failed
- 2022-06-15T15:04:13 make[1]: *** [/rv1126_source/buildroot/output/rockchip_rv1126_omodule/build/systemd-237/.stamp_configured] Error 1
- 2022-06-15T15:04:13 /rv1126_source/buildroot/output/rockchip_rv1126_omodule/Makefile:16: recipe for target '_all' failed
- 2022-06-15T15:04:13 make: *** [_all] Error 2
- Command exited with non-zero status 1
- you take 10:17.70 to build builroot
- ERROR: Running build_buildroot failed!
Copy the code
What i do wrong? Can anybody help me?
|
|