[EMAIL PROTECTED]:~/mozilla/embedding/examples$ make /usr/bin/make export make[1]: Entering directory `/backup/brightman/mozilla/embedding/examples' make[1]: Leaving directory `/backup/brightman/mozilla/embedding/examples' /usr/bin/make libs make[1]: Entering directory `/backup/brightman/mozilla/embedding/examples' c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -o test test.o -lpthread -L../../dist/bin -L../../dist/lib -L../../dist/bin -Wl,-rpath-link,../../dist/bin -lxpcom -lxul -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libxpcomglue.a ../../dist/sdk/lib/libembed_base_s.a -lX11 -ldl -lm -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lX11 -lgobject-2.0 -lglib-2.0
test.o:(.data.rel.ro._ZTV18nsWebBrowserChrome[vtable for nsWebBrowserChrome]+0x5c): undefined reference to `nsWebBrowserChrome::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, unsigned int)' test.o:(.data.rel.ro._ZTV18nsWebBrowserChrome[vtable for nsWebBrowserChrome]+0x60): undefined reference to `nsWebBrowserChrome::OnProgressChange(nsIWebProgress*, nsIRequest*, int, int, int, int)' test.o:(.data.rel.ro._ZTV18nsWebBrowserChrome[vtable for nsWebBrowserChrome]+0x64): undefined reference to `nsWebBrowserChrome::OnLocationChange(nsIWebProgress*, nsIRequest*, nsIURI*)' test.o:(.data.rel.ro._ZTV18nsWebBrowserChrome[vtable for nsWebBrowserChrome]+0x68): undefined reference to `nsWebBrowserChrome::OnStatusChange(nsIWebProgress*, nsIRequest*, unsigned int, unsigned short const*)' test.o:(.data.rel.ro._ZTV18nsWebBrowserChrome[vtable for nsWebBrowserChrome]+0x6c): undefined reference to `nsWebBrowserChrome::OnSecurityChange(nsIWebProgress*, nsIRequest*, unsigned int)' /usr/bin/ld: test: hidden symbol `nsWebBrowserChrome::OnSecurityChange(nsIWebProgress*, nsIRequest*, unsigned int)' isn't defined /usr/bin/ld: final link failed: Nonrepresentable section on output my Makefile .... REQUIRES = xpcom \ dom \ webbrwsr \ necko \ widget \ docshell \ nspr \ webbrowserpersist \ $(NULL) CPPSRCS = \ test.cpp LIBS = $(MOZ_COMPONENT_LIBS) \ $(XPCOM_STANDALONE_GLUE_LDOPTS) \ ../../dist/sdk/lib/libembed_base_s.a \ $(NULL) .... maybe lost some libs? which lib? thanks brightman
_______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
