I built Firefox, but I end up with an error I got with the Gecko SDK.
$ export DISTDIR=moz/firefox-1.5.dfsg+1.5.0.3/dist
$ g++ -g -DMOZILLA_STRICT_API -DXPCOM_GLUE -Wall -Wno-non-virtual-dtor
-I$DISTDIR/sdk/include -L$DISTDIR/sdk/lib -lxpcomglue -lnspr4 -lplds4
-lembed_base_s -L$DISTDIR/sdk/bin -lxpcom -L$DISTDIR/lib -lxpcom_core -o test
test.cpp
/tmp/cc2KZd33.o: In function
`main':/home/slanning/mozilla/mozembed/howto/test.cpp:12: undefined reference to
`NS_InitEmbedding'
:/home/slanning/mozilla/mozembed/howto/test.cpp:18: undefined reference to
`NS_TermEmbedding'
collect2: ld returned 1 exit status
I have no idea what I'm actually supposed to link against..
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding