2012/3/22 John Reiser <jreiser(a)bitwagon.com>:
> I tried to build hello word
>
> #include <stdio.h>
>
> int main(void)
> {
> printf("test\n");
>
> return 0;
> }
>
> and it fails.
You did not show the error message, nor the _exact_ command which
generated it. Re-run with "gcc -v" so that we can see.
> It seems to me that I have something really wrong with C/C++
> toolchain.
So, verify that all the files are present and correct:
rpm --verify $(rpm -qa | grep gcc)
rpm --verify $(rpm -qf /lib*/ld*)
I did it 30 minutes ago but did not notice anything suspicious.
I reinstalled all packages with yum reinstall * and problem is gone :)
I suppose something had to be broken during a power failure or when I
had soft lockup during upgrade.
Thanks a lot for your help!
--
--
devel mailing list
devel(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
--
Best regards,
Michal
http://eventhorizon.pl/