Uzbl

Tasklist

FS#243 - Compilation errors under Debian

Attached to Project: Uzbl
Opened by Matthew (adelie) - 2010-09-20 12:19:52 AM
Last edited by Brendan Taylor (bct) - 2012-11-25 10:55:15 PM
Task Type Bug Report
Category uzbl-core
Status Closed
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I am trying to compile the latest Uzbl under Debian Linux. After installing libwebkit-dev and libsoup2.4-dev, I get the following output when I make Uzbl:

In file included from src/callbacks.c:6:
src/uzbl-core.h:65: error: expected specifier-qualifier-list before ‘WebKitWebInspector’
src/uzbl-core.h:108: error: expected specifier-qualifier-list before ‘SoupCookieJar’
In file included from src/callbacks.c:7:
src/callbacks.h:180: error: expected declaration specifiers or ‘...’ before ‘WebKitWebNavigationAction’
src/callbacks.h:181: error: expected declaration specifiers or ‘...’ before ‘WebKitWebPolicyDecision’
src/callbacks.h:185: error: expected declaration specifiers or ‘...’ before ‘WebKitWebNavigationAction’
src/callbacks.h:186: error: expected declaration specifiers or ‘...’ before ‘WebKitWebPolicyDecision’
src/callbacks.h:190: error: expected declaration specifiers or ‘...’ before ‘WebKitWebPolicyDecision’
src/callbacks.h:193: error: expected declaration specifiers or ‘...’ before ‘WebKitWebResource’
src/callbacks.h:194: error: expected declaration specifiers or ‘...’ before ‘WebKitNetworkResponse’
src/callbacks.h:215: error: expected ‘)’ before ‘*’ token
src/callbacks.c: In function ‘set_proxy_url’:
src/callbacks.c:15: error: ‘Network’ has no member named ‘proxy_url’
src/callbacks.c:15: error: ‘Network’ has no member named ‘proxy_url’
src/callbacks.c:16: warning: implicit declaration of function ‘soup_session_remove_feature_by_type’
src/callbacks.c:20: error: ‘Network’ has no member named ‘proxy_url’
src/callbacks.c: In function ‘set_authentication_handler’:
src/callbacks.c:32: warning: implicit declaration of function ‘soup_session_get_features’
src/callbacks.c:32: error: ‘WEBKIT_TYPE_SOUP_AUTH_DIALOG’ undeclared (first use in this function)
src/callbacks.c:32: error: (Each undeclared identifier is reported only once
src/callbacks.c:32: error: for each function it appears in.)
src/callbacks.c:32: warning: initialization makes pointer from integer without a cast
src/callbacks.c:39: warning: implicit declaration of function ‘soup_session_add_feature_by_type’
src/callbacks.c: In function ‘cmd_max_conns’:
src/callbacks.c:101: error: ‘Network’ has no member named ‘max_conns’
src/callbacks.c: In function ‘cmd_max_conns_host’:
src/callbacks.c:107: error: ‘Network’ has no member named ‘max_conns_host’
src/callbacks.c: In function ‘cmd_http_debug’:
src/callbacks.c:113: warning: implicit declaration of function ‘soup_session_remove_feature’
src/callbacks.c:113: warning: implicit declaration of function ‘SOUP_SESSION_FEATURE’
src/callbacks.c:113: error: ‘Network’ has no member named ‘soup_logger’
src/callbacks.c:117: error: ‘Network’ has no member named ‘soup_logger’
src/callbacks.c:118: warning: implicit declaration of function ‘soup_session_add_feature’
src/callbacks.c:119: error: ‘Network’ has no member named ‘soup_logger’
src/callbacks.c: In function ‘cmd_useragent’:
src/callbacks.c:283: error: ‘Network’ has no member named ‘useragent’
src/callbacks.c:284: error: ‘Network’ has no member named ‘useragent’
src/callbacks.c:285: error: ‘Network’ has no member named ‘useragent’
src/callbacks.c:288: error: ‘Network’ has no member named ‘useragent’
src/callbacks.c: In function ‘cmd_view_source’:
src/callbacks.c:314: warning: implicit declaration of function ‘webkit_web_view_set_view_source_mode’
src/callbacks.c: In function ‘title_change_cb’:
src/callbacks.c:389: warning: implicit declaration of function ‘webkit_web_view_get_title’
src/callbacks.c:389: warning: initialization makes pointer from integer without a cast
src/callbacks.c: In function ‘button_press_cb’:
src/callbacks.c:533: error: ‘WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE’ undeclared (first use in this function)
src/callbacks.c:535: error: ‘WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT’ undeclared (first use in this function)
src/callbacks.c: In function ‘button_release_cb’:
src/callbacks.c:567: error: ‘WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE’ undeclared (first use in this function)
src/callbacks.c: At top level:
src/callbacks.c:600: error: expected declaration specifiers or ‘...’ before ‘WebKitWebNavigationAction’
src/callbacks.c:600: error: expected declaration specifiers or ‘...’ before ‘WebKitWebPolicyDecision’
src/callbacks.c: In function ‘navigation_decision_cb’:
src/callbacks.c:603: error: ‘navigation_action’ undeclared (first use in this function)
src/callbacks.c:622: warning: implicit declaration of function ‘webkit_web_policy_decision_ignore’
src/callbacks.c:622: error: ‘policy_decision’ undeclared (first use in this function)
src/callbacks.c:632: warning: implicit declaration of function ‘webkit_web_policy_decision_use’
src/callbacks.c: At top level:
src/callbacks.c:639: error: expected declaration specifiers or ‘...’ before ‘WebKitWebNavigationAction’
src/callbacks.c:640: error: expected declaration specifiers or ‘...’ before ‘WebKitWebPolicyDecision’
src/callbacks.c: In function ‘new_window_cb’:
src/callbacks.c:643: error: ‘navigation_action’ undeclared (first use in this function)
src/callbacks.c:644: error: ‘policy_decision’ undeclared (first use in this function)
src/callbacks.c: At top level:
src/callbacks.c:669: error: expected declaration specifiers or ‘...’ before ‘WebKitWebPolicyDecision’
src/callbacks.c: In function ‘mime_policy_cb’:
src/callbacks.c:675: warning: implicit declaration of function ‘webkit_web_view_can_show_mime_type’
src/callbacks.c:676: error: ‘policy_decision’ undeclared (first use in this function)
src/callbacks.c:681: warning: implicit declaration of function ‘webkit_web_policy_decision_download’
src/callbacks.c: At top level:
src/callbacks.c:686: error: expected declaration specifiers or ‘...’ before ‘WebKitWebResource’
src/callbacks.c:687: error: expected declaration specifiers or ‘...’ before ‘WebKitNetworkResponse’
src/callbacks.c: In function ‘request_starting_cb’:
src/callbacks.c:690: error: ‘resource’ undeclared (first use in this function)
src/callbacks.c:691: error: ‘response’ undeclared (first use in this function)
src/callbacks.c: In function ‘create_web_view_js2_cb’:
src/callbacks.c:702: warning: implicit declaration of function ‘webkit_web_view_get_uri’
src/callbacks.c:702: warning: initialization makes pointer from integer without a cast
src/callbacks.c: In function ‘download_cb’:
src/callbacks.c:763: warning: implicit declaration of function ‘webkit_download_get_uri’
src/callbacks.c:763: error: ‘WebKitDownload’ undeclared (first use in this function)
src/callbacks.c:763: error: expected expression before ‘)’ token
src/callbacks.c:763: warning: passing argument 2 of ‘send_event’ makes pointer from integer without a cast
src/callbacks.c: At top level:
src/callbacks.c:759: warning: unused parameter ‘download’
src/callbacks.c: In function ‘populate_popup_cb’:
src/callbacks.c:785: error: ‘GUI’ has no member named ‘menu_items’
src/callbacks.c:793: error: ‘GUI’ has no member named ‘menu_items’
src/callbacks.c:795: error: ‘GUI’ has no member named ‘menu_items’
src/callbacks.c:797: error: ‘WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT’ undeclared (first use in this function)
src/callbacks.c: At top level:
src/callbacks.c:834: error: expected ‘)’ before ‘*’ token
src/callbacks.c: In function ‘save_cookies_http’:
src/callbacks.c:857: warning: implicit declaration of function ‘soup_cookies_from_response’
src/callbacks.c:857: warning: assignment makes pointer from integer without a cast
src/callbacks.c:858: warning: implicit declaration of function ‘soup_cookie_to_set_cookie_header’
src/callbacks.c:858: warning: assignment makes pointer from integer without a cast
make: *** [callbacks.o] Error 1

The compilation process is not getting very far at all, this occurs while compileing the first file. (using make -B)
I haven't been able to find anything on the web about "error: expected specifier-qualifier-list before ‘WebKitWebInspector’". Any ideas?
This task depends upon

Closed by  Brendan Taylor (bct)
2012-11-25 10:55:15 PM
Reason for closing:  Deferred
Additional comments about closing:  No activity.
Comment by Ben Boeckel (mathstuf) - 2011-04-14 02:38:45 AM
Does something similar still happen with the latest release?

Loading...