From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3E9AAF1E.1090007@rmts.donpac.ru> Date: Mon, 14 Apr 2003 16:52:46 +0400 From: =?KOI8-R?Q?=F0=D2=CF=CB=CF=D0=D8=C5=D7_=E5=D7=C7=C5=CE=C9=CA?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030210 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] Re: =?KOI8-R?Q?=EB=CF=CD=D0=CF=CE=CF=D7=CB=C1_=D3_?= =?KOI8-R?Q?STL_=D7_gcc3?= References: <3E9A904C.7020404@rmts.donpac.ru> <20030414161241.3308d630.vsu@altlinux.ru> In-Reply-To: <20030414161241.3308d630.vsu@altlinux.ru> X-Enigmail-Version: 0.70.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-MDRemoteIP: 192.168.10.5 X-Return-Path: john@rmts.donpac.ru X-MDaemon-Deliver-To: community@altlinux.ru Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru X-Reply-To: john@rmts.donpac.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: > А если при сборке вызывать тоже g++, а не gcc? $ make clean rm -f *.o requester $ make g++ -c -o requester.o requester.cpp g++ -c -o serial.o serial.cpp g++ -c -o sulim.o sulim.cpp g++ -o requester requester.o serial.o sulim.o xmlconfig/XMLConfig.o -lstdc++ -lexpat sulim.o: In function `std::basic_string, std::allocator >::find(unsigned char const*, unsigned) const': sulim.o(.gnu.linkonce.t._ZNKSbIhSt11char_traitsIhESaIhEE4findEPKhj+0xd): undefined reference to `std::char_traits::length(unsigned char const*)' sulim.o: In function `std::basic_string, std::allocator >::find(unsigned char const*, unsigned, unsigned) const': sulim.o(.gnu.linkonce.t._ZNKSbIhSt11char_traitsIhESaIhEE4findEPKhjj+0x4c): undefined reference to `std::char_traits::compare(unsigned char const*, unsigned char const*, unsigned)' sulim.o: In function `std::basic_string, std::allocator >::_Rep::_M_clone(std::allocator const&, unsigned)': sulim.o(.gnu.linkonce.t._ZNSbIhSt11char_traitsIhESaIhEE4_Rep8_M_cloneERKS1_j+0xaa): undefined reference to `std::char_traits::copy(unsigned char*, unsigned char const*, unsigned)' sulim.o: In function `std::basic_string, std::allocator >::_M_mutate(unsigned, unsigned, unsigned)': sulim.o(.gnu.linkonce.t._ZNSbIhSt11char_traitsIhESaIhEE9_M_mutateEjjj+0x143): undefined reference to `std::char_traits::copy(unsigned char*, unsigned char const*, unsigned)' sulim.o(.gnu.linkonce.t._ZNSbIhSt11char_traitsIhESaIhEE9_M_mutateEjjj+0x170): undefined reference to `std::char_traits::copy(unsigned char*, unsigned char const*, unsigned)' sulim.o(.gnu.linkonce.t._ZNSbIhSt11char_traitsIhESaIhEE9_M_mutateEjjj+0x283): undefined reference to `std::char_traits::move(unsigned char*, unsigned char const*, unsigned)' sulim.o: In function `std::basic_string, std::allocator >::_S_copy_chars(unsigned char*, unsigned char const*, unsigned char const*)': sulim.o(.gnu.linkonce.t._ZNSbIhSt11char_traitsIhESaIhEE13_S_copy_charsEPhPKhS5_+0x1b): undefined reference to `std::char_traits::copy(unsigned char*, unsigned char const*, unsigned)' collect2: ld returned 1 exit status make: *** [requester] Ошибка 1 -- С уважением, Прокопьев Евгений