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

Markus Metz markus.metz.giswork at gmail.com
Fri Jan 26 14:24:19 PST 2018


On Fri, Jan 26, 2018 at 1:56 PM, Markus Neteler <neteler at osgeo.org> wrote:
>
> Hi,
>
> 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
> `/builddir/build/BUILD/grass-7.4.0/raster/r.random.surface'
>
> Do we need to rename the "Surface" variable in the source code?

That's probably the easiest solution.

Markus M

>
> thanks,
> Markus
>
> [1]
https://copr-be.cloud.fedoraproject.org/results/neteler/grass74/epel-7-x86_64/00706000-grass/build.log.gz
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180126/2a95f923/attachment.html>


More information about the grass-dev mailing list