I have a mips64 machine running Debian Wheezy. GCC compiler installs without any issues, however, linker is having some trouble:
apt-get install gcc make
gcc helloworld.c -o helloworld
/usr/bin/ld: cannot find crt1.o: No such file or directory
A quick internet search shows that I am allegedly missing libc6-dev, however, it is the wrong version:
apt-get install libc6-dev
The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.13-38+deb7u9) but 2.13-38+deb7u10 is to be installed
Forcing the install with:
apt-get download libc6-dev
dpkg -i --force-all libc6-dev_2.13-38+deb7u9_mips.deb
Fixes the problem, but now every time that I use apt tools, they complain that I have incompatible packages. I tried the following:
apt-get install libc6-dev=2.13-38+deb7u9
libc6-dev : Depends: libc6 (= 2.13-38+deb7u9) but 2.13-38+deb7u10 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Also, trying to upgrade the "parent" package lib6, says I already have the latest version (which is 2.13-38+deb7u9).
This problem appeared two days ago (probably when libc6-dev 2.13-38+deb7u10 was released, but without the same version of libc6). Is there a way to satisfy all the dependencies here?