I stupidly replied to another thread with my email on this yesterday.
Reposting with some updates.
I've created a project for testing out my problems and I've copied it to
http://slaine.org/files/testgtkembed.tar.bz2
This is basically an autotools project that tries to build
TestGtkEmbed.cpp file from
xulrunner/embedding/browser/gtk/tests/TestGtkEmbed.cpp
I've taken a look at yelp which does compile and run on my system, and
I've replicated as much of their m4 macro for detecting the correct
include paths and linker paths.
I've verified that the -I and -L params I'm seeing match that of what I
see when I compile yelp. Yet, I'm still have failures at link time, like
the following...
<SNIP>
....-L/usr/lib/xulrunner-sdk-1.9.1/sdk/lib -lxpcomglue -lplds4 -lplc4
-lnspr4 -lpthread -ldl -L/usr/lib/xulrunner-sdk-1.9.1/bin
-lxpcomglue -o testgtkembed testgtkembed-TestGtkEmbed.o
testgtkembed-TestGtkEmbed.o: In function `main':
/home/glen/src/TestGtkEmbed/testgtkembed/src/TestGtkEmbed.cpp:210:
undefined reference to `GRE_GetGREPathWithProperties'
/home/glen/src/TestGtkEmbed/testgtkembed/src/TestGtkEmbed.cpp:216:
undefined reference to `XPCOMGlueStartup'
testgtkembed-TestGtkEmbed.o: In function `GTKEmbedGlueStartup':
/usr/include/xulrunner-sdk-1.9.1/unstable/gtkmozembed_glue.cpp:109:
undefined reference to `XPCOMGlueLoadXULFunctions'
testgtkembed-TestGtkEmbed.o: In function `nsCOMPtr':
/usr/include/xulrunner-sdk-1.9.1/stable/nsCOMPtr.h:604: undefined
reference to
`nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID
const&)'
<SNIP>
Thanks in advance for any help
--
Glen Gray<sla...@slaine.org>
http://slaine.org
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding