Message: Re: Problems when compile example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problems when compile example 

Forum: Installation and Configuration
Re: None Problems when compile example (Francesco Devoto)
Date: 13 Jun, 2011
From: Youming Yang <Youming Yang>

I am encountering the same issue, is there anyone with a solution?

Ming

$ make

Creating shared library /home/xiaoming/meant4/tmp/Linux- g++/exampleN04/libexampleN04.so ...

/usr/bin/ld: ExN04CalorimeterHit.o: relocation R_X86_64_32S against `vtable for ExN04CalorimeterHit' can not be used when making a shared object; recompile with -fPIC

ExN04CalorimeterHit.o: could not read symbols: Bad value

collect2: ld returned 1 exit status

make: *** [/home/xiaoming/meant4/tmp/Linux-g++/exampleN04/libexampleN04.so] Error 1

xiaoming@xiaoming-VirtualBox:~/meant4/examples/novice/N04$

 Add Message Add Message
to: "Re: Problems when compile example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]