tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Trying to update www/webkit-gtk to 2.4.1



Hello tech-pkg@,
I would like to update www/webkit-gtk. So I updated all the patches,
Makefile* and so on.
I have also installed gcc48-4.8.2nb1 and gcc48-libs-4.8.2nb2 because the
new webkit-gtk releases need at least gcc>=4.7 or clang>=3.3 (and I am
running NetBSD/i386 6.1.4)

During the build phase (actually on this machine after two days spent
compiling :)), I have got the following error:

XXLD    libwebkitgtk-1.0.la
./.libs/libWebCore.a(libWebCore_la-GResourceBundle.o): In function `read':
GResourceBundle.c:(.text+0x0): multiple definition of `read'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0x0):
 first defined here
./.libs/libWebCore.a(libWebCore_la-GResourceBundle.o): In function `readlink':
GResourceBundle.c:(.text+0x40): multiple definition of `readlink'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0x40):
 first defined here
./.libs/libWebCore.a(libWebCore_la-GResourceBundle.o): In function `getcwd':
GResourceBundle.c:(.text+0x80): multiple definition of `getcwd'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0x80):
 first defined here
./.libs/libWebCoreGtk.a(libWebCoreGtk_la-gtk2xtbin.o): In function `read':
gtk2xtbin.c:(.text+0x890): multiple definition of `read'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0x0):
 first defined here
./.libs/libWebCoreGtk.a(libWebCoreGtk_la-gtk2xtbin.o): In function `readlink':
gtk2xtbin.c:(.text+0x8d0): multiple definition of `readlink'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0x40):
 first defined here
./.libs/libWebCoreGtk.a(libWebCoreGtk_la-gtk2xtbin.o): In function `getcwd':
gtk2xtbin.c:(.text+0x910): multiple definition of `getcwd'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0x80):
 first defined here
./.libs/libWebCoreGtk.a(libWebCoreGtk_la-gtk2xtbin.o): In function `gets':
gtk2xtbin.c:(.text+0x940): multiple definition of `gets'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0xb0):
 first defined here
./.libs/libWebCoreGtk.a(libWebCoreGtk_la-gtk2xtbin.o): In function `fgets':
gtk2xtbin.c:(.text+0x970): multiple definition of `fgets'
./.libs/libPlatformGtk.a(libPlatformGtk_la-GtkVersioning.o):GtkVersioning.c:(.text+0xe0):
 first defined here
collect2: error: ld returned 1 exit status
GNUmakefile:40295: recipe for target 'libwebkitgtk-1.0.la' failed
gmake[1]: *** [libwebkitgtk-1.0.la] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/www/webkit-gtk/work/webkitgtk-2.4.1'
GNUmakefile:25678: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Anyone has an idea on what and how I should investigate further? If you
know how to fix feel free to directly do that, you can find what I have
already done in wip/webkit-gtk.


Thank you very much in advance,
L.


Home | Main Index | Thread Index | Old Index