RE: [ROOT] static const int

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Apr 01 2004 - 00:14:11 MEST


Hi,

You might have 'forgot' to instantiate the static variable by adding
something like
	const EventLooper::MumberAttrib = 17;
somewhere in a source file that is compiled and linked in your library.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On
Behalf Of Sebastian
Sent: Wednesday, March 31, 2004 1:40 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] static const int


Hello

i have problem with static const int NumberAttrib = 17; in class
definition, when i try to load lib with this variable:
undefined symbol: _11EventLooper.NumberAttrib
im using root 4.00.03 and gcc296.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

--
------------------------
 Jeszcze lepsza oferta AlphaNet
 - nowe serwery wirtualne
 - nowy sklep internetowy
 - nowy wirtualny administrator
 Sprawdz www.alpha.pl
------------------------



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