ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Компоновка с STL в gcc3
@ 2003-04-14 10:41 Прокопьев Евгений
  2003-04-14 12:12 ` [Comm] " Sergey Vlasov
  0 siblings, 1 reply; 6+ messages in thread
From: Прокопьев Евгений @ 2003-04-14 10:41 UTC (permalink / raw)
  To: community

Здравствуйте!

Был проект, компилировавшийся без проблем в gcc2 от ALM 2.0. Теперь 
компиляция тоже проходит без проблем, а при компоновке я получаю следующее:

$ make
g++    -c -o requester.o requester.cpp
g++    -c -o serial.o serial.cpp
g++    -c -o sulim.o sulim.cpp
gcc  -o requester requester.o serial.o sulim.o xmlconfig/XMLConfig.o 
-lstdc++ -lexpat
sulim.o: In function `std::basic_string<unsigned char, 
std::char_traits<unsigned char>, std::allocator<unsigned char> 
 >::find(unsigned char const*, unsigned) const':
sulim.o(.gnu.linkonce.t._ZNKSbIhSt11char_traitsIhESaIhEE4findEPKhj+0xd): 
undefined reference to `std::char_traits<unsigned char>::length(unsigned 
char const*)'
sulim.o: In function `std::basic_string<unsigned char, 
std::char_traits<unsigned char>, std::allocator<unsigned char> 
 >::find(unsigned char const*, unsigned, unsigned) const':
sulim.o(.gnu.linkonce.t._ZNKSbIhSt11char_traitsIhESaIhEE4findEPKhjj+0x4c): 
undefined reference to `std::char_traits<unsigned 
char>::compare(unsigned char const*, unsigned char const*, unsigned)'
...
collect2: ld returned 1 exit status
make: *** [requester] Ошибка 1

Куда копать?

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-04-15 11:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-14 10:41 [Comm] Компоновка с STL в gcc3 Прокопьев Евгений
2003-04-14 12:12 ` [Comm] " Sergey Vlasov
2003-04-14 12:52   ` Прокопьев Евгений
2003-04-14 13:25     ` Sergey Vlasov
2003-04-15  4:13       ` Прокопьев Евгений
2003-04-15 11:42         ` Sergey Vlasov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git