Closed Bug 347727 Opened 18 years ago Closed 11 years ago

embedding/lite doesn't build with libxul and bsmedberg's latest landing

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: romaxa, Unassigned)

References

Details

(Keywords: regression)

updating embedding/lite/Makefile
/usr/bin/make export
make[1]: Entering directory `/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/debug-i686-pc-linux-gnu/embedding/lite'
Creating .deps
make[1]: Leaving directory `/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/debug-i686-pc-linux-gnu/embedding/lite'
/usr/bin/make libs
make[1]: Entering directory `/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/debug-i686-pc-linux-gnu/embedding/lite'
nsEmbedGlobalHistory.cpp
c++ -o nsEmbedGlobalHistory.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/rdf/chrome/src -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/content -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/docshell -I../../dist/include   -I../../dist/include/embed_lite -I../../dist/include/nspr       -fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_romaxa -DTRACING -g -fno-inline -O   -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsEmbedGlobalHistory.pp /home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp
nsEmbedLiteModule.cpp
c++ -o nsEmbedLiteModule.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/rdf/chrome/src -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/content -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/docshell -I../../dist/include   -I../../dist/include/embed_lite -I../../dist/include/nspr       -fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_romaxa -DTRACING -g -fno-inline -O   -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsEmbedLiteModule.pp /home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedLiteModule.cpp
rm -f libembed_lite.so
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 -fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_romaxa -DTRACING -g -fno-inline -O -fPIC -shared -Wl,-z,defs -Wl,-h,libembed_lite.so -o libembed_lite.so  nsEmbedGlobalHistory.o nsEmbedLiteModule.o    -lpthread           -L../../dist/bin -Wl,-rpath-link,../../dist/bin -lxpcom -lxul  -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -Wl,-Bsymbolic -ldl -lm
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIProperties>::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError const&, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1282: undefined reference to `nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIFile>::assign_from_qi(nsQueryInterface, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1232: undefined reference to `nsQueryInterface::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsILocalFile>::assign_from_qi(nsQueryInterface, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1232: undefined reference to `nsQueryInterface::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIObserverService>::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1272: undefined reference to `nsGetServiceByContractID::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIPrefBranch>::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1272: undefined reference to `nsGetServiceByContractID::operator()(nsID const&, void**) const'
collect2: ld returned 1 exit status
make[1]: *** [libembed_lite.so] Error 1
make[1]: Leaving directory `/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/debug-i686-pc-linux-gnu/embedding/lite'
make: *** [all] Error 2
sorry, here's the full error:

romaxa@romaxa-sr:/home/work/xulrunner/maemo-browser/build-tree/mozilla/debug-i686-pc-linux-gnu/embedding/lite$ make -s
nsEmbedGlobalHistory.o: In function `nsEmbedGlobalHistory::ResetData()':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:334: undefined reference to `nsHashtable::Reset(int (*)(nsHashKey*, void*, void*), void*)'
nsEmbedGlobalHistory.o: In function `nsEmbedGlobalHistory::FlushData(int)':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:319: undefined reference to `nsHashtable::Enumerate(int (*)(nsHashKey*, void*, void*), void*)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:322: undefined reference to `nsHashtable::Enumerate(int (*)(nsHashKey*, void*, void*), void*)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:324: undefined reference to `nsHashtable::Enumerate(int (*)(nsHashKey*, void*, void*), void*)'
nsEmbedGlobalHistory.o: In function `nsEmbedGlobalHistory::Init()':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:185: undefined reference to `nsHashtable::nsHashtable(unsigned int, int)'
nsEmbedGlobalHistory.o: In function `HistoryEntry::InitPool()':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:149: undefined reference to `nsFixedSizeAllocator::Init(char const*, unsigned int const*, int, int, int)'
nsEmbedGlobalHistory.o: In function `HistoryEntry::operator delete(void*, unsigned int)':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:134: undefined reference to `nsFixedSizeAllocator::Free(void*, unsigned int)'
nsEmbedGlobalHistory.o: In function `HistoryEntry::operator new(unsigned int)':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:121: undefined reference to `nsFixedSizeAllocator::Alloc(unsigned int)'
nsEmbedGlobalHistory.o: In function `nsEmbedGlobalHistory::LoadData()':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:299: undefined reference to `nsCStringKey::nsCStringKey(nsCString const&)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:300: undefined reference to `nsHashtable::Put(nsHashKey*, void*)'/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:300: undefined reference to `nsCStringKey::~nsCStringKey()'
nsEmbedGlobalHistory.o: In function `nsEmbedGlobalHistory::IsVisited(char const*, int*)':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:244: undefined reference to `nsCStringKey::nsCStringKey(char const*, int, nsCStringKey::Ownership)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:246: undefined reference to `nsHashtable::Exists(nsHashKey*)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:247: undefined reference to `nsCStringKey::~nsCStringKey()'
nsEmbedGlobalHistory.o: In function `nsEmbedGlobalHistory::AddPage(char const*)':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:218: undefined reference to `nsCStringKey::nsCStringKey(char const*, int, nsCStringKey::Ownership)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:219: undefined reference to `nsHashtable::Get(nsHashKey*)'
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:228: undefined reference to `nsHashtable::Put(nsHashKey*, void*)'/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/embedding/lite/nsEmbedGlobalHistory.cpp:233: undefined reference to `nsCStringKey::~nsCStringKey()'
nsEmbedGlobalHistory.o: In function `nsSupportsWeakReference':
../../dist/include/xpcom/nsWeakReference.h:59: undefined reference to `vtable for nsSupportsWeakReference'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIProperties>::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError const&, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1282: undefined reference to `nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIFile>::assign_from_qi(nsQueryInterface, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1232: undefined reference to `nsQueryInterface::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsILocalFile>::assign_from_qi(nsQueryInterface, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1232: undefined reference to `nsQueryInterface::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `~nsString':
../../dist/include/string/nsTString.h:51: undefined reference to `nsAString_internal::~nsAString_internal()'
nsEmbedGlobalHistory.o: In function `nsACString_internal::Insert(char, unsigned int)':
../../dist/include/string/nsTSubstring.h:393: undefined reference to `nsACString_internal::Replace(unsigned int, unsigned int, char)'
nsEmbedGlobalHistory.o: In function `~nsCString':
../../dist/include/string/nsTString.h:51: undefined reference to `nsACString_internal::~nsACString_internal()'
nsEmbedGlobalHistory.o: In function `nsACString_internal::Truncate(unsigned int)':
../../dist/include/string/nsTSubstring.h:415: undefined reference to `nsACString_internal::SetLength(unsigned int)'
nsEmbedGlobalHistory.o: In function `nsACString_internal::Append(char const*, unsigned int)':
../../dist/include/string/nsTSubstring.h:361: undefined reference to `nsACString_internal::Replace(unsigned int, unsigned int, char const*, unsigned int)'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIObserverService>::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1272: undefined reference to `nsGetServiceByContractID::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `nsCOMPtr<nsIPrefBranch>::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)':
../../dist/include/xpcom/nsCOMPtr.h:1272: undefined reference to `nsGetServiceByContractID::operator()(nsID const&, void**) const'
nsEmbedGlobalHistory.o: In function `~nsSupportsWeakReference':
../../dist/include/xpcom/nsWeakReference.h:91: undefined reference to `vtable for nsSupportsWeakReference'
../../dist/include/xpcom/nsWeakReference.h:93: undefined reference to `nsSupportsWeakReference::ClearWeakReferences()'
nsEmbedGlobalHistory.o:(.data.rel.ro._ZTV20nsEmbedGlobalHistory[vtable for nsEmbedGlobalHistory]+0x58): undefined reference to `nsSupportsWeakReference::GetWeakReference(nsIWeakReference**)'
collect2: ld returned 1 exit status
make[1]: *** [libembed_lite.so] Error 1
make: *** [all] Error 2
Not sure what embedding/lite is for any more.
Assignee: benjamin → nobody
well, classically, embedding/lite was embedding without chrome/rdf/mork...

which given that microb historically had no need for chrome/rdf/mork meant it made sense...
Not a problem anymore, I'm able to build new embedding API against latest engine these days
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.