help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] MacOS X: Compile source problem


From: Thomas Bisig
Subject: [Help-gsl] MacOS X: Compile source problem
Date: Sat, 05 Mar 2005 15:46:29 +0100
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Hi list,

I have some problems with compiling source code on OS X. I just wanted to try to link/compile the first example in the manual (that with the Besselfunction) by doing the following (trial.cpp is the source code). First I did

% gcc -Wall -c trial.cpp

which works fine. Next I tried to compile with

% gcc trial.o -lgsl -lgslcblas -lm

first. But this gave me the following error

% ld: Undefined symbols:
% ___gxx_personality_v0

So I tried the static version

% gcc -static trial.o -lgsl -lgslcblas -lm

what gave me the following error

% ld: can't locate file for: -lcrt0.o

Any help? I am quite a newbie so be patient.

Thanks

thom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]