That workspace was added in GSL 2.4, so make sure you are using the latest version of the library
On 01/05/2018 01:40 PM, Mohammad Akhlaghi wrote: > Hi Vasu, > > The "unknown type name" is not a linker error, its a compiler error (which > comes prior to linking). > > The `gsl_integration_fixed_workspace' type is indeed defined in > `gsl_integration.h'. So it is very strange that your compiler doesn't > recognize it (after the inclusion of this header)! > > Try having a look in the used header file and see if this type is indeed > defined there. > > Cheers, > Mohammad > > On January 5, 2018 8:04:17 PM GMT+01:00, Vasu Jaganath > <vadie.develo...@gmail.com> wrote: >> Hi Forum, >> >> I don't know what libraries to link to compiler this file >> >> I am doing >> >> gcc -Wall quadFixed.c -lgsl -lgslcblas -lm >> >> however it complains >> >> error: unknown type name ‘gsl_integration_fixed_workspace’ >> gsl_integration_fixed_workspace * w; >> >> took this example directly from >> https://www.gnu.org/software/gsl/doc/html/integration.html >> >> I have attached the file, I am able to compile and run qags example >> just >> fine. >> >> Also, how to know what .so libraries to link for what header in gsl? >> >> Thanks, >> Vasu