Re: query

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Fri, 10 Nov 2006 17:06:31 +0100


Could you indicate which package versions you used? (geant3, ROOT, etc) Did you install from source? or from the binary tar files? Did you run make in the geant3/examples directory? What was the output of make? (any complaints).

Note that we do not support anymore linking with the old hbook library. In principle
we have dummy routines that are linked when building the gexam examples. Did you modify the Makefile?

Rene Brun

Satya J wrote:
> Hello,
>
> I compiled geant3_vmc package. It was gave me some warning.
> But when going to the example directory and tried to compile by
> make. It is giving me the following error massage:
>
> gexam1.F
> gmain.cxx
> Generating ../tgt_linux/examples/gexam1
> ../tgt_linux/examples/gexam1.o(.text+0x38b): In function `guout_':
> /home/ino/geant3/examples/gexam1.F:123: undefined reference to `hff1_'
> ../tgt_linux/examples/gexam1.o(.text+0x450): In function `gustep_':
> /home/ino/geant3/examples/gexam1.F:177: undefined reference to `hff1_'
> ../tgt_linux/examples/gexam1.o(.text+0x47a):/home/ino/geant3/examples/gexam1.F:179:
> undefined reference to `hff1_'
> ../tgt_linux/examples/gexam1.o(.text+0x4f2):/home/ino/geant3/examples/gexam1.F:225:
> undefined reference to `hff1_'
> ../tgt_linux/examples/gexam1.o(.text+0x5e3):/home/ino/geant3/examples/gexam1.F:208:
> undefined reference to `hff1_'
> ../tgt_linux/examples/gexam1.o(.text+0xe80): In function `uglast_':
> /home/ino/geant3/examples/gexam1.F:504: undefined reference to `hpak_'
> ../tgt_linux/examples/gexam1.o(.text+0xe91):/home/ino/geant3/examples/gexam1.F:505:
> undefined reference to `hpake_'
> ../tgt_linux/examples/gexam1.o(.text+0xea2):/home/ino/geant3/examples/gexam1.F:507:
> undefined reference to `hpak_'
> ../tgt_linux/examples/gexam1.o(.text+0xeb3):/home/ino/geant3/examples/gexam1.F:508:
> undefined reference to `hpake_'
> ../tgt_linux/examples/gexam1.o(.text+0xf74):/home/ino/geant3/examples/gexam1.F:518:
> undefined reference to `hpak_'
> ../tgt_linux/examples/gexam1.o(.text+0xf85):/home/ino/geant3/examples/gexam1.F:519:
> undefined reference to `hpake_'
> ../tgt_linux/examples/gexam1.o(.text+0xf96):/home/ino/geant3/examples/gexam1.F:521:
> undefined reference to `hpak_'
> ../tgt_linux/examples/gexam1.o(.text+0xfa7):/home/ino/geant3/examples/gexam1.F:522:
> undefined reference to `hpake_'
> ../tgt_linux/examples/gexam1.o(.text+0x101d):/home/ino/geant3/examples/gexam1.F:529:
> undefined reference to `hpak_'
> ../tgt_linux/examples/gexam1.o(.text+0x103b):/home/ino/geant3/examples/gexam1.F:530:
> undefined reference to `hpake_'
> ../tgt_linux/examples/gexam1.o(.text+0x1173):/home/ino/geant3/examples/gexam1.F:549:
> undefined reference to `hrput_'
> ../tgt_linux/examples/gexam1.o(.text+0x119b):/home/ino/geant3/examples/gexam1.F:553:
> undefined reference to `histdo_'
> ../tgt_linux/examples/gexam1.o(.text+0x130a): In function `uhinit_':
> /home/ino/geant3/examples/gexam1.F:592: undefined reference to `hbigbi_'
> collect2: ld returned 1 exit status
> make[1]: *** [../tgt_linux/examples/gexam1] Error 1
> gexam3.F
> Generating ../tgt_linux/examples/gexam3
> ../tgt_linux/examples/gexam3.o(.text+0x39): In function `ufiles_':
> /home/ino/geant3/examples/gexam3.F:14: undefined reference to `hropen_'
> ../tgt_linux/examples/gexam3.o(.text+0x49a): In function `uglast_':
> /home/ino/geant3/examples/gexam3.F:131: undefined reference to `histdo_'
> collect2: ld returned 1 exit status
> make[1]: *** [../tgt_linux/examples/gexam3] Error 1
> gexam4.F
> Generating ../tgt_linux/examples/gexam4
> ../tgt_linux/examples/gexam4.o(.text+0x77b): In function `guout_':
> /home/ino/geant3/examples/gexam4.F:132: undefined reference to `hff1_'
> ../tgt_linux/examples/gexam4.o(.text+0xa1c): In function `gustep_':
> /home/ino/geant3/examples/gexam4.F:280: undefined reference to `hff1_'
> ../tgt_linux/examples/gexam4.o(.text+0xa31):/home/ino/geant3/examples/gexam4.F:281:
> undefined reference to `hff1_'
> ../tgt_linux/examples/gexam4.o(.text+0xa9e):/home/ino/geant3/examples/gexam4.F:310:
> undefined reference to `hfn_'
> ../tgt_linux/examples/gexam4.o(.text+0xba6):/home/ino/geant3/examples/gexam4.F:255:
> undefined reference to `hff1_'
> ../tgt_linux/examples/gexam4.o(.text+0xceb): In function `ufiles_':
> /home/ino/geant3/examples/gexam4.F:396: undefined reference to `hropen_'
> ../tgt_linux/examples/gexam4.o(.text+0x1d38): In function `uglast_':
> /home/ino/geant3/examples/gexam4.F:754: undefined reference to `hnoent_'
> ../tgt_linux/examples/gexam4.o(.text+0x1da0):/home/ino/geant3/examples/gexam4.F:762:
> undefined reference to `hpak_'
> ../tgt_linux/examples/gexam4.o(.text+0x1dcb):/home/ino/geant3/examples/gexam4.F:767:
> undefined reference to `hrout_'
> ../tgt_linux/examples/gexam4.o(.text+0x1dd9):/home/ino/geant3/examples/gexam4.F:768:
> undefined reference to `hrend_'
> ../tgt_linux/examples/gexam4.o(.text+0x1de5):/home/ino/geant3/examples/gexam4.F:771:
> undefined reference to `hprint_'
> collect2: ld returned 1 exit status
> make[1]: *** [../tgt_linux/examples/gexam4] Error 1
> model.F
> Generating ../tgt_linux/examples/model
> ../tgt_linux/examples/model.o(.text+0xb54): In function `guout_':
> /home/ino/geant3/examples/model.F:373: undefined reference to `hff1_'
> ../tgt_linux/examples/model.o(.text+0xb9a):/home/ino/geant3/examples/model.F:375:
> undefined reference to `hff1_'
> ../tgt_linux/examples/model.o(.text+0xcc4):/home/ino/geant3/examples/model.F:374:
> undefined reference to `hff1_'
> ../tgt_linux/examples/model.o(.text+0xcec): In function `uglast_':
> /home/ino/geant3/examples/model.F:411: undefined reference to `hrout_'
> ../tgt_linux/examples/model.o(.text+0xcfa):/home/ino/geant3/examples/model.F:412:
> undefined reference to `hrend_'
> ../tgt_linux/examples/model.o(.text+0xd06):/home/ino/geant3/examples/model.F:413:
> undefined reference to `hprint_'
> collect2: ld returned 1 exit status
> make[1]: *** [../tgt_linux/examples/model] Error 1
>
> What can I do? or what may be the mistake I am doing every time.
> Please suggest me.
> Your comments and suggestions will be highly appreciated.
>
> Note: I installed
> pythia6 in a path /DataDisk1/pythia/pythia6
> vmc geant3 /home/ino/geant3
>
> I compiled root with pythia6 enabled
>
>
> --
> ---------------
> Satya
> Research Student,
> High Energy Physics, India.
Received on Fri Nov 10 2006 - 17:06:38 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:09 MET