Build FAQ
-lxxx
failed incmake
type build, butldconfig
andpkg-config
can query the library information.The link library path is not a regular path, the new path is
/runtime/lib
. Add the environment variableLIBRARY_PATH=<libpath>
, which is included in the build environment by default.link
static library failed when building, which requires re-build withfPIC
.Use the
-fPIC
parameter when building a static library.Failed to start
box
during build, as shown below.The kernel does not support
unprivilege namespace
, please openunprivilege namespace
to solve it.bashsudo sysctl -w kernel.unprivileged_userns_clone=1
The build of
qtbase
is successful, but theqt
application cannot be built, which promptsmodule,mkspec
related errors.There is a problem in the lower version of
fuse-overlay mount
, which leads to the polluted file content whenqtbase commit
, and cannot be used. Usefuse-overlayfs >= 1.8.2
version.