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

From: Albert Cardona <>
Date: Mon, 29 May 2017 15:53:01 -0400

2017-05-29 15:44 GMT-04:00 Albert Cardona <>:
> 2017-05-29 15:35 GMT-04:00 David Phillips <>:
>> On Mon, May 29, 2017 at 03:29:47PM -0400, Albert Cardona wrote:
>>> Hi all,
>>> Upon compiling the surf-webkit2 with either cc or clang, I am getting
>>> a number of errors.
>> I wonder if your config.h is outdated and is supposed to declare these.
>> Not familiarvwith surf myself.
>> Thanks.
> Thank you David, I had failed to notice that config.h had been moved
> to config.def.h (which makes sense).
> Removing my old config.h and symlinking to config.def.h addressed
> these surprising issues.
> Now only two undefined references remain, which surely it's some
> library I am missing.

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, as exemplified by this patch to qemu, which
"solves" the issue with a macro.;a=commitdiff;h=bb732ee78cee8688e74b0f67ff8

If there is a better solution, do please let me know.


Received on Mon May 29 2017 - 21:53:01 CEST

This archive was generated by hypermail 2.3.0 : Mon May 29 2017 - 22:00:17 CEST