Red Hat Bugzilla – Bug 459349
undefined reference to `gtk_html_request_paste'
Last modified: 2008-08-17 10:13:56 EDT
Description of problem:
Trying to build php-gtk result in this error
Version-Release number of selected component (if applicable):
Simple code :
int main (int argc, char *argv)
if (p) puts("Ok\n"); else puts("Ko\n");
Steps to Reproduce:
1. use above minimal test case.
2. gcc $(pkg-config --cflags --libs libgtkhtml-3.14) testload.c
testload.c:(.text+0x1b): undefined reference to `gtk_html_request_paste'
gtk_html_request_paste is defined in gtkhtml.h but i don't find this function in the source code of libgtkhtml 3.18.1 (and 3.18.3).
Is there a missing lib (which should be provided by pkg-config) ?
If this function is not provided, it probably should not be declared in .h ?
I haven't check CVS and see revision 1.61.
Forget Comment #1, (wrong bugzilla)...
Here's the revision where it got removed (Oct, 2007), and I'm betting the API break was never noticed and the libgtkhtml soname never got bumped.
Not much I can do now except remove the declaration from the header file, which I've now done upstream.
I guess gtk_html_paste() should be used now instead of gtk_html_request_paste().