Shared Library on AIX4.1

From: Laurent Aphecetche (aphecetche@ganil.fr)
Date: Wed Sep 24 1997 - 13:28:07 MEST


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 ?

-- 
APHECETCHE Laurent (mailto:aphecetche@ganil.fr)       
GANIL, B.P. 5027, 14076, Caen Cedex 5, France 
Vox: +33 (0)2 31 45 45 85 - Fax: +33 (0)2 31 45 46 65         
WWW: http://ganp03.in2p3.fr/nof/ & (perso.)
http://www.mygale.org/~p0mp0n



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET