473,395 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

STL libraries in Red Had Enterprise 4

Hi,
I had a Linux executable under Red Hat 7.3 (I compiled it without
problems with gcc) and now I am on another system (Red Hat Enterprise
4).

With gcc I obtain the error

.../platform/hashmap.h:9: error: `::hash_map' has not been declared
.../platform/hashmap.h:10: error: `::hash' has not been declared

and I have correctly the file ../platform/hashmap.h :
-------------------------------------------------------------------------------------

#ifndef HASHMAP_HPP_INCLUDED
#define HASHMAP_HPP_INCLUDED

#ifndef __GNUC__
# include <hash_map>
using namespace stdext;
#else
# include <hash_map>
using ::hash_map;
using ::hash;
#endif
#endif

------------------------------------------

Somebody said me that in Red Hat Enterprise 4 there are some
differences in the library management. Anybody can help me? Thanks, I
am a newbie in Linux.

Thanks

May 1 '06 #1
2 2035
vi****************@gmail.com wrote:
[..]
Somebody said me that in Red Hat Enterprise 4 there are some
differences in the library management. Anybody can help me? Thanks, I
am a newbie in Linux.


Please ask in a Linux programming newsgroup. The hierarchy to look at
is 'comp.os.linux.development.*'. Another place to look is 'gnu.g++.*'
hierarchy, they discuss the compiler/tools issues.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
May 1 '06 #2
g
in my linux box

I use #include<ext/hash_map>
and the namespace for it is __gnu_cxx::

I don't know if RHE 4 use it in another way but maybe it works! (should)

May 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Pauley | last post by:
Hi All, Our company is currently evaluating Python as a language for writing financial/accounting type software (among others). What libraries or packages are available in this domain for use?...
0
by: keyway | last post by:
We have recently implemented (enterprise library) data application blocks to VB.NET console applications - very nice. The console apps read an app.config file, which in turn communicates w/ a...
2
by: James | last post by:
Due to some reasons, I have to use C instead of C++. I am looking for C replacements for STL libraries in C. I am looking for libraries that provide collections like vector and hashmap. I don't...
14
by: Ilyan Mishiyev | last post by:
Looking for good code library applications, if anyone wants to recommend one, please let me know. Specifically looking for those, that show code snippets in VB.Net style for easy review. ...
7
by: Joe | last post by:
Hello All: I am trying to use the Enterprise Libraries created by Microsoft to update a DB2 database and am stuck. I need to be able to Insert, Update and Delete records from the DB2 datbase...
0
by: Erick | last post by:
I'm trying to create a single DLL which all developers in our organisation will reference. I want to place inside it the Microsoft Enterprise Libraries. And expose them out through the DLL. On...
5
by: =?Utf-8?B?TWljaGFlbFF1aW5sYW4=?= | last post by:
In my development environment I can add references to the Microsoft Practices libraries and everything works ok. But when I copy the application to the test server I get the message "CS0234: The...
0
by: Alex | last post by:
Hi, We're developing a large winform application using VB 2005, and we'd like to use the MS Enterprise Libraries to handle logging, audits, error handling, validation, caching, and more. I've...
0
by: =?Utf-8?B?VGVycnkgSG9sbGFuZA==?= | last post by:
Im not sure if this is the correct group for this question - please feel free to redirect me to a more appropriate group if necessary Im assessing Enterprise Libraries and I wanted to know how...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.