* Error while doing make for gcc-4.4-20081128
@ 2008-12-02 13:27 ganeshp
2008-12-02 15:50 ` John (Eljay) Love-Jensen
0 siblings, 1 reply; 5+ messages in thread
From: ganeshp @ 2008-12-02 13:27 UTC (permalink / raw)
To: gcc-help
Hi All,
I was trying to install gcc-4.4-20081128 on my system (OS is SLES 10 SP1)
When i executed make command inside "build" directory, i got the following
error
"
configure:3352: error: in `/home/ganesh/q4/comp/gcc/gcc-4.4-20081128/build':
configure:3355: error: C compiler cannot create executables
See `config.log' for more details.
"
when i looked in to the `config.log' file, its content was as follows.
Can anyone please let me know on how to solve this issue ?
Thanks and regards,
Ganesh
`config.log' file content is given below
configure:3282: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3285: $? = 1
configure:3308: checking for C compiler default output file name
configure:3311: gcc conftest.c >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find /lib64/ld-linux-x86-64.so.2
collect2: ld returned 1 exit status
configure:3314: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
Thread model: posix
gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)
configure:3280: $? = 0
configure:3282: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3285: $? = 1
configure:3308: checking for C compiler default output file name
configure:3311: gcc conftest.c >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find /lib64/ld-linux-x86-64.so.2
collect2: ld returned 1 exit status
configure:3314: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3352: error: in `/home/ganesh/q4/comp/gcc/gcc-4.4-20081128/build':
configure:3355: error: C compiler cannot create executables
--
View this message in context: http://www.nabble.com/Error-while-doing-make-for-gcc-4.4-20081128-tp20792084p20792084.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Error while doing make for gcc-4.4-20081128
2008-12-02 13:27 Error while doing make for gcc-4.4-20081128 ganeshp
@ 2008-12-02 15:50 ` John (Eljay) Love-Jensen
2008-12-03 9:49 ` ganeshp
0 siblings, 1 reply; 5+ messages in thread
From: John (Eljay) Love-Jensen @ 2008-12-02 15:50 UTC (permalink / raw)
To: ganeshp, gcc-help
Hi Ganesh,
Your build directory is here:
/home/ganesh/q4/comp/gcc/gcc-4.4-20081128/build
Where is the GCC source code directory?
Keep in mind that the GCC build instructions specify not to have your build directory *BE* the source code directory, nor any subdirectory thereof.
http://gcc.gnu.org/install/configure.html
You did not provide your configure command-line. What did you use for configure's parameters?
Sincerely,
--Eljay
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Error while doing make for gcc-4.4-20081128
2008-12-02 15:50 ` John (Eljay) Love-Jensen
@ 2008-12-03 9:49 ` ganeshp
2008-12-03 13:22 ` John (Eljay) Love-Jensen
0 siblings, 1 reply; 5+ messages in thread
From: ganeshp @ 2008-12-03 9:49 UTC (permalink / raw)
To: gcc-help
Hi Eljay,
I tried following
source directory: /home/ganesh/q4/comp/gcc/gcc-4.4-20081128
build directory: /home/ganesh/q4/comp/gcc/build
Inside build directory i executed ../gcc-4.4-20081128/configure
--enable-multilib --disable-nls --enable-languages=c,c++,fortran
--prefix=/home/ganesh/q4/comp/gcc/gcc_install
I get following error:
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: in
`/home/ganesh/q4/comp/gcc/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [config.status] Error 77
config.log has following content
configure:3308: checking for C compiler default output file name
configure:3311: gcc conftest.c >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find /lib64/ld-linux-x86-64.so.2
collect2: ld returned 1 exit status
configure:3314: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3352: error: in `/home/ganesh/q4/comp/gcc/build':
configure:3355: error: C compiler cannot create executables
--
View this message in context: http://www.nabble.com/Error-while-doing-make-for-gcc-4.4-20081128-tp20792084p20809782.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error while doing make for gcc-4.4-20081128
2008-12-03 9:49 ` ganeshp
@ 2008-12-03 13:22 ` John (Eljay) Love-Jensen
2008-12-05 6:36 ` ganeshp
0 siblings, 1 reply; 5+ messages in thread
From: John (Eljay) Love-Jensen @ 2008-12-03 13:22 UTC (permalink / raw)
To: ganeshp, GCC-help
Hi Ganesh,
Did you delete the tainted source, rm -rf /home/ganesh/q4/comp/gcc/gcc-4.4-20081128, and then untar the GCC 4.4 source fresh?
Is the /lib64/ld-linux-x86-64.so.2 64-bit shared object library located there? If not, why not?
HTH,
-Eljay
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error while doing make for gcc-4.4-20081128
2008-12-03 13:22 ` John (Eljay) Love-Jensen
@ 2008-12-05 6:36 ` ganeshp
0 siblings, 0 replies; 5+ messages in thread
From: ganeshp @ 2008-12-05 6:36 UTC (permalink / raw)
To: gcc-help
Hi Eljay,
I removed all the files and started from first.
It worked.
Thank you,
Ganesh
--
View this message in context: http://www.nabble.com/Error-while-doing-make-for-gcc-4.4-20081128-tp20792084p20848484.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-05 6:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02 13:27 Error while doing make for gcc-4.4-20081128 ganeshp
2008-12-02 15:50 ` John (Eljay) Love-Jensen
2008-12-03 9:49 ` ganeshp
2008-12-03 13:22 ` John (Eljay) Love-Jensen
2008-12-05 6:36 ` ganeshp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).