gcc on hpux10

From: Pascal Perrodo (perrodo@lapp.in2p3.fr)
Date: Fri Sep 03 1999 - 16:27:02 MEST


Dear rooters,

I am working on HP-UX version 10 at CERN and have a program compiled with
gcc. I would like to link this code with the ROOT libraries.
My questions are :
- what version of ROOT should I use (CC, aCC,...) ?
- what are the compiling options ?
- what libraries should I call ? 

So far I have done:

gcc -g  -o c mycode.o
-L/afs/cern.ch/na49/library.4/ROOT/v2.22/hp700_ux102/root/lib -lNew -lBase
-lCint -lClib -lCont -lFunc  -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta
-lMinuit -lNet  -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGui
-lGX11 -lX3d -L/usr/lib/X11R5  -lXpm -lX11 -lm -ldld
/usr/ccs/bin/ld: Unsatisfied symbols:
   TStorage::ObjectAlloc(unsigned int)(code)
   TH1F::TH1F(char const *, char const *, int, float, float)(code)
   TROOT::TROOT(char const *, char const *, void (**)(void))(code)
   TCanvas::TCanvas(char const *, char const *, int)(code)
   TROOT::~TROOT(void)(code)
   TApplication::~TApplication(void)(code)
   TApplication::TApplication(char const *, int *, char **, void *,
int)(code)
   TObject::operator delete(void *)(code)
collect2: ld returned 1 exit status
*** Error exit code 1

Thanks for your help.
Cheers.
                             Pascal Perrodo.

+-------------------------------------------------------------------------+
| Tel : 04 50 09 16 32 (from France), 00 33 4 50 09 16 32 (from abroad)   | 
| FAX : 04 50 27 94 95 (from France), 00 33 4 50 27 94 95 (from abroad)   |
|						    		   	  |
| LAPP, Chemin de Bellevue, BP 110, F-74941 Annecy-le-Vieux CEDEX         |
+-------------------------------------------------------------------------+



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