在centos下安装vivado和petalinux
(2014-09-12 09:27:27)
标签:
centos6.5petalinuxvivado2014.2 |
I got the issue fixed finally and this is how:
I started first by looking in the build.log file for more information about the issue and I found the following:
...
[ALL ] tinylogin-dev update-rc.d update-rc.d-dev
[ALL ] Authentication warning
overridden.
[ALL ]
/opt/PetaLinux/petalinux-v2013.10-final/tools/pack
[ERROR] E: Sub-process
/opt/PetaLinux/petalinux-v2013.10-final/tools/pack
[ERROR] make[2]: *** [pkg_stagefs] Error 255
[ALL ] make[2]: Leaving directory
`/home/fyonga/Documents/Embedded_linux/Peta_projec
...
and by checking at the depencies of dpkg used by petalinux, the command
ldd
/petalinux/installation/folder/tools/packagemanage
returned:
linux-gate.so.1 =>
(0xf7731000)
libselinux.so.1 =>
not found
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf755f000)
/lib/ld-linux.so.2 (0xf7732000)
Effectively the shared
library
The
file is attached here. A more beautiful solution (I think) would be
to try generating one for a 32-bit version of your
Ubuntu.
Now
将
20140913 UPDATE:
作其他编译时,依然报错。按照上述文档的另一回复:
I just put an Answer Record into the
queue for publication on this as I got an answer from PetaLinux
engineering about this.
diff --git
a/components/packages-repo/Makefile
index 2d90a90..e127b1b 100644
--- a/components/packages-repo/Makefile
+++ b/components/packages-repo/Makefile
@@
TARGETROOT_APTROOT_CONF=$(TARGETDIR)/.targetroot.a
TARGETROOT_APTCONFIG=$(TARGETROOT_APTROOT_CONF)/et
+FALSEPATH=$(APTPATH)/bin:/usr/bin:/bin
FALSELDPATH=$(APTPATH)/lib:$(APTPATH)/lib/libfaker
--
1.9.0
对 相关的makefile作了修改后,编译可以通过。(需要保留上面拷贝的库,该库在/components/packages-repo/i686下有,但如果不拷贝出来,就会报缺少该文件。)。