This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Errors


J.R. Sanchez writes:
 > I'm using gsl 0.9.1. I've successfully compiling
 > and installing it.
 > I've linked my program to BLAS, and I got the
 > following message from the linker:
 > 
 > gcc -c rn1.c
 > gcc -O2 -o rn1 rn1.o -lgsl -lgslcblas -mpentium -W -Wall
 > /usr/local/lib/libgsl.so: undefined reference to `atexit'
 > collect2: ld returned 1 exit status
 > make: *** [rn1] Error 1

I haven't seen this before.  You could try using the 'nm' command on
libgsl.so to where it makes reference to atexit.  There aren't any
references in gsl itself.

bjg|debian> cd ~/gsl; grep atexit */*.{c,h}
bjg|debian> 

so maybe it is a problem with linking shared libraries.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]