Cannot create executable file
John Summerfied
debian at herakles.homelinux.org
Mon Feb 6 12:36:52 UTC 2006
Nguyen Danh Hieu wrote:
> but I have already installed every packages of development tools, inlcude
> binutils. It's strange for me because there was no problems some days ago
> when I compiled soure.
then check your PATH setting.
Install strace and use it:
strace -f -o /tmp/trace -e trace=process ./configure
Check the options, trace= might be wrong, you might want difference
options etc etc.
>
> 2006/2/6, John Summerfied <debian at herakles.homelinux.org>:
>
>>Nguyen Danh Hieu wrote:
>>
>>>Hello.
>>>I installed FC4 on my machine and he works normally for a month without
>>
>>any
>>
>>>problems but recently everytime when I want to compile source some
>>
>>errors
>>
>>>always happen:
>>>
>>> checking for gcc... gcc
>>> checking for C compiler default output file name... configure:
>>
>>error: C
>>
>>>compiler cannot create executables
>>> See `config.log' for more details
>>>
>>>
>>>and config.log shows:
>>>
>>> configure:2572: $? = 0
>>> configure:2574: gcc -v </dev/null >&5
>>> Using built-in specs.
>>> Target: i386-redhat-linux
>>> Configured with: ../configure --prefix=/usr
>>
>>--mandir=/usr/share/man
>>
>>>--infodir=/
>>> Thread model: posix
>>> gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
>>> configure:2577: $? = 0
>>> configure:2579: gcc -V </dev/null >&5
>>> gcc: '-V' option must have argument
>>> configure:2582: $? = 1
>>> configure:2605: checking for C compiler default output file
>>
>>name
>>
>>> configure:2608: gcc conftest.c >&5
>>> collect2: cannot find 'ld'
>>> configure:2611: $? = 1
>>> configure: failed program was:
>>> | /* confdefs.h. */
>>>I always compile programs under root so I don't understand why cannot
>>
>>You shouldn't. using an administration account to perform user tasks is
>>seldom prudent.
>>
>>
>>>create executables. Please help me out the problems.
>>>Thanks
>>
>>You can't create executables because of the problem giving rise to this
>>message:
>>
>>> collect2: cannot find 'ld'
>>
>>I imagine that of you install all the development tools, including
>>binutils, that the problem will be solved.
>>
>>
>>
>>--
>>
>>Cheers
>>John
>>
>>-- spambait
>>1aaaaaaa at computerdatasafe.com.au Z1aaaaaaa at computerdatasafe.com.au
>>Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
>>
>>do not reply off-list
>>
>>--
>>fedora-list mailing list
>>fedora-list at redhat.com
>>To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
>
>
>
>
> --
> ===================
> Nguyen Danh Hieu
>
> Physics Faculty
> Moscow State University
>
--
Cheers
John
-- spambait
1aaaaaaa at computerdatasafe.com.au Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
More information about the fedora-list
mailing list