undefined reference to `__sync_fetch_and_add_4' with OpenMP
FX
fxcoudert@gmail.com
Thu Feb 7 13:02:00 GMT 2008
Hi Ignacio,
> $ gfortran -fopenmp test.f90
> /home/ignacio/tmp/ccwVCe1d.o: In function `MAIN__.omp_fn.0':
> test2.f90:(.text+0xdb): undefined reference to `__sync_fetch_and_add_4'
> collect2: ld returned 1 exit status
You really need to give us more information: what version of gfortran,
what target (CPU and OS), who built the compiler and how was it built
(output for "gfortran -v").
FX
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/
More information about the Fortran
mailing list