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]
Other format: [Raw text]

Re: __gxx_personality_v0


emombel@nimr.mrc.ac.uk writes:
 >  I was trying to compile a program with the following command:
 >  gcc test.o -L/mb/apps/gsl/gsl-1.2/loclib/ -lgsl -lgslcblas -lm
 >  And the compiler complains as follows:
 >  test.o: In function `__FRAME_BEGIN__': test.o(.eh_frame+0x11):
 > undefined reference to `__gxx_personality_v0' collect2: ld returned
 > 1 exit status
 >  I did some research and found out that the compiler should find
 > __gxx_personality_v0 in libstdc++, but for some reason it doesn't.
 >  Why does the linking to libstdc++ does not work?

Do you need to use g++ rather than gcc for linking c++ programs?


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