C compiler cannot create executables
i installed binutils-2.23.0 (with gmp,mpfr,mpc on linuxmint 14 64bit) and it compiled and installed.
but the next time i tried to compile a program i got "configure:4136: error: C compiler cannot create executables".
i looked into log file and found problem:
"/usr/local/bin/ld: this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status"
i tried reinstalling packages from synaptic package manager and reinstalled binutils with some more but i still have same problem.
can somebody tell me how can i fix this or why is this error happening?
What is your distribution?
Did you install the C compiler gcc. If you want all the compiler tools install build-essential.
thanks for reply
Better uninstall / delete all the alien files from /usr/local/*.
! No alternative version of binutils, gmp, mpfr, mpc
can be installed to a system path !
If you for experimental reasons want to install non system versions,
please use './configure --prefix=/opt/test/' or another location,
which is so well hidden, that no system programs will find it.
|All times are GMT -5. The time now is 01:17 AM.|