Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7897478
  • 博文数量: 701
  • 博客积分: 2150
  • 博客等级: 上尉
  • 技术积分: 13233
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-29 16:28
个人简介

天行健,君子以自强不息!

文章分类

全部博文(701)

文章存档

2019年(2)

2018年(12)

2017年(76)

2016年(120)

2015年(178)

2014年(129)

2013年(123)

2012年(61)

分类: Android平台

2016-02-16 12:41:02

1. 错误提示:

../../webrtc/test/linux/glx_renderer.h:14:10: fatal error: 'GL/glx.h' file not found

#include

         ^

1 error generated.

 

解决办法:

$ sudo apt-get install libgl1-mesa-dev

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

 

The following packages have unmet dependencies:

 libegl1-mesa : Conflicts: libegl1-x11

 libegl1-mesa-lts-vivid : Depends: libgbm1-lts-vivid (>= 7.11~1) but it is not going to be installed

                          Depends: libgl1-mesa-dri-lts-vivid (= 10.5.9-2ubuntu1~trusty2) but it is not going to be installed

                          Conflicts: libegl1-mesa

                          Conflicts: libegl1-x11

 libgl1-mesa-dev : Depends: mesa-common-dev (= 10.1.0-4ubuntu5)

                   Depends: libdrm-dev (>= 2.4.52) but it is not going to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

 

$ sudo aptitude -f install libgl1-mesa-dev

     Install the following packages:                                      

1)     libdrm-dev [2.4.52-1 (trusty)]                                     

 

     Downgrade the following packages:                                    

2)     libdrm-intel1 [2.4.60-2~ubuntu14.04.1 (now) -> 2.4.52-1 (trusty)]  

3)     libdrm-nouveau2 [2.4.60-2~ubuntu14.04.1 (now) -> 2.4.52-1 (trusty)]

4)     libdrm-radeon1 [2.4.60-2~ubuntu14.04.1 (now) -> 2.4.52-1 (trusty)] 

5)     libdrm2 [2.4.60-2~ubuntu14.04.1 (now) -> 2.4.52-1 (trusty)]        

 

 

 

Accept this solution? [Y/n/q/?] y

The following packages will be DOWNGRADED:

  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 

The following NEW packages will be installed:

  libdrm-dev{a} libgl1-mesa-dev libx11-xcb-dev{a} libxcb-dri2-0-dev{a} libxcb-dri3-dev{a} libxcb-glx0-dev{a} libxcb-present-dev{a} 

  libxcb-randr0-dev{a} libxcb-shape0-dev{a} libxcb-sync-dev{a} libxcb-xfixes0-dev{a} libxshmfence-dev{a} libxxf86vm-dev{a} 

  mesa-common-dev{a} x11proto-dri2-dev{a} x11proto-gl-dev{a} x11proto-xf86vidmode-dev{a} 

0 packages upgraded, 17 newly installed, 4 downgraded, 0 to remove and 5 not upgraded.

Need to get 547 kB/715 kB of archives. After unpacking 5,042 kB will be used.

Do you want to continue? [Y/n/?] y

Get: 1 trusty/main libdrm2 amd64 2.4.52-1 [22.7 kB]

Get: 2 trusty/main libdrm-intel1 amd64 2.4.52-1 [54.8 kB]

Get: 3 trusty/main libdrm-nouveau2 amd64 2.4.52-1 [13.4 kB]

Get: 4 trusty/main libdrm-radeon1 amd64 2.4.52-1 [23.8 kB]

Get: 5 trusty/main libdrm-dev amd64 2.4.52-1 [169 kB]

Get: 6 trusty/main mesa-common-dev amd64 10.1.0-4ubuntu5 [258 kB]

Get: 7 trusty/main libgl1-mesa-dev amd64 10.1.0-4ubuntu5 [5,238 B]

...

 

2. 错误提示:

In file included from ../../talk/media/devices/libudevsymboltable.cc:28:

../../talk/media/devices/libudevsymboltable.h:31:10: fatal error: 'libudev.h' file not found

