Hi again, On Wed, May 9, 2012 at 11:53 AM, Vellemans, Noel < [email protected]> wrote:
> Hi Zan, > > thanks for the FAST-response. > > I've been trying to build 1.9.2 (released yesterday) but I get the same > error(s). > > Q: do you have any clue how the /DerivedSources/webkit/WebKitDOMxxxxx > sources are generated ? > Where does this code really come from ? > > I've been digging into the Git-tree, but can not find any of these > sources (I think they are GENERATED at build time). Any Clue how this is > done (in a few words). > These are DOM bindings, generated by the generate-bindings.pl script. Build rules for these files are in Source/WebCore/bindings/gobject/GNUmakefile.am[1]. Unfortunately, I cannot reproduce these building errors with configuration options you've specified in either trunk, 1.8.1 release or 1.9.2 release. Would you mind opening a bug at http://bugs.webkit.org and attaching the config.log file? Please CC me or post the link to the bug entry here. Regards, Zan 1: http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/gobject/GNUmakefile.am > > > regards, > Noel > > > > ________________________________ > > From: Žan Doberšek [mailto:[email protected]] > Sent: 9May12 10:00 > To: Vellemans, Noel > Cc: [email protected] > Subject: Re: [webkit-gtk] WebKitDOMHTMLMediaElement.cpp - > 'HTMLMediaElement' is not a member of 'WebCore' > > > > Hi, > > a similar problem was occurring when using the --disable-video > configuration flag and was recently fixed in both 1.8 branch and trunk. > > I'll try to reproduce the problem sometime later and open a new bug if > required. > > Thanks for reporting the problem! > Zan > > On May 9, 2012 8:35 AM, "Vellemans, Noel" < > [email protected]> wrote: > > > Hi, > > I've been working on CROSS-Compiling WebKit-GTK (1.8.1) for an > ARM-device. > > Almost everything is building fine (except for some minor details). > I've managed to get it compiled (by commenting some stuff out) but I > guess the best-solution is to solve the problem correctly. > > I'm must say I'm not familiar with the WEBKIT code at all so I do > not > have any clue what the real reason of these minor-problems is. > > But I guess it has something to do with #ifdefs that are not in the > correct place. > > And off course depending on the options you select at configure > time it > might be the case that is compiling (or not compiling). > > my configure options are : --with-gtk=2.0 --enable-geolocation=no > > Building with these configure options fails on the following files > (these are files I needed to modify ) > > /DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp > /DerivedSources/webkit/WebKitDOMTimeRanges.cpp > /DerivedSources/webkit/WebKitDOMTimeRanges.cpp > > > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp: In function > 'void > webkit_dom_html_media_element_set_property(GObject*, guint, const > GValue*, GParamSpec*)': > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:149:5: error: > 'HTMLMediaElement' is not a member of 'WebCore' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:149:32: error: > 'coreSelf' was not declared in this scope > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:149:43: error: > 'core' is not a member of 'WebKit' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp: In function > 'void > webkit_dom_html_media_element_get_property(GObject*, guint, GValue*, > GParamSpec*)': > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:234:5: error: > 'HTMLMediaElement' is not a member of 'WebCore' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:234:32: error: > 'coreSelf' was not declared in this scope > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:234:43: error: > 'core' is not a member of 'WebKit' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:16: error: > 'MediaError' is not a member of 'WebCore' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:16: error: > 'MediaError' is not a member of 'WebCore' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:35: error: > template argument 1 is invalid > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:238:41: error: > invalid type in declaration before '=' token > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:239:51: error: > request for member 'get' in 'ptr', which is of non-class type 'int' > DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp:265:56: error: > no > matching function for call to 'kit(WebCore::TimeRanges*)' > > > > PS: As test run I did try to compile 1.9.2 and I was ending up into > the > same errors in (WebKitDOMHTMLMediaElement.cpp ... Etc) > > > > > These are the "HACKS" I did to get it compiled. > I know it is not be the correct solution, but I just wanted to > report > them, this way it can be solved into one of the next releases. > > diff --git a/DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp > b/DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp > index ab4672b..9fb956d 100644 > --- a/DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp > +++ b/DerivedSources/webkit/WebKitDOMHTMLMediaElement.cpp > @@ -144,6 +144,7 @@ static void > webkit_dom_html_media_element_finalize(GObject* object) > > static void webkit_dom_html_media_element_set_property(GObject* > object, > guint prop_id, const GValue* value, GParamSpec* pspec) { > +#if (0) /* NVL */ > WebCore::JSMainThreadNullState state; > WebKitDOMHTMLMediaElement* self = > WEBKIT_DOM_HTML_MEDIA_ELEMENT(object); > WebCore::HTMLMediaElement* coreSelf = WebKit::core(self); @@ > -224,11 +225,16 @@ static void > webkit_dom_html_media_element_set_property(GObject* object, guint pr > G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > break; > } > +#else > + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > +#endif > + > } > > > static void webkit_dom_html_media_element_get_property(GObject* > object, > guint prop_id, GValue* value, GParamSpec* pspec) { > +#if (0) /* NVL */ > WebCore::JSMainThreadNullState state; > WebKitDOMHTMLMediaElement* self = > WEBKIT_DOM_HTML_MEDIA_ELEMENT(object); > WebCore::HTMLMediaElement* coreSelf = WebKit::core(self); @@ > -395,6 > +401,10 @@ static void > webkit_dom_html_media_element_get_property(GObject* object, guint pr > G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > break; > } > +#else > + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > +#endif > + > } > > > diff --git a/DerivedSources/webkit/WebKitDOMMediaError.cpp > b/DerivedSources/webkit/WebKitDOMMediaError.cpp > index a3cd01e..eb4ba69 100644 > --- a/DerivedSources/webkit/WebKitDOMMediaError.cpp > +++ b/DerivedSources/webkit/WebKitDOMMediaError.cpp > @@ -115,6 +115,8 @@ static void > webkit_dom_media_error_set_property(GObject* object, guint prop_id, > > static void webkit_dom_media_error_get_property(GObject* object, > guint > prop_id, GValue* value, GParamSpec* pspec) { > +#if (0) /* NVL */ > + > WebCore::JSMainThreadNullState state; > WebKitDOMMediaError* self = WEBKIT_DOM_MEDIA_ERROR(object); > WebCore::MediaError* coreSelf = WebKit::core(self); @@ -128,6 > +130,9 @@ static void webkit_dom_media_error_get_property(GObject* > object, guint prop_id, > G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > break; > } > +#else > + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > +#endif > } > > > diff --git a/DerivedSources/webkit/WebKitDOMTimeRanges.cpp > b/DerivedSources/webkit/WebKitDOMTimeRanges.cpp > index 812cb55..929d793 100644 > --- a/DerivedSources/webkit/WebKitDOMTimeRanges.cpp > +++ b/DerivedSources/webkit/WebKitDOMTimeRanges.cpp > @@ -115,6 +115,7 @@ static void > webkit_dom_time_ranges_set_property(GObject* object, guint prop_id, > > static void webkit_dom_time_ranges_get_property(GObject* object, > guint > prop_id, GValue* value, GParamSpec* pspec) { > +#if (0) /* NVL */ > WebCore::JSMainThreadNullState state; > WebKitDOMTimeRanges* self = WEBKIT_DOM_TIME_RANGES(object); > WebCore::TimeRanges* coreSelf = WebKit::core(self); @@ -128,6 > +129,10 @@ static void webkit_dom_time_ranges_get_property(GObject* > object, guint prop_id, > G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > break; > } > +#else > + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); > +#endif > + > } > > > > > _______________________________________________ > webkit-gtk mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk > > >
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
