[Top][All Lists]

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

Re: [Help-gsl] "Bus Error" with gcc-compiled GSL file

From: Jon Drews
Subject: Re: [Help-gsl] "Bus Error" with gcc-compiled GSL file
Date: Tue, 13 Jul 2004 11:32:42 -0500

Hi David:

 The commands for compiling should be:
gcc -I/usr/local/include -c example.c 
gcc  -o EXMPL -L/usr/local/lib example.o -lgsl -lgslcblas

then do:

EXMPL is your executable.

On Mon, 12 Jul 2004 04:17:16 -0700 (PDT), David Green
<address@hidden> wrote:
> Hello,
> I have just installed GSL-1.5 on my Powerbook G4 (OS
> 10.2.6) and I have tried to run the example program
> using the bessel J0 function at the beginning the the
> GSL manual.  I get a "Bus error" when I try to run the
> executable, ./example.o.  I have compiled example.o
> using the compiling and linking options listed in the
> manual: 1) gcc -I/usr/local/include -c example.c ; and
> 2) gcc -L/usr/local/lib example.o -lgsl -lgslcblas
> -lm.
> Would this be considered a bug?  Does anyone have any
> insight into solving this problem?
> Thanks,
> David Green
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> _______________________________________________
> Help-gsl mailing list
> address@hidden

reply via email to

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