|
From: | Martin Stennett |
Subject: | [Help-gsl] Error message during compile - Versions 1.8 & 1.7 |
Date: | Tue, 18 Jul 2006 09:59:04 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060508 Fedora/1.7.13-1.3.1.legacy |
/tmp/ccngDDtB.o(.text+0x11e): In function `main': : undefined reference to `gsl_odeiv_step_rk8pd' /tmp/ccngDDtB.o(.text+0x13b): In function `main': : undefined reference to `gsl_odeiv_step_alloc' /tmp/ccngDDtB.o(.text+0x15e): In function `main': : undefined reference to `gsl_odeiv_control_y_new' /tmp/ccngDDtB.o(.text+0x17b): In function `main': : undefined reference to `gsl_odeiv_evolve_alloc' /tmp/ccngDDtB.o(.text+0x45d): In function `main': : undefined reference to `gsl_odeiv_evolve_apply' collect2: ld returned 1 exit statusI then tried enclosing the headers in extern "C" {} braces and disabling the shared libraries, none of which made any difference. I'm running Fedora Core 3 with g++ version 3.4.4. Is there anything I should be doing to get this to work?
The full code for the C++ program is available on request as are any more details that might be required.
[Prev in Thread] | Current Thread | [Next in Thread] |