In Cent os:C++ compiler cannot create executbles
What is the reason for the error "C++ compiler cannot create executables"?Even though I have gcc and g++...?Please help me in this issue.?Currently I am working on rpm build in Centos....!
|
Welcome to LQ.
Either a package or some files are missing /// corrupt. Please try this : # yum reinstall \ cpp gcc libgcc gcc-c++ glibc-devel glibc-common glibc-headers kernel-headers . |
without knowing what you did it is basically impossible to say
a few guesses 1)you did not issue the correct commands ? the fix ??? unknown 2)you did not install the required prerequisites to build the software ? the fix ??? unknown 3)you did not install the full gcc tool chain ? for that Code:
su - Code:
yum grouplist as to this ???? Code:
I am working on rpm build in Centos....! use yum to install rpmbuild |
Download and Install mingw compiler package
|
Quote:
|
Which version of centos u are using.
You probably need to install the updated g++ package from 5.2 onwards |
Quote:
The rest of the help you have gotten so far doesn't look very helpful to me. I'm posting mainly to help you focus on the constructive earlier replies rather than get lost in the rest. |
All times are GMT -5. The time now is 08:46 PM. |