Laurent Aphecetche wrote: > > Hello, > > I'm trying to compile the $ROOTSYS/test/ Event example, and I got the > following messages : > > xlC -O -w -qnoro -qnoroconst -qmaxmem=-1 -I/usr/local/root/include -c > Event.cxx > Generating dictionary ... > Note: operator new() masked c > Note: operator delete() masked c > class EventHeader in Event.h line 19 original base of virtual func > xlC -O -w -qnoro -qnoroconst -qmaxmem=-1 -I/usr/local/root/include -c > EventCint.cxx > xlC -O -w -qnoro -qnoroconst -qmaxmem=-1 -I/usr/local/root/include -c > MainEvent.cxx > /usr/lpp/xlC/bin/makeC++SharedLib -o libEvent.so -L/usr/local/root/lib > -lRoot -lCint -lm -lcurses -p 0 Event.o EventCint.o > ld: 0711-224 WARNING: Duplicate symbol: __priority0x80000000 > ld: 0711-224 WARNING: Duplicate symbol: .__priority0x80000000 > ld: 0711-224 WARNING: Duplicate symbol: __cdtors > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > xlC -g MainEvent.o Event.o EventCint.o -L/usr/local/root/lib -lRoot > -lCint -lm -lcurses -o Event > Event done > > Then under Root, > > root [1] gSystem.Load("Event.so") > (int)1 > > So it fails. What am I doing wrong ? Laurent, In the standard root/test, the shared library is called libEvent.so, not Event.so. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET