View previous topic :: View next topic |
Author |
Message |
valkyrite Apprentice
Joined: 19 Sep 2002 Posts: 241
|
Posted: Thu Aug 14, 2003 5:41 pm Post subject: configure: error: C compiler cannot create executables |
|
|
I am getting following error message while trying to do emerge (or for that matter any other compilation). How can I rectify the problem? I checked for the path to various libraries and binaries and found them to be consistent as far as I new. What could be the possible cause of the problem? Please reply asap.
Error msg:
checking for C compiler default output... configure: error: C compiler cannot create executables
check `config.log' for details.
make: *** [unix-def.mk] Error 77
!!! ERROR: media-libs/freetype-2.1.4 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
TIA
Sincerely
Santosh Tiwari |
|
Back to top |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Thu Aug 14, 2003 7:01 pm Post subject: |
|
|
That error is often CFLAGS. Did you, in fact:
Code: |
check `config.log' for details.
|
As instructed? It will often point out a compile option that is the difficulty.
Also, search these forums on the "cannot create executables" error - you will find a large number of hits, many of which will be helpful. |
|
Back to top |
|
|
valkyrite Apprentice
Joined: 19 Sep 2002 Posts: 241
|
Posted: Thu Aug 14, 2003 9:12 pm Post subject: Thanks the problem was with CFLAGS |
|
|
I remove the option "-mmx" and it worked. |
|
Back to top |
|
|
GuidoJ Guru
Joined: 24 Dec 2002 Posts: 444 Location: Netherlands
|
Posted: Fri Aug 15, 2003 9:56 am Post subject: |
|
|
Note that the option should have been -mmmx (3 m's). |
|
Back to top |
|
|
valkyrite Apprentice
Joined: 19 Sep 2002 Posts: 241
|
Posted: Fri Aug 15, 2003 10:35 am Post subject: Thanks |
|
|
Thanks |
|
Back to top |
|
|
|