Re: [dev] [surf] Errors compiling the surf-webkit2 branch

From: Albert Cardona <sapristi_AT_gmail.com>
Date: Mon, 29 May 2017 16:18:39 -0400

2017-05-29 16:13 GMT-04:00 Quentin Rameau <quinq_AT_fifth.space>:
>> The errors:
>>
>> surf.o: In function `main':
>> surf.c:(.text+0x3292): undefined reference to
>> `gdk_display_get_default_seat' surf.c:(.text+0x329e): undefined
>> reference to `gdk_seat_get_keyboard' collect2: error: ld returned 1
>> exit status Makefile:29: recipe for target 'surf' failed
>> make: *** [surf] Error 1
>>
>>
>> A bit of research showed that this is likely related to the use of
>> gtk3.0 vs gtk3.20
>
> Yes, it is.
>
>> , as exemplified by this patch to qemu, which
>> "solves" the issue with a macro.
>>
>> http://git.qemu.org/?p=qemu.git;a=commitdiff;h=bb732ee78cee8688e74b0f67ff8
>>
>> If there is a better solution, do please let me know.
>
> Well, instead of going through qemu history/code, you could do the same
> for surf and revert the commit introducing gdk_display_get_default_seat.


Got it: f9714ab838e

Will do. Thank you.

Albert
Received on Mon May 29 2017 - 22:18:39 CEST

This archive was generated by hypermail 2.3.0 : Mon May 29 2017 - 22:24:27 CEST