At Thu, 3 Sep 2009 16:02:01 +0530, Mahesh Narayanamurthi wrote: > To test the generated library file, we wrote a fairly trivial program that > worked with vectors. Now, when I am trying to link the new program with the > library we have generated, we are getting the following error: > > test1.o: In function `main': > test1.c:(.text+0x20): undefined reference to `gsl_vector_alloc'
I can suggest a couple of possibilities: The program isn't being linked to the (correct) library. The library is missing these functions - you can check the symbols that are defined in it with a 'nm libgsl.a' or 'nm libgsl.so' -- Brian Gough (GSL Maintainer) Support freedom by joining the FSF http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37 _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
