yp/PPXH-GR — Issue #1: Compilation failed on Ubuntu 11.10
Author: yp
Created: 2011-11-28 15:25:18+00:00
State: open

The compilation of the software (`make all`) fails with the following error:

````
Compiling src/abort.c
Compiling src/bit_matrix.c
Compiling src/bit_vector.c
Compiling src/my_time.c
Compiling src/rnd.c
Compiling src/util.c
Compiling src/heuristic.c
src/heuristic.c: In function ‘execute_GR’:
src/heuristic.c:332:7: warning: unused variable ‘exit_result’ [-Wunused-variable]
* Linking bin/ppxh-gr
obj/rnd.o: In function `RG_create':
.../src/rnd.c:43: undefined reference to `gsl_rng_mt19937'
.../src/rnd.c:43: undefined reference to `gsl_rng_alloc'
.../src/rnd.c:45: undefined reference to `gsl_rng_set'
.../src/rnd.c:46: undefined reference to `gsl_rng_set'
obj/rnd.o: In function `RG_create_seed':
.../src/rnd.c:54: undefined reference to `gsl_rng_mt19937'
.../src/rnd.c:54: undefined reference to `gsl_rng_alloc'
.../src/rnd.c:56: undefined reference to `gsl_rng_set'
obj/rnd.o: In function `RG_destroy':
.../src/rnd.c:64: undefined reference to `gsl_rng_free'
obj/rnd.o: In function `RG_next_int_between':
.../src/rnd.c:89: undefined reference to `gsl_rng_uniform_int'
obj/rnd.o: In function `RG_next_bool':
.../src/rnd.c:96: undefined reference to `gsl_rng_uniform_int'
obj/rnd.o: In function `RG_next_int':
.../src/rnd.c:72: undefined reference to `gsl_rng_get'
obj/rnd.o: In function `RG_next_int_less_than':
.../src/rnd.c:81: undefined reference to `gsl_rng_uniform_int'
obj/rnd.o: In function `RG_next_probability':
.../src/rnd.c:103: undefined reference to `gsl_rng_uniform'
collect2: ld returned 1 exit status
make: *** [heu] Error 1
````

System: `Ubuntu 11.10`
PPXH-GR version: `v1.0.0`