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
_______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
