It did solve the problem. The manual didn't say about explicit link options for gsl and gslcblas. Thank you very much.
2010/10/30 Hongzheng Wang <[email protected]>: > Hi, > > It is the problem of linker. You have to tell your IDE to link with > gsl and gslcblas libraries when building your program. If you would > like to try that in console, you can use the following command: > gcc yourprog.c -lgsl -lgslcblas > to generate the correct binary file named "a.out". Note these options > "-lgsl" and "-lgslcblas". You IDE should have an equivalent way to do > so. > > HZ > > On Thu, Oct 28, 2010 at 5:22 AM, Lee Seongjoo <[email protected]> wrote: >> Hello, >> >> I am new to this library. I have installed GSL on Ubuntu 10.04 using >> package manager. After installed the library, I was trying the >> tutorial. Then, I got this error "undefined reference to >> 'gsl_sf_gessel_J0'. When building the program, it did not complain >> about locating the header file. And all the library files are in the >> default place. But still I got this build error. >> >> -- >> Lee Seongjoo >> >> _______________________________________________ >> Help-gsl mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/help-gsl >> > -- 이성주 _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
