make[2]: *** [PreLink] 错误 126

来源:互联网 发布:淘宝手机搜索排名规则 编辑:程序博客网 时间:2024/05/16 01:21
环境:ubuntu 10.10
build Supernova 在进行到make image_all时出现以下问题

Start to prepare rootfs image ...
>>> Start to prelink... <<<
copy application/mslib/config etc... to rootfs
>>> Prelinking... <<<
make[2]: *** [PreLink] 错误 126
make[2]:正在离开目录 。。。。。。。。。。。
make[1]: *** [all] 错误 2
make[1]:正在离开目录 。。。。。。。。。。。
make: *** [image_all] 错误 2

要装prelink这个东西



How to install fakeroot in Ubuntu/Linux?
Posted by Joys of Programming on in Linux

This package is intended to enable something like: dpkg-buildpackage -rfakeroot i.e. to remove the need to become root for a package build. This is done by setting LD_PRELOAD to libfakeroot.so, which provides wrappers around getuid, chown, chmod, mknod, stat, and so on, thereby creating a fake root environment. fakeroot requires SYSV IPC or TCP to operate.(dpkg package description)
To install this package in Ubuntu,

$ sudo apt-get install fakeroot

To know more about this package, you can use dpkg

$ dpkg -s fakeroot

最后要把权限加上


原创粉丝点击