Форум на Kuban.ru (http://forums.kuban.ru/)
-   Linux (http://forums.kuban.ru/f1453/)
-   -   centos g++ error (http://forums.kuban.ru/f1453/centos_g_error-3710217.html)

fanatnascar 15.02.2013 15:19

centos g++ error
 
добрый! пытаюсь скомпилить хеловорлд
[url]http://axis.bplaced.net/news/455[/url]
итог

In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/atomicity.h:34,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/ios_base.h:41,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ios:43,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ostream:40,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iostream:40,
from hello.cpp:1:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/x86_64-redhat-linux/bits/gthr.h:170: error: expected declaration before end of line


чо делать?)
собственно, начал рыть припотытке скомпилить другое проект.

Ошибки те же самые
центось 6

40KHYTbIU 16.02.2013 10:39

1. Покажи весь лог с консоли
2. Какие флаги для сборки?

Ну и может yum update спасет. Проверил по ссылке и у меня все собралось на g++.

fanatnascar 18.02.2013 07:25

1-40KHYTbIU >снес серв, поставил новий/свэжий, пошло дело - спасибо товарищу.


Текущее время: 12:59. Часовой пояс GMT +3.