Форум С++

 

Ответить на сообщение

Вернуться к теме

Вы отвечаете на сообщение:

Автор: AlMag   (13.07.2009 в 09:33)
оказывается, не прилинковывал, но это пол беды)

%gcc 1.cpp -o 1 -I/usr/local/include -L"/usr/local/lib" -L"." -liconv
/var/tmp//ccYqoeOf.o(.text+0x1e): In function `std::__verify_grouping(char const*, unsigned int, std::string const&)':
: undefined reference to `std::string::size() const'

/var/tmp//ccYqoeOf.o(.text+0x69): In function `std::__verify_grouping(char const*, unsigned int, std::string const&)':
: undefined reference to `std::string::operator[](unsigned intconst'

/var/tmp//ccYqoeOf.o(.text+0xa7): In function `std::__verify_grouping(char const*, unsigned int, std::string const&)':
: undefined reference to `std::string::operator[](unsigned intconst'

/var/tmp//ccYqoeOf.o(.text+0xef): In function `std::__verify_grouping(char const*, unsigned int, std::string const&)':
: undefined reference to `std::string::operator[](unsigned intconst'

/var/tmp//ccYqoeOf.o(.text+0x13d): In function `__static_initialization_and_destruction_0(intint)':
: undefined reference to `std::ios_base::Init::Init()'

/var/tmp//ccYqoeOf.o(.text+0x18e): In function `__tcf_0':
: undefined reference to `std::ios_base::Init::~Init()'


и еще несколько подобных строчек

теперь что-то на std матюкается! почему? О_о


Ваше имя:

Пароль:

Цитировать

Используйте тэги для выделения текста:
Код: [code][/code]
Жирный: [b][/b]
Наклонный: [i][/i]
URL: [url][/url]

Сообщение:

Прикрепить: