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

Re: [reSIProcate] Mime.cxx compile error under Linux using gcc(hash_mapproblem)


Yes, that does fix the problem.

Thanks.

----- Original Message ----- From: "Scott Godin" <slgodin@xxxxxxxxxxxx> To: "Jinke Jiang" <jiangjinke@xxxxxxx>; "resiprocate" <resiprocate-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 08, 2005 10:40 PM
Subject: RE: [reSIProcate] Mime.cxx compile error under Linux using gcc(hash_mapproblem)


Oops - there was a typo in HashMap.hxx, with some recent changes.  It
should be fixed now.  Although, I don't have a gcc compiler handy to
test it.  : )

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-
devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jinke Jiang
Sent: Monday, November 07, 2005 11:13 PM
To: resiprocate
Subject: [reSIProcate] Mime.cxx compile error under Linux using
gcc(hash_mapproblem)

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


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel