[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] relocation error: ./example: undefined symbol: gsl_cdf_ch
From: |
Anders Misfeldt |
Subject: |
Re: [Help-gsl] relocation error: ./example: undefined symbol: gsl_cdf_chisq_Q |
Date: |
Fri, 18 Feb 2005 12:35:42 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
Joshua Knowles wrote:
What is this error? Any ideas how to fix it?
You have decleared y as a double right?
I just made this program:
#include <stdio.h>
#include <gsl/gsl_cdf.h>
int main(void) {
double y;
y=gsl_cdf_logistic_P(33.0,24.0);
printf("%g\n", y);
}
which prints:
0.798187
--
Anders Misfeldt
Institute of Physics and Astronomy
Aarhus University
Ny Munkegade, Building 520, Office 235
DK-8000 Aarhus C
Phone: 8942 4888
Web: http://www.phys.au.dk/~misfeldt
Mail: address@hidden / address@hidden