一、安装android相关依赖库时报错误: Errors were encountered while processing: libc6-dev:i386 E: Sub-process /usr/bin/dpkg returned an error code (1) root@mao-virtual-machine:~# apt-get install libc6-dev:i386 Reading package lists... Done Building dependency tree Reading state information... Done libc6-dev:i386 is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libc6-dev:i386 : Depends: linux-libc-dev:i386 but it is not going to be installed Recommends: gcc:i386 but it is not going to be installed or c-compiler:i386 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 解决方法: :~# apt-get install linux-libc-dev:i386 :~# apt-get install libc6-dev:i386 :~# sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 二、安装交叉编译器相关的依赖可时报错: |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-22 09:57
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.