[Kde-bindings] [Bug 54128] compile problem in xparts/mozilla, missing gtkmozembed.h (though installed)

torsten at inetw.net torsten at inetw.net
Tue Feb 11 19:32:57 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=54128     




------- Additional Comments From torsten at inetw.net  2003-02-11 20:32 -------
I'm using LFS 4.0 (Linux From Scratch).  I have this exact same compile failure.

gcc-3.2
kde-3.1

mozilla-1.3a binary install.

The missing header (gtkmozembed.h) is in the source distribution of mozilla. 
Including this header is useless without the associated gtk widget
(GtkMozEmbed).  I can't figure out how to get the widget without compiling
mozilla myself, and I have been unable thus far to compile mozilla-1.3 source baes.


kdebindings should check if the mozilla embedded gtk widget is available.  If
not, it should bypass the compilation of the mozilla component.


For reference, here's my compile failure.
-----------------------------------------
make[3]: Leaving directory
`/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts/xpart_notepad'
Making all in mozilla
make[3]: Entering directory
`/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts/mozilla'
/opt/kde/qt/bin/moc ./kmozillapart.h -o kmozillapart.moc
source='kmozillapart.cpp' object='kmozillapart.lo' libtool=yes \
depfile='.deps/kmozillapart.Plo' tmpdepfile='.deps/kmozillapart.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I./../src/kde -I./../src/interfaces -I./../src/gtk
-I/opt/kde/include -I../..  -I/opt/kde/include -I/opt/kde/qt/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -O2 -fno-exceptions -fno-check-new  -c -o kmozillapart.lo `test -f
'kmozillapart.cpp' || echo './'`kmozillapart.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -O2 -fno-exceptions -fno-check-new    -o libkmozillapart.la -rpath
/opt/kde/lib -module -L/usr/X11R6/lib -L/opt/kde/qt/lib -L/opt/kde/lib 
kmozillapart.lo ../src/kde/libkdexparts.la 
source='kmozilla.c' object='kmozilla.o' libtool=no \
depfile='.deps/kmozilla.Po' tmpdepfile='.deps/kmozilla.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../src/kde -I./../src/interfaces
-I./../src/gtk -I/opt/kde/include -I../..  -I/opt/kde/include
-I/opt/kde/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include -ansi -W -Wall -pedantic
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -c `test -f 'kmozilla.c' || echo
'./'`kmozilla.c
In file included from /usr/local/include/gtk-1.2/gdk/gdktypes.h:33,
                 from /usr/local/include/gtk-1.2/gdk/gdk.h:31,
                 from /usr/local/include/gtk-1.2/gtk/gtk.h:31,
                 from ../../dcopc/util.h:29,
                 from ../../dcopc/marshal.h:30,
                 from ../../dcopc/dcopobject.h:34,
                 from ../src/gtk/gtkpart.h:8,
                 from kmozilla.h:4,
                 from kmozilla.c:1:
/usr/local/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit named
variadic macros
/usr/local/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit named
variadic macros
/usr/local/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit named
variadic macros
/usr/local/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit named
variadic macros
kmozilla.c:3:25: gtkmozembed.h: No such file or directory
kmozilla.c:10: parse error before "GtkMozEmbed"
kmozilla.c:10: warning: no semicolon at end of struct or union
kmozilla.c:12: parse error before '}' token
kmozilla.c:12: warning: ISO C does not allow extra `;' outside of a function
kmozilla.c: In function `gtk_kmozilla_get_type':
kmozilla.c:56: warning: initialization discards qualifiers from pointer target type
kmozilla.c: In function `gtk_kmozilla_init':
kmozilla.c:93: warning: declaration of `ext' shadows a global declaration
kmozilla.c:11: warning: shadowed declaration is here
kmozilla.c:96: sizeof applied to an incomplete type
kmozilla.c:102: dereferencing pointer to incomplete type
kmozilla.c:107: warning: implicit declaration of function `gtk_moz_embed_new'
kmozilla.c:107: warning: assignment makes pointer from integer without a cast
kmozilla.c:108: dereferencing pointer to incomplete type
kmozilla.c:108: warning: implicit declaration of function `GTK_MOZ_EMBED'
kmozilla.c: In function `gtk_kmozilla_destroy':
kmozilla.c:135: dereferencing pointer to incomplete type
kmozilla.c:135: dereferencing pointer to incomplete type
kmozilla.c:135: dereferencing pointer to incomplete type
kmozilla.c:135: dereferencing pointer to incomplete type
kmozilla.c:135: dereferencing pointer to incomplete type
kmozilla.c: In function `gtk_kmozilla_set_dcop_client':
kmozilla.c:142: warning: passing arg 1 of `gtk_xpart_set_dcop_client' from
incompatible pointer type
kmozilla.c:143: dereferencing pointer to incomplete type
kmozilla.c: In function `open_url':
kmozilla.c:152: warning: implicit declaration of function `gtk_moz_embed_load_url'
kmozilla.c:152: dereferencing pointer to incomplete type
kmozilla.c: In function `close_url':
kmozilla.c:159: warning: implicit declaration of function `gtk_moz_embed_stop_load'
kmozilla.c:159: dereferencing pointer to incomplete type
kmozilla.c: In function `query_extension':
kmozilla.c:166: warning: implicit declaration of function `strcmp'
kmozilla.c:167: dereferencing pointer to incomplete type
kmozilla.c:167: warning: return discards qualifiers from pointer target type
kmozilla.c: In function `handle_reload':
kmozilla.c:176: warning: implicit declaration of function `gtk_moz_embed_reload'
kmozilla.c:176: dereferencing pointer to incomplete type
kmozilla.c:172: warning: unused parameter `user_data'
kmozilla.c: In function `open_url_request':
kmozilla.c:188: dereferencing pointer to incomplete type
kmozilla.c:182: warning: unused parameter `obj'
make[3]: *** [kmozilla.o] Error 1
make[3]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1'
make: *** [all] Error 2
toshy:root:/opt/kde/src/tmp/kdebindings-3.1# locate gtkmozembed.h:
toshy:root:/opt/kde/src/tmp/kdebindings-3.1#



More information about the Kde-bindings mailing list