Hello.
Im trying to implement the gsl in a eclipse-based ide for altera nios
systems, "NIOS II EDS". When building the rng-excample on top of
http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Distribution-Examples.html
i get the following message:
obj/rng_ex.o(.text+0x28): In function `main':
../rng_ex.c:22: undefined reference to `gsl_rng_env_setup'
obj/rng_ex.o(.text+0x2c):../rng_ex.c:24: undefined reference to
`gsl_rng_default'
obj/rng_ex.o(.text+0x2c):../rng_ex.c:24: Unable to reach gsl_rng_default
(at 0x00000000) from the global pointer (at 0x0401a044) because the
offset (-67215428) is out of the allowed range, -32678 to 32767.
I expect there's a problem with the linking. When manually
compiling/linking everything from a shell, everything works fine, but in
this ide, I have to build the makefile from the gui.
(Project->Properties->C/C++ Build), and it's a pain.
Any ideas?
Regards
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl