2017-05-29 15:44 GMT-04:00 Albert Cardona <sapristi_AT_gmail.com>:
> 2017-05-29 15:35 GMT-04:00 David Phillips <david_AT_sighup.nz>:
>> 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.
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=bb732ee78cee8688e74b0f67ff8
If there is a better solution, do please let me know.
Thanks,
Albert
Received on Mon May 29 2017 - 21:53:01 CEST