Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Cannot compile Mars for Magic Analysis
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
RaraRasputin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 142
Location: Germany

PostPosted: Tue May 12, 2009 4:36 pm    Post subject: [solved] Cannot compile Mars for Magic Analysis Reply with quote

Hi,

I'm trying to compile Mars for Magic (related to astrophysics), which depends on root-5.12. Finally I got root compiled, but when compiling Mars I get the following error (using gcc-3.3.6):

Code:
Mars-2.1.1 $ make -j2
 Calling make in mbase
 Calling make in mastro
 Calling make in mmain
 Calling make in mfbase
 Calling make in mfilter
 Calling make in mdata
 Calling make in mhbase
 Calling make in mhvstime
 Calling make in mhist
 Calling make in manalysis
 Calling make in mextralgo
 Calling make in msignal
 Calling make in mbadpixels
 Calling make in mhcalib
 Calling make in mhflux
 Calling make in mcalib
 Calling make in mpedestal
 Calling make in mfileio
 Calling make in mreflector
 Calling make in mgeom
 Calling make in msql
 Calling make in mimage
 Calling make in mhft
 Calling make in mmc
 Calling make in mraw
 Calling make in mcamera
 Calling make in mtrigger
 Calling make in mpointing
 Calling make in mreport
 Calling make in mgui
 Calling make in mranforest
 Calling make in mjobs
 Calling make in mjoptim
 Calling make in mjtrain
 Calling make in mmovie
 Calling make in mtools
 Calling make in mmuon
 Linking shared object libmars.so ...
`.gnu.linkonce.t._ZN13MBadPixelsPix17GetUnsuitableNameEi' referenced in section `.rodata' of mjobs/MJCalibration.o: defined in discarded section `.gnu.linkonce.t._ZN13MBadPixelsPix17GetUnsuitableNameEi' of mjobs/MJCalibration.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make: *** [libmars.so] Error 1


(Calling make in bla does not produce any output because all the files are already compiled - only the linker fails).
I've heard that the linker error is a bug in gcc and upgrading or downgrading gcc would help. But as described here (https://forums.gentoo.org/viewtopic-p-5721173.html) I currently cannot emerge another compiler version (gcc-4 does not work at all for root and magic), so I am currently looking for another solution.

-Rasputin
_________________
RaraRasputin, lover of the Russian Queen


Last edited by RaraRasputin on Tue May 12, 2009 6:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
RaraRasputin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 142
Location: Germany

PostPosted: Tue May 12, 2009 6:03 pm    Post subject: Reply with quote

I finally got gcc upgraded to version 3.4 and got Mars compiled.
_________________
RaraRasputin, lover of the Russian Queen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum