Have you verified you're linking against the correct version of GSL? Your -lgsl might be using the old 1.16 version. If necessary you can specify the path:
gcc -v -g -Wall -o interp2d interp2d.c /path/to/new/libgsl.a -lgslcblas -lm On 11/01/2015 11:23 AM, Raymond Rogers wrote: > > Below is a script and response files for an extended,/*failed*/, gcc > execution on my machine Ubuntu 14.04 > For the untrusting (smart ones) here is the script. Google blocked > the executable script so I will have to dodge that if anybody wants a > copy. > > --------------------------- > #!/bin/bash > > # The following might have to be changed > cd /opt/gsl-1.99.90/doc/examples > > # Verbose record of compiler in interp2d.lst > gcc -v -g -Wall -o interp2d interp2d.c -lgsl -lgslcblas -lm > &>interp2d.lst > # > # You will notice that everything looks okay, to me, in > interp2d_locate.lst > locate interp2d &> interp2d_locate.lst > --------------------------------------------------------------------- > > It's been some time since I debugged gcc output so I just glanced at > interp2d.lst and found nothing strange. All of the dates looked okay; > Oct 31 1015 except for the present .lst files. If you want a deeper > look into the file linkages/contents let me know. > > Ray > > On 10/31/2015 09:56 PM, Patrick Alken wrote: >> gcc -g -Wall -o interp2d interp2d.c -lgsl -lgslcblas -lm >
