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

Markus Neteler neteler at osgeo.org
Sun Jan 28 07:35:52 PST 2018


On Fri, Jan 26, 2018 at 11:24 PM, Markus Metz
<markus.metz.giswork at gmail.com> wrote:
> 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.

Done in r72179 (trunk) and r72180 (relbranch74).

The updated EPEL7 rpm package is available here (above change included
as a patch in the SRPM):

https://copr.fedorainfracloud.org/coprs/neteler/grass74/

markusN


More information about the grass-dev mailing list