[ROOT] compile error with root v4-00-01 and gcc version 2.95.4

From: Kilian Schwarz (kschwarz@gsi.de)
Date: Thu Feb 05 2004 - 10:53:52 MET


Dear Colleages,

I try to compile root v4-00-01 by using
gcc version 2.95.4 20011002 (Debian prerelease)
and I get the following errors:
Can somebody help ?

===========================================
g++ -O  -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude  -o
newdelete/src/NewDelete.o -c newdelete/src/NewDelete.cxx
newdelete/src/NewDelete.cxx: In function `void * operator new(unsigned
int, void *)':
newdelete/src/NewDelete.cxx:242: redefinition of `void * operator
new(unsigned int, void *)'
/usr/lib/gcc-lib/i386-linux/2.95.4/include/new:38: `void * operator
new(unsigned int, void *)' previously defined here
newdelete/src/NewDelete.cxx: In function `void * operator new [](unsigned
int, void *)':
newdelete/src/NewDelete.cxx:339: redefinition of `void * operator new
[](unsigned int, void *)'
/usr/lib/gcc-lib/i386-linux/2.95.4/include/new:39: `void * operator new
[](unsigned int, void *)' previously defined here
gmake: *** [newdelete/src/NewDelete.o] Error 1
============================================

Cheers,

Klian

-----------------------------------------
Dr. Kilian Schwarz
Gesellschaft für Schwerionenforschung mbH
Datenverarbeitung und Experimentelektronik 
Planckstr. 1, D-64291 Darmstadt, Germany 
phone: +49-6159-71-2076
fax  : +49-6159-71-2986  
-----------------------------------------



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET