|Subject:||RE: building pspp|
|Date:||Wed, 7 Sep 2011 06:39:35 +0000|
Tried that, and adding -lgsl makes the line run without any errors, but rerunning make gives the same problem.
Anyway, I got it to compile using gcc4.4 and I'm not too comfortable with libtool and friends to go too deep down that road, so I'm happy for now I suppose
I also found that removing the 2 calls to 'gsl_set_error_handler_off' (in src/ui/gui/psppire.c and src/ui/terminal/main.c) makes the problem go away, but I'm not sure whether that is a smart thing to do.
> Date: Tue, 6 Sep 2011 21:01:24 -0400
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: building pspp
> On Tue, Sep 06, 2011 at 11:52:30PM +0000, friedrich nietzsche wrote:
> > I did some googling and found the following : https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
> > This makes me think it's a change in gcc - I'm using gcc 4.6.1. The proposed solution is to add the so explicitly to the linker, but I'm a bit lost where I can do that... Any hints?
> If this is the problem, then I guess the best fix is to have a build
> system that accounts for the change to gcc 4.6.1. Failing that, you could
> try something like
> make > makeout
> Then find the line in makeout that gave the error (it should be
> the last line), copy that line to a file by itself (say, 'gcc-line'),
> and add /usr/lib/libgsl.so.0 to the call to gcc, then try
> sh gcc-line
> ...and hope that fixes the problem.
|[Prev in Thread]||Current Thread||[Next in Thread]|