Hi grass-dev,
https://intevation.de/rt/webrt?serial_num=5185
RT wrote:
Sorry to say, but the problem persists. Did a CVS update today, and the
configure-script still sets include/Make/Platform.make:
SHLIB_LD = /usr/ccs/bin/ld -G -z text
which is not able to link anything during the compilation. When changed
to:
SHLIB_LD = CC -G -z text
compilation runs ok.
If I can provide you with some other related files etc. please let me
know.
Harri K.
Any idea how to fix this?
Markus
-------------------------------------------- Managed by Request Tracker
Markus Neteler via RT wrote:
https://intevation.de/rt/webrt?serial_num=5185
RT wrote:
> Sorry to say, but the problem persists. Did a CVS update today, and the
> configure-script still sets include/Make/Platform.make:
>
> SHLIB_LD = /usr/ccs/bin/ld -G -z text
>
> which is not able to link anything during the compilation. When changed
> to:
>
> SHLIB_LD = CC -G -z text
>
> compilation runs ok.
>
> If I can provide you with some other related files etc. please let me
> know.
>
> Harri K.
Any idea how to fix this?
Change lines 1158, 1207 of aclocal.m4.
The references to C++ in the report lead me to suspect that this may
be a GDAL issue. Maybe the GDAL devs have more ideas?
--
Glynn Clements <glynn@gclements.plus.com>
On Sat, May 12, 2007 at 01:09:59PM +0100, Glynn Clements wrote:
Markus Neteler via RT wrote:
> https://intevation.de/rt/webrt?serial_num=5185
>
> RT wrote:
> > Sorry to say, but the problem persists. Did a CVS update today, and the
> > configure-script still sets include/Make/Platform.make:
> >
> > SHLIB_LD = /usr/ccs/bin/ld -G -z text
> >
> > which is not able to link anything during the compilation. When changed
> > to:
> >
> > SHLIB_LD = CC -G -z text
> >
> > compilation runs ok.
> >
> > If I can provide you with some other related files etc. please let me
> > know.
> >
> > Harri K.
>
> Any idea how to fix this?
Change lines 1158, 1207 of aclocal.m4.
Is attached patch right? I wonder about CC version $CC. Have
used $CC in the patch.
Markus
(attachments)
aclocal.diff (802 Bytes)
On Sat, 12 May 2007, Markus Neteler wrote:
On Sat, May 12, 2007 at 01:09:59PM +0100, Glynn Clements wrote:
Markus Neteler via RT wrote:
https://intevation.de/rt/webrt?serial_num=5185
RT wrote:
Sorry to say, but the problem persists. Did a CVS update today, and the
configure-script still sets include/Make/Platform.make:
SHLIB_LD = /usr/ccs/bin/ld -G -z text
which is not able to link anything during the compilation. When changed
to:
SHLIB_LD = CC -G -z text
compilation runs ok.
If I can provide you with some other related files etc. please let me
know.
Harri K.
Any idea how to fix this?
Change lines 1158, 1207 of aclocal.m4.
Is attached patch right? I wonder about CC version $CC. Have
used $CC in the patch.
CC is the Solaris native C++ compiler I think. I see there is a separate section in aclocal.m4 for building with GNU gcc on Solaris. I don't have access to any machines using the native Solaris compilers to test it, but I suppose it sounds reasonable. Seems weird to have to use the C++ compiler for linking when GRASS is almost all C though. Maybe Glynn is on to something about GDAL. So many parts of GRASS indirectly depend on GDAL now - I wonder though is there anything that links properly using the Solaris ld?
Paul
On Sat, 12 May 2007, Markus Neteler wrote:
Change lines 1158, 1207 of aclocal.m4.
Is attached patch right? I wonder about CC version $CC. Have
used $CC in the patch.
I would say only change it in the second location, as that covers Solaris 9 (i.e SunOS 5.9) and the other version applies to old versions of Solaris up to 2.6 (which is pretty old these days) and the issue might not apply there?
Paul
Markus Neteler wrote:
Is attached patch right? I wonder about CC version $CC. Have
used $CC in the patch.
It should be "CC"; that's the name of the C++ compiler.
--
Glynn Clements <glynn@gclements.plus.com>
On Sat, May 12, 2007 at 03:18:35PM +0100, Glynn Clements wrote:
Markus Neteler wrote:
> Is attached patch right? I wonder about CC version $CC. Have
> used $CC in the patch.
It should be "CC"; that's the name of the C++ compiler.
OK, have used CC now.
On Sat, May 12, 2007 at 02:12:15PM +0100, Paul Kelly wrote:
I would say only change it in the second location, as that covers Solaris
9 (i.e SunOS 5.9) and the other version applies to old versions of Solaris
up to 2.6 (which is pretty old these days) and the issue might not apply
there?
I have changed the second location only in aclocal.m4 and regenerated
configure. In CVS now.
Harri, could you please test if it now works?
Markus