This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
problem in linking the lib
- From: Chang Chew Wai <bearphy at singnet dot com dot sg>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 14 May 2002 16:58:56 +0800
- Subject: problem in linking the lib
- Reply-to: crsccw at nus dot edu dot sg
Dear sir, i think i need some help with gsl. i installed the rpm for
gsl-1.1.1-0. and was unable to link it to the lib.
i tried to compile with the following command.
gcc -L/usr/lib-lgsl test.c
the error messages are
/tmp/ccrOm9yz.o: In function `main':
/tmp/ccrOm9yz.o(.text+0x24): undefined reference to `gsl_stats_mean'
/tmp/ccrOm9yz.o(.text+0x3f): undefined reference to `gsl_stats_variance'
/tmp/ccrOm9yz.o(.text+0x5a): undefined reference to `gsl_stats_max'
/tmp/ccrOm9yz.o(.text+0x75): undefined reference to `gsl_stats_min'
thanx
waiting for the reply
chew wai