I am attempting to compile TestGtkEmbed using the resources installed
from mozilla-devel rpm. The compile and link is successfull, but the
execution is bad. Which could be from linking with the wrong libraries
or something? Can anyone spot what is wrong with this?
Thanks,
ThazKool
<COMMAND result="success">
gcc -o TestGtkEmbed -DOSTYPE=\"Linux2.6.11-1\" -DOSARCH=\"Linux\" \
-I/usr/include/mozilla-1.7.7/xpcom \
-I/usr/include/mozilla-1.7.7/string \
-I/usr/include/mozilla-1.7.7/dom \
-I/usr/include/mozilla-1.7.7/gtkembedmoz \
-I/usr/include/mozilla-1.7.7 \
-I/usr/include/mozilla-1.7.7/nspr \
-I/usr/X11R6/include \
-I/usr/include/gtk-2.0 \
-I/usr/lib/gtk-2.0/include \
-I/usr/include/atk-1.0 \
-I/usr/include/pango-1.0 \
-I/usr/include/freetype2 \
-I/usr/include/freetype2/config \
-I/usr/include/glib-2.0 \
-I/usr/lib/glib-2.0/include \
-fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-non-virtual-dtor
-Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG
-DTRIMMED -O -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-DMOZILLA_CLIENT \
-L/usr/lib/mozilla-1.7.7 -lgtkembedmoz \
TestGtkEmbed.cpp
</COMMAND>
<COMMAND result="failure">
./TestGtkEmbed
</COMMAND>
<OUTPUT>
new_gtk_browser
menu bar
tool bar
location bar
status bar
(TestGtkEmbed:14532): Gtk-CRITICAL **: gtk_box_pack_start: assertion
`GTK_IS_WIDGET (child)' failed
Segmentation fault
</OUTPUT>
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding