Hi Dmitry, Those types of problems are usually due to an ordering problem. If you unload a shared library, anything that uses this shared library is potentially invalid (because code it depends on is not longer accessible). CINT tries to make intelligent decision on what should be invalided (and thus unloaded, deleted, scratched) but does not always gets it 'right'. This explains the disappearance the TBrowser. The first problem: Note: File "/home/shtol/root/./ExpEeSelect_C.so" already loaded might be coming from how you loaded the library in the first place. I recommend always loading ACLiC compiled library using the single '+', for example: .L ExpEeSelect.C+ (or gROOT->ProcessLine(".L ExpEeSelect.C+"); Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Dmitry A. Shtol Sent: Wednesday, August 27, 2003 3:36 AM To: roottalk@pcroot.cern.ch Subject: [ROOT] Problem with recompilation of programs Hi, There are some problems during recompiling programs. When I try to recompile a program (after some changes), I get the following message: root [1] .L ExpEeSelect.C++ Warning in <ACLiC>: unmodified script has already been compiled and loaded Warning in <ACLiC>: it will be regenerated and reloaded! Info in <TUnixSystem::ACLiC>: creating shared library /home/shtol/root/./ExpEeSelect_C.so Note: File "/home/shtol/root/./ExpEeSelect_C.so" already loaded /usr/lib/crt1.o: In function _start': /usr/lib/crt1.o(.text+0x18): undefined reference to main' collect2: ld returned 1 exit status Before this it compiled normally. If I quit the ROOT and delete library (ExpEeSelect_C.so), it compiles normally then. Sometimes when I recompile a program and TBrowser is opened, it is deleted. What I should do to have no such problems with recompiling a programs? Thank you. ============================================================== Dmitry A. Shtol (SND group) Budker Institute of Nuclear Physics
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET