ewanbarr / sigpyproc

Python-based pulsar search data manipulation package
13 stars 21 forks source link

problems with gcc linking #2

Closed jhorrell closed 8 years ago

jhorrell commented 8 years ago

for gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

If you get an error from within ipython:

from sigpyproc.Readers import FilReader

... undefined symbol: omp_get_thread_num (or similar)

then update the c_src/Makefile to rather be the attached (without the .txt extension) (note the "-Wl,--no-as-needed" additions):

Makefile.txt