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

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Mon, 29 May 2017 22:13:27 +0200

> 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.

> Thanks,
>
> Albert

You're welcome,

Quentin
Received on Mon May 29 2017 - 22:13:27 CEST

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