From: Carlos Delgado (C.Delgado++at++pgr.salford.ac.uk)
Date: 07/11/2003 09:58:20
Hi there I have a problem when linking a program which
contains some STL code. Which works fine under Linux, but for some weird
reason it cannot link the executable file.
Please find a breif descripption of the configuration I am using and
the messages that I received.
Compiler and linker: MIPS
geriatrix 472% CC -version
MIPSpro Compilers: Version 7.2.1
STL v. 3.3
I am trying to link with the next
--- tstReceiveDataController ---
CC -n32 -I/server/PHD_STUDENTS/HOME/carlos/phd/code/include/stl
-o tstReceiveDataController
This is what I get.
"/server/PHD_STUDENTS/HOME/carlos/phd/code/include/clCountedPtr.h", line
49: warning(1388):
delete of pointer to incomplete class
delete _pValue;
^
detected during:
instantiation of "void clCountedPtr<clSubject>::_dispose()"
at
line 74
instantiation of "clCountedPtr<clSubject>
&clCountedPtr<clSubject>::operator=(const
clCountedPtr<clSubject> &)" at line 370 of
"/server/PHD_STUDENTS/HOME/carlos/phd/code/include/stl/co
ncept_checks.h"
instantiation of "clCountedPtr<clSubject>
_STL_ERROR::__assignment_operator_requirement_violation(c
lCountedPtr<clSubject>)" at line 530 of
"/server/PHD_STUDENTS/HOME/carlos/phd/code/include/stl/co
ncept_checks.h"
instantiation of "void
_Assignable_concept_specification<ptrSubject>::_Assignabl
e_requirement_violation(ptrSubject)" at line 107
of
"/server/PHD_STUDENTS/HOME/carlos/phd/code/include/stl/st
l_map.h"
instantiation of class "std::map<std::string, ptrSubject,
std::less<std::string>,
std::allocator<ptrSubject>>" at
line 68 of "clReceiveDataController.h"
ld32: ERROR 33: Unresolved text symbol
"std::__destroy_aux(std::basic_string<char,std::char_traits<char>,std::allocator<char>
>*,std::basic_string<char,std::char_traits<char>,std::allocator<char> >*,__false_type)" -- 1st referenced by libnet.a(clReceiveDataController.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "std::find_if(const char*,const
char*,CIsComma,std::random_access_iterator_tag)" -- 1st referenced by
libnet.a(clReceiveDataController.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "std::find_if(const char*,const
char*,CIsSpace,std::random_access_iterator_tag)" -- 1st referenced by
libnet.a(clReceiveDataController.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol
"__sink_unused_warning(std::basic_string<char,std::char_traits<char>,std::allocator<char>
>)" -- 1st referenced by libnet.a(clReceiveDataController.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "std::operator<<(ostream&,const
std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)"
-- 1st referenced by libnet.a(clReceiveDataController.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol
"std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >::_M_insert_aux(std::basic_string<char,std::char_traits<char>,std::allocator<char> >*,const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)" -- 1st referenced by libnet.a(clReceiveDataController.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol
"std::_List_base<clCountedPtr<clObserver>,std::allocator<clCountedPtr<clObserver>
> >::clear(void)" -- 1st referenced by libnet.a(clConcreteSubject.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol
"std::list<clCountedPtr<clObserver>,std::allocator<clCountedPtr<clObserver>
> >::remove(const clCountedPtr<clObserver>&)" -- 1st referenced by libnet.a(clSubject.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
Ta
Carlos
-- Carlos Delgado ~~~~~ Centre for Virtual Environments (\o o/) The University of Salford ___________ ¦!¦ _______________ Business House M5 4WT, U.K. ¦"Inspiration exists, but it has ¦ (44) +161 295 2918 ¦ to find us working" --Picasso ¦ Fax (44) + 161 285 2925 ________________________________ web http://www.nicve.salford.ac.uk/carlos
This archive was generated by hypermail 2b29 : Fri Jul 11 2003 - 09:00:54 PDT