WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
119659
[GTK] [Stable] webkitgtk-2.0.4 gamepad support and undefined reference to g_udev_…
https://bugs.webkit.org/show_bug.cgi?id=119659
Summary
[GTK] [Stable] webkitgtk-2.0.4 gamepad support and undefined reference to g_u...
Paul Seidler
Reported
2013-08-10 23:17:06 PDT
Created
attachment 208487
[details]
compressed build log including error --enable-gamepad leads here to: Source/WebCore/platform/gtk/.libs/libWebCorePlatform_la-GamepadsGtk.o: In function `WebCore::GamepadsGtk::isGamepadDevice(_GUdevDevice*)': GamepadsGtk.cpp:(.text+0x3e2): undefined reference to `g_udev_device_get_device_file' GamepadsGtk.cpp:(.text+0x3ed): undefined reference to `g_udev_device_get_sysfs_path' GamepadsGtk.cpp:(.text+0x420): undefined reference to `g_udev_device_has_property' GamepadsGtk.cpp:(.text+0x433): undefined reference to `g_udev_device_has_property' Source/WebCore/platform/gtk/.libs/libWebCorePlatform_la-GamepadsGtk.o: In function `WebCore::GamepadsGtk::onUEventCallback(_GUdevClient*, char*, _GUdevDevice*, void*)': GamepadsGtk.cpp:(.text+0xbd4): undefined reference to `g_udev_device_get_device_file' Source/WebCore/platform/gtk/.libs/libWebCorePlatform_la-GamepadsGtk.o: In function `WebCore::GamepadsGtk::GamepadsGtk(unsigned int)': GamepadsGtk.cpp:(.text+0xd3d): undefined reference to `g_udev_client_new' GamepadsGtk.cpp:(.text+0xda0): undefined reference to `g_udev_client_query_by_subsystem' GamepadsGtk.cpp:(.text+0xdb1): undefined reference to `g_udev_device_get_type' GamepadsGtk.cpp:(.text+0xe01): undefined reference to `g_udev_device_get_device_file' collect2: error: ld returned 1 exit status make[1]: *** [Programs/WebKitPluginProcess] Error 1 Some -lgudev-1.0 or GAMEPAD_LIBS seems to be missing
Attachments
compressed build log including error
(
deleted
)
2013-08-10 23:17 PDT
,
Paul Seidler
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2013-09-13 06:16:41 PDT
It seems to work fine in my environment, what version of gudev do you have?
Alberto Garcia
Comment 2
2013-09-13 07:52:49 PDT
Ah, I see, this is fixed in trunk (
bug 114901
) but fails in the stable branch. Carlos, we need to add this to Programs_WebKitPluginProcess_LDADD: --- Source/WebKit2/GNUmakefile.am.orig 2013-09-13 17:50:37.461815213 +0300 +++ Source/WebKit2/GNUmakefile.am 2013-09-13 17:38:39.415056167 +0300 @@ -610,6 +610,7 @@ $(CAIRO_LIBS) \ $(COVERAGE_LDFLAGS) \ $(FREETYPE_LIBS) \ + $(GAMEPAD_LIBS) \ $(GEOCLUE_LIBS) \ $(GLIB_LIBS) \ $(GSTREAMER_LIBS) \ I'll update the wiki.
Carlos Garcia Campos
Comment 3
2013-09-15 23:51:52 PDT
(In reply to
comment #2
)
> Ah, I see, this is fixed in trunk (
bug 114901
) but fails in the stable branch. > > Carlos, we need to add this to Programs_WebKitPluginProcess_LDADD: > > --- Source/WebKit2/GNUmakefile.am.orig 2013-09-13 17:50:37.461815213 +0300 > +++ Source/WebKit2/GNUmakefile.am 2013-09-13 17:38:39.415056167 +0300 > @@ -610,6 +610,7 @@ > $(CAIRO_LIBS) \ > $(COVERAGE_LDFLAGS) \ > $(FREETYPE_LIBS) \ > + $(GAMEPAD_LIBS) \ > $(GEOCLUE_LIBS) \ > $(GLIB_LIBS) \ > $(GSTREAMER_LIBS) \ > > I'll update the wiki.
I'm confused,
bug 114901
landed in
r149169
that is previous to the branch point
r154665
and Programs_WebKitPluginProcess_LDADD already have GAMEPAD_LIBS in 2.2 branch
Alberto Garcia
Comment 4
2013-09-15 23:58:42 PDT
(In reply to
comment #3
)
> I'm confused,
bug 114901
landed in
r149169
that is previous to the > branch point
r154665
and Programs_WebKitPluginProcess_LDADD already > have GAMEPAD_LIBS in 2.2 branch
Never mind, Gustavo fixed this already:
http://trac.webkit.org/changeset/154060
Carlos Garcia Campos
Comment 5
2013-09-16 00:01:07 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > I'm confused,
bug 114901
landed in
r149169
that is previous to the > > branch point
r154665
and Programs_WebKitPluginProcess_LDADD already > > have GAMEPAD_LIBS in 2.2 branch > > Never mind, Gustavo fixed this already:
http://trac.webkit.org/changeset/154060
Ah, ok, this only applied to the 2.0 branch, not the 2.2 one.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug