Bug 459349 - undefined reference to `gtk_html_request_paste'
undefined reference to `gtk_html_request_paste'
Product: Fedora
Classification: Fedora
Component: gtkhtml3 (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Matthew Barnes
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-08-17 04:59 EDT by Remi Collet
Modified: 2008-08-17 10:13 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-08-17 10:13:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Remi Collet 2008-08-17 04:59:48 EDT
Description of problem:
Trying to build php-gtk result in this error

Version-Release number of selected component (if applicable):

How reproducible:
Simple code :
#include <gtkhtml/gtkhtml.h>

int main (int argc, char *argv[])

	void *p;
	p=(void *)gtk_html_select_all;
	p=(void *)gtk_html_request_paste;
	if (p) puts("Ok\n"); else puts("Ko\n");
	return 0;

Steps to Reproduce:
1. use above minimal test case.
2. gcc $(pkg-config --cflags --libs libgtkhtml-3.14) testload.c
Actual results:
testload.c:(.text+0x1b): undefined reference to `gtk_html_request_paste'

Expected results:

Additional info:
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 ?

Comment 1 Remi Collet 2008-08-17 05:58:56 EDT
Forget this....

I haven't check CVS and see revision 1.61.
Comment 2 Remi Collet 2008-08-17 06:00:14 EDT
Forget Comment #1, (wrong bugzilla)...
Comment 3 Matthew Barnes 2008-08-17 10:13:56 EDT
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().

Note You need to log in before you can comment on or make changes to this bug.