[GRASS-dev] Compilation error in r.random.surface

Markus Neteler neteler at osgeo.org
Fri Jan 26 04:56:17 PST 2018


while trying to generate Fedora and EPEL packages of 7.4.0 on COPR [1]
I came accross this issue:

/usr/bin/ld: Warning: size of symbol `Surface' changed from 8 in
OBJ.x86_64-redhat-linux-gnu/main.o to 768 in /usr/lib64/libgdal.so.1
/usr/bin/ld: OBJ.x86_64-redhat-linux-gnu/main.o: undefined reference
to symbol 'Surface'
/usr/lib64/libgdal.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[4]: *** [/builddir/build/BUILD/grass-7.4.0/dist.x86_64-redhat-linux-gnu/bin/r.random.surface]
Error 1
make[4]: Leaving directory

Do we need to rename the "Surface" variable in the source code?


[1] https://copr-be.cloud.fedoraproject.org/results/neteler/grass74/epel-7-x86_64/00706000-grass/build.log.gz

More information about the grass-dev mailing list