openmp
Tobias Burnus
burnus@net-b.de
Wed Sep 10 11:41:00 GMT 2008
Hello Victor,
Victor Manuel Garcia wrote:
> /home/victor/gfortran_install/gcc-trunk/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib64/libgomp.so:
> undefined reference to `__sched_cpucount@GLIBC_2.6'
>
I knew I would be bitten at some point by this. The problem is that my
GLIBC (/lib*/libc.so.*) is newer than yours. "__sched_cpucount" is a
function which exists in GLIBC 2.6 (and later) but not in earlier
versions. You can find out about your version by running:
/lib64/libc.so.6
In my case it prints:
GNU C Library development release version 2.8.90 (20080825), by Roland
McGrath et al.
[...]
In yours the version is presumably 2.5 or older. I do not see any simple
way to fix that - other than compiling GCC on an older Linux version. I
plan to look into this using VirtualBox, but it might take a while.
(Other solution for you: Compiler GCC yourself.)
:-(
Tobias
More information about the Fortran
mailing list