[oi-dev] SFW - gd2

Matt Wilby matthewwilby at btinternet.com
Sat Feb 12 13:31:35 UTC 2011


On 12/02/2011 13:16, Alasdair Lumsden wrote:
> On 11 Feb 2011, at 18:34, Matt Wilby wrote:
>
>> On 09/02/2011 19:34, Matt Wilby wrote:
>>> When compiling gd2 which is part of SFW I get this compilation error ->
>>>
>>> config.h:86:1: warning: this is the location of the previous definition
>>> gdkanji.c:30: error: conflicting types for 'iconv'
>>> /usr/include/iconv.h:50: error: previous declaration of 'iconv' was here
>>> gdkanji.c:30: error: conflicting types for 'iconv'
>>> /usr/include/iconv.h:50: error: previous declaration of 'iconv' was here
>>> *** Error code 1
>>> make: Fatal error: Command failed for target `gdkanji.lo'
>>>
>>> A quick google reveals several similar issues with Solaris 10 but no fix.
>>>
>>> Not sure how to fix. Any ideas?
> Are you building all of SFW, and its breaking when it hits GD2?
>
> If so, which version of SFW are you building and on what release? Also I know you were doing some stuff with SPARC - is this on SPARC?
>
> Cheers,
>
> Alasdair
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>

Yes, all of SFW 155 on SPARC but gd2 fails when building separately as well.

I may have a fix which works if I build manually.

Adding -DHAVE_ICONV to cflags seems to do the trick, running a build
now.....

Matt







More information about the oi-dev mailing list