Skip to content

Instantly share code, notes, and snippets.

@gavinrogers
Created December 16, 2013 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavinrogers/7985035 to your computer and use it in GitHub Desktop.
Save gavinrogers/7985035 to your computer and use it in GitHub Desktop.
Building dwb git master on centos
make[1]: Entering directory `/home/gmj33/git/dwb/src'
cc adblock.c
In file included from adblock.c:21:
dwb.h:709: error: expected specifier-qualifier-list before ‘WebKitDOMElement’
dwb.h:727: error: expected specifier-qualifier-list before ‘WebKitDOMElement’
dwb.h:730: error: expected specifier-qualifier-list before ‘WebKitDOMElement’
In file included from adblock.c:26:
dom.h:22: error: expected ‘)’ before ‘*’ token
dom.h:24: error: expected ‘)’ before ‘*’ token
dom.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dom.h:26: error: expected ‘)’ before ‘*’ token
adblock.c: In function ‘adblock_prepare_match’:
adblock.c:248: warning: implicit declaration of function ‘soup_uri_get_host’
adblock.c:248: warning: initialization makes pointer from integer without a cast
adblock.c:256: warning: initialization makes pointer from integer without a cast
adblock.c: In function ‘adblock_apply_element_hider’:
adblock.c:289: warning: implicit declaration of function ‘soup_message_get_first_party’
adblock.c:289: warning: initialization makes pointer from integer without a cast
adblock.c:292: warning: initialization makes pointer from integer without a cast
adblock.c:347: error: ‘WebKitDOMDocument’ undeclared (first use in this function)
adblock.c:347: error: (Each undeclared identifier is reported only once
adblock.c:347: error: for each function it appears in.)
adblock.c:347: error: ‘doc’ undeclared (first use in this function)
adblock.c:347: warning: implicit declaration of function ‘webkit_web_view_get_dom_doc
ument’
adblock.c:348: error: ‘WebKitDOMHTMLHeadElement’ undeclared (first use in this functi
on)
adblock.c:348: error: ‘head’ undeclared (first use in this function)
adblock.c:348: warning: implicit declaration of function ‘webkit_dom_document_get_hea
d’
adblock.c:353: warning: implicit declaration of function ‘webkit_dom_node_append_chil
d’
adblock.c:353: warning: implicit declaration of function ‘WEBKIT_DOM_NODE’
adblock.c:357: warning: implicit declaration of function ‘webkit_dom_html_element_set
_inner_html’
adblock.c:357: warning: implicit declaration of function ‘WEBKIT_DOM_HTML_ELEMENT’
adblock.c:357: error: ‘ViewStatus’ has no member named ‘exc_style’
adblock.c:359: error: ‘ViewStatus’ has no member named ‘exc_style’
adblock.c:366: error: ‘View’ has no member named ‘js_base’
adblock.c:369: error: ‘View’ has no member named ‘js_base’
adblock.c: At top level:
adblock.c:380: error: expected ‘)’ before ‘*’ token
adblock.c: In function ‘adblock_frame_load_status_cb’:
adblock.c:458: error: ‘adblock_before_load_cb’ undeclared (first use in this function
)
adblock.c: In function ‘adblock_resource_request_cb’:
adblock.c:487: warning: initialization makes pointer from integer without a cast
adblock.c:495: warning: initialization makes pointer from integer without a cast
adblock.c:499: warning: initialization makes pointer from integer without a cast
adblock.c: In function ‘adblock_load_status_cb’:
adblock.c:523: error: ‘WebKitDOMDocument’ undeclared (first use in this function)
adblock.c:523: error: ‘doc’ undeclared (first use in this function)
adblock.c:524: error: ‘WebKitDOMDOMWindow’ undeclared (first use in this function)
adblock.c:524: error: ‘win’ undeclared (first use in this function)
adblock.c:524: warning: implicit declaration of function ‘webkit_dom_document_get_def
ault_view’
adblock.c:525: warning: implicit declaration of function ‘webkit_dom_event_target_add
_event_listener’
adblock.c:525: warning: implicit declaration of function ‘WEBKIT_DOM_EVENT_TARGET’
adblock.c:525: error: ‘adblock_before_load_cb’ undeclared (first use in this function
)
adblock.c: In function ‘adblock_connect’:
adblock.c:578: error: ‘WebKitDOMDocument’ undeclared (first use in this function)
adblock.c:578: error: ‘doc’ undeclared (first use in this function)
adblock.c:581: error: ‘WebKitDOMElement’ undeclared (first use in this function)
adblock.c:581: error: ‘style’ undeclared (first use in this function)
adblock.c:581: warning: implicit declaration of function ‘webkit_dom_document_create_
element’
adblock.c:585: error: ‘ViewStatus’ has no member named ‘exc_style’
make[1]: *** [adblock.o] Error 1
make[1]: Leaving directory `/home/gmj33/git/dwb/src'
make: *** [src.subdir-make] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment