< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate] Mime.cxx compile error under Linux using gcc(hash_map problem)


Hi,

I can't compile the SVN HEAD code using gcc under Redhat EL3
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)

The compilation is successful under windows using VS.NET 7.1 but failed under
Linux using gcc.

----------------error messages of gcc-----------------
make[1]: Leaving directory `/home/jjk/work/sip/rutil'
cd resip/stack; make
make[1]: Entering directory `/home/jjk/work/sip/resip/stack'
g++ -march=i686 -D_REENTRANT -g -Wall -I../../ -I../../build/../contrib/ares -I/usr/kerberos/include/ -DUSE_ARES -DUSE_SSL -c -o obj.debug.Linux.i686/Mime.o Mime.cxx
Mime.cxx:136: prototype for `size_t
__gnu_cxx::hash<resip::Data>::operator()(const resip::Mime&) const' does not
  match any in class `__gnu_cxx::hash<resip::Data>'
../../rutil/Data.hxx:794: candidate is: size_t
  __gnu_cxx::hash<resip::Data>::operator()(const resip::Data&) const
make[1]: *** [obj.debug.Linux.i686/Mime.o] Error 1
make[1]: Leaving directory `/home/jjk/work/sip/resip/stack'
make: *** [resiprocate] Error 2