Dependency libmpc2 Debian 8.3 -


i'm trying install development tools in debian 8.3 jessie apt-get, cpp-4.7.arm-linux-gnueabihf , gcc-4.7.arm-linux-gnueabihf i'm getting dependency problem libmpc2.

root@debian-host:~# apt-get install cpp-4.7.arm-linux-gnueabihf gcc-4.7.arm-linux-gnueabihf reading package lists... done building dependency tree        reading state information... done note, selecting 'cpp-4.7-arm-linux-gnueabihf' regex 'cpp-4.7.arm-linux-gnueabihf' note, selecting 'gcc-4.7-arm-linux-gnueabihf' regex 'gcc-4.7.arm-linux-gnueabihf' note, selecting 'gcc-4.7-arm-linux-gnueabihf-base' regex 'gcc-4.7.arm-linux-gnueabihf' packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation:  following packages have unmet dependencies: cpp-4.7-arm-linux-gnueabihf : depends: libmpc2 not installable gcc-4.7-arm-linux-gnueabihf : depends: libmpc2 not installable                            recommends: libc6-dev-armhf-cross (>= 2.13-5) not going installed e: unable correct problems, have held broken packages. 

now seems libmpc3 available debian version, how can point new version , solve these dependencies problem?

thank you

according debian-wiki-crosstoolchains, need add the debian cross-toolchains repository:

nano /etc/apt/sources.list.d/crosstools.list 

add following line:

deb http://emdebian.org/tools/debian/ jessie main 

import key:

curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add - 

then run:

sudo apt-get update sudo apt-get -f install sudo dpkg --add-architecture armhf sudo apt-get update sudo apt-get install crossbuild-essential-armhf 

this pull in required packages cross-build target architecture, namely libc6-dev:, gcc-, g++- , dpkg-cross. (note dpkg-cross removed jessie, remains in debian cross-toolchains repository).


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -