Re: [ROOT] compiling ROOT 3.04 with gcc3.0.2

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Nov 22 2001 - 04:42:36 MET


Hi PG,

   I'll check as soon as I am back from Alice week in Delhi.
But 3.01 works fine, so I am almost sure you made some installation error
of gcc 3.02. But to be sure let me try first.

Cheers, Fons.


On Wed, Nov 21, 2001 at 04:11:07PM +0100, Piergiorgio Cerello wrote:
> Hi Rooters,
> I'm trying to compile root_v3.02.04 on RH7 (kernel 2.4.2) with gcc-3.0.2
> The library creation is ok, but I get stuck when creating bin/rootd and I
> get the following message:
> 
> g++ -O  -o bin/rootd rootd/src/daemon.o rootd/src/error.o rootd/src/net.o
> rootd/src/netpar.o rootd/src/rootd.o    -lcrypt \
> 	   -lm -ldl -L/usr/lib -lpthread -rdynamic
> rootd/src/daemon.o(.data+0x0): undefined reference to
> `__gxx_personality_v0'
> rootd/src/error.o(.data+0x0): undefined reference to
> `__gxx_personality_v0'
> rootd/src/net.o: In function `NetRecv(void*&, int&, EMessageTypes&)':
> rootd/src/net.o(.text+0x478): undefined reference to `operator
> new[](unsigned)'
> rootd/src/net.o: In function `NetRecv(char*, int, EMessageTypes&)':
> rootd/src/net.o(.text+0x533): undefined reference to `operator
> delete[](void*)'
> rootd/src/net.o(.data+0x120): undefined reference to
> `__gxx_personality_v0'
> rootd/src/netpar.o: In function `NetParOpen(int, int)':
> rootd/src/netpar.o(.text+0x4cd): undefined reference to `operator
> new[](unsigned)'
> rootd/src/netpar.o(.text+0x5f5): undefined reference to `operator
> new[](unsigned)'
> rootd/src/netpar.o(.text+0x603): undefined reference to `operator
> new[](unsigned)'
> rootd/src/netpar.o(.text+0x611): undefined reference to `operator
> new[](unsigned)'
> rootd/src/netpar.o(.text+0x61f): undefined reference to `operator
> new[](unsigned)'
> rootd/src/netpar.o: In function `NetParClose()':
> rootd/src/netpar.o(.text+0x6ec): undefined reference to `operator
> delete[](void*)'
> rootd/src/netpar.o(.text+0x706): undefined reference to `operator
> delete[](void*)'
> rootd/src/netpar.o(.text+0x720): undefined reference to `operator
> delete[](void*)'
> rootd/src/netpar.o(.text+0x73a): undefined reference to `operator
> delete[](void*)'
> rootd/src/netpar.o(.text+0x754): undefined reference to `operator
> delete[](void*)'
> rootd/src/netpar.o(.data+0x4): undefined reference to
> `__gxx_personality_v0'
> rootd/src/rootd.o: In function `RootdCheckTab(int)':
> rootd/src/rootd.o(.text+0x5fc): undefined reference to `operator
> new[](unsigned)'
> rootd/src/rootd.o(.text+0x6f1): undefined reference to `operator
> delete[](void*)'
> rootd/src/rootd.o: In function `RootdCloseTab(int)':
> rootd/src/rootd.o(.text+0x95b): undefined reference to `operator
> new[](unsigned)'
> rootd/src/rootd.o(.text+0xb43): undefined reference to `operator
> delete[](void*)'
> rootd/src/rootd.o: In function `RootdPut(char const*)':
> rootd/src/rootd.o(.text+0x1a48): undefined reference to `operator
> new[](unsigned)'
> rootd/src/rootd.o(.text+0x1b58): undefined reference to `operator
> delete[](void*)'
> rootd/src/rootd.o: In function `RootdGet(char const*)':
> rootd/src/rootd.o(.text+0x1bd8): undefined reference to `operator
> new[](unsigned)'
> rootd/src/rootd.o(.text+0x1cd4): undefined reference to `operator
> delete[](void*)'
> rootd/src/rootd.o: In function `RootdPutFile(char const*)':
> rootd/src/rootd.o(.text+0x201a): undefined reference to `operator
> new[](unsigned)'
> rootd/src/rootd.o(.text+0x2044): undefined reference to `operator
> new[](unsigned)'
> rootd/src/rootd.o(.text+0x2227): undefined reference to `operator
> delete[](void*)'
> rootd/src/rootd.o(.text+0x2241): undefined reference to `operator
> delete[](void*)'
> rootd/src/rootd.o(.data+0x4e8): undefined reference to
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> gmake: *** [bin/rootd] Error 1
> 
> 
> any suggestion?
> 
> thanks!
> 
> piergiorgio
> 
> 
> 
> 
> 
> 
>                                               Piergiorgio Cerello
>                                               I.N.F.N. Sez. di Torino
>                                               Via P. Giuria 1
>                                               10125 - TORINO, Italy
>                                               Tel. +390116707416
>                                               Fax. +390116707417

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET