> I found out that I can compile and link using the following commands.
>
> gcc -Wall -I/home/svisw002/gsl/include -c vsd_nb.t.cpp
> gcc -L/home/svisw002/home/gsl/lib vsd_nb.t.o -lgsl -lgslcblas -lm
The 'gsl-config' binary that GSL installs can make retrieving those
values quite easy for Makefiles. See below.
> vsd_nbPoi : *.cpp *.h
> g++ -w -O4 -I ./ -o vsd_nbPoi *.cpp
Try
g++ -w -O4 `gsl-config --cflags` -o vsd_nbPoi *.cpp `gsl-config --libs`
where those are backticks around the gsl-config bits and I've removed
your '-I ./' option as I suspect it accomplishes nothing (the compiler
should look for includes in the local directory).
Hope that helps,
Rhys