#include

         ^

1 error generated.

[481/638] CXX obj/talk/media/webrtc/libjingle_media.webrtcvideoengine.o

ninja: build stopped: subcommand failed.

 

解决办法:

$ sudo aptitude -f install libudev-dev

The following NEW packages will be installed:

  libudev-dev{b} 

0 packages upgraded, 1 newly installed, 0 to remove and 10 not upgraded.

Need to get 25.2 kB of archives. After unpacking 342 kB will be used.

The following packages have unmet dependencies:

 libudev-dev : Depends: libudev1 (= 204-5ubuntu20) but 204-5ubuntu20.15 is installed.

The following actions will resolve these dependencies:

 

     Keep the following packages at their current version:

1)     libudev-dev [Not Installed]                        

 

 

 

Accept this solution? [Y/n/q/?] n

The following actions will resolve these dependencies:

 

     Downgrade the following packages:                            

1)     libudev1 [204-5ubuntu20.15 (now) -> 204-5ubuntu20 (trusty)]

2)     udev [204-5ubuntu20.15 (now) -> 204-5ubuntu20 (trusty)]    

 

 

 

Accept this solution? [Y/n/q/?] y

The following packages will be DOWNGRADED:

  libudev1 udev 

The following NEW packages will be installed:

  libudev-dev 

0 packages upgraded, 1 newly installed, 2 downgraded, 0 to remove and 10 not upgraded.

Need to get 794 kB of archives. After unpacking 333 kB will be used.

Do you want to continue? [Y/n/?] y

Get: 1 trusty/main udev amd64 204-5ubuntu20 [735 kB]

Get: 2 trusty/main libudev1 amd64 204-5ubuntu20 [33.5 kB]

Get: 3 trusty/main libudev-dev amd64 204-5ubuntu20 [25.2 kB]

Fetched 794 kB in 1s (763 kB/s)        

dpkg: warning: downgrading udev from 204-5ubuntu20.15 to 204-5ubuntu20

(Reading database ... 226546 files and directories currently installed.)

Preparing to unpack .../udev_204-5ubuntu20_amd64.deb ...

Adding 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev'

Unpacking udev (204-5ubuntu20) over (204-5ubuntu20.15) ...

dpkg: warning: downgrading libudev1:amd64 from 204-5ubuntu20.15 to 204-5ubuntu20

Preparing to unpack .../libudev1_204-5ubuntu20_amd64.deb ...

Unpacking libudev1:amd64 (204-5ubuntu20) over (204-5ubuntu20.15) ...

Selecting previously unselected package libudev-dev.

Preparing to unpack .../libudev-dev_204-5ubuntu20_amd64.deb ...

Unpacking libudev-dev (204-5ubuntu20) ...

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

Processing triggers for ureadahead (0.100.0-16) ...

Setting up libudev1:amd64 (204-5ubuntu20) ...

Setting up udev (204-5ubuntu20) ...

Installing new version of config file /etc/init/udev-fallback-graphics.conf ...

udev stop/waiting

udev start/running, process 12068

Removing 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev'

update-initramfs: deferring update (trigger activated)

Setting up libudev-dev (204-5ubuntu20) ...

Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

Processing triggers for ureadahead (0.100.0-16) ...

Processing triggers for initramfs-tools (0.103ubuntu4.2) ...

update-initramfs: Generating /boot/initrd.img-3.19.0-49-generic

 

3. 错误提示:

../../talk/app/webrtc/java/jni/peerconnection_jni.cc:55:10: fatal error: 'jni.h' file not found

#include

         ^

1 error generated.

[143/151] CXX obj/talk/app/webrtc/libjingle_peerconnection_unittest.webrtcsession_unittest.o

ninja: build stopped: subcommand failed.

 

解决办法:

$ sudo apt-get install openjdk-7-jdk

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  libxt-dev

Suggested packages:

  libxt-doc openjdk-7-demo openjdk-7-source visualvm

The following NEW packages will be installed:

  libxt-dev openjdk-7-jdk

...

阅读(4767) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~