Simon Marlow <marlo...@gmail.com> writes:

> On 08/04/2010 17:12, Andy Stewart wrote:
>> Simon Marlow<marlo...@gmail.com>  writes:
>>
>>> On 08/04/2010 16:26, Simon Marlow wrote:
>>>
>>>> I did 'make clean', re-configured with --disable-split-objs, and I still
>>>> see the same error. Any more ideas?
>>>>
>>>> gtk/Graphics/UI/Gtk.hs.pp:295:0:
>>>> Failed to load interface for `Graphics.UI.Gtk.General.AccelGroup':
>>>> Use -v to see a list of the files searched for.
>>>
>>> I just noticed there is an earlier error that didn't cause the build to
>>> stop, but perhaps this is the real problem:
>>>
>>> ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:cairo::gtk
>>> --precomp=gtk/gtk.precomp -o gtk/Graphics/UI/Gtk/Entry/Entry.hs
>>> gtk/Graphics/UI/Gtk/Entry/Entry.chs
>>> c2hsLocal: Errors during expansion of binding hooks:
>>>
>>> gtk/Graphics/UI/Gtk/Entry/Entry.chs.pp:255: (column 8) [ERROR]
>>>     >>>  Unknown identifier!
>>>     Cannot find a definition for `EntryIconPosition' in the header file.
>> Hmm, it's a problem Enum `IconPosition` that never wrap
>>   `#if GTK_CHECK_VERSION(2,16,0) ... #endif`
>>
>> Because Gtk+ Reference manual haven't add version information for Enum,
>> so it's hard to find this error when i update APIs.
>>
>> I have push new patch, can you test again?
>>
>
> There are more, it seems:
>
>
> ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:cairo::gtk --precomp=gtk/gtk.precomp 
> -o
> gtk/Graphics/UI/Gtk/General/Selection.hs 
> gtk/Graphics/UI/Gtk/General/Selection.chs
> c2hsLocal: Errors during expansion of binding hooks:
>
> gtk/Graphics/UI/Gtk/General/Selection.chs.pp:510: (column 32) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `selection_data_get_selection' in the header 
> file.
> gtk/Graphics/UI/Gtk/General/Selection.chs.pp:517: (column 29) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `selection_data_get_data' in the header file.
> gtk/Graphics/UI/Gtk/General/Selection.chs.pp:524: (column 32) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `selection_data_get_data_type' in the header 
> file.
> gtk/Graphics/UI/Gtk/General/Selection.chs.pp:530: (column 46) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `selection_data_get_display' in the header 
> file.
> gtk/Graphics/UI/Gtk/General/Selection.chs.pp:536: (column 40) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `selection_data_get_format' in the header file.
Sorry for that.

Perhaps, have many 2.16 APIs haven't tag version information.

Now, i'm check all new APIs since 2.16

I will notify you when i finish patch.

Sorry again.

  -- Andy
 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to