Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX STL hash map

Status
Not open for further replies.

radhanitt

Programmer
May 5, 2007
5
US
Hi

I am using AIX 5.3 with xlC v6.0.

I am involved in porting an application and I want STL hash map for Aix.

Looks like by default there is no hash map in AIX.

I tried STL port and I get the following error:
This is what I did:
1. Downloaded STLport-4.6.2, untar
2. make -f xlC50.mak prepare
3. Uncommented the following line in stl_user_config.h
# define _STLP_NO_OWN_IOSTREAMS 1
4. In the test/regression page gave the following cmd:
make -f xlC50.mak

I keep getting the following error.

"alg3.cpp", line 20.3: 1540-0600 (S) The reference to "vector" is ambiguous.
"/usr/vacpp/include/../include/vector", line 81.15: 1540-0425 (I) "std::vector" is defined on line 81 of "/usr/vacpp/include/../include/vector".
"../../stlport/stl/_vector.h", line 95.7: 1540-0425 (I) "_STL::vector" is defined on line 95 of "../../stlport/stl/_vector.h".

I do not know how to resolve this.

Plz help.

Tell me some way to get hash map in AIx.

I read about rogue wave STL and tried STDXX and it don't seem to have hash map. I am clueless.

Thanks,
Radha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top