Closed
Bug 414337
Opened 17 years ago
Closed 17 years ago
undefined reference to (internal) nsINode::GetProperty while building xmlextras extension tests
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: kennyyu, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20071008 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6
Build Identifier: Mozilla 1.9 Mobile Build
Dear Mozilla Mobile Developers,
I'm new to this mail list and the mobile mozilla... and recently I've
followed http://wiki.mozilla.org/Mobile/Build/Maemo_Build_Instructions to
compile a mozilla for my maemo (4.0, chinook) but without a success.
I've performed the following
1. cat buildlibIDL.sh | scratchbox -s -p
2. cat buildmoz19.sh | scratchbox -s -p
And the second line reported error, after having run for about an
hour, as the following:
make[6]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/pointers/src'
make[5]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/pointers'
make[5]: Entering directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/build'
make[6]: Entering directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/build/src'
make[6]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/build/src'
make[5]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/build'
make[5]: Entering directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/tests'
TestXMLExtras.cpp
c++ -o TestXMLExtras.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\"
-DOSARCH=Linux -I/home/kykyu/moz1.9/mozilla/extensions/xmlextras/tests -I.
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/xmlextras -I../../../dist/include/necko
-I../../../dist/include/dom -I../../../dist/include/content
-I../../../dist/include/layout -I../../../dist/include/widget
-I../../../dist/include -I../../../dist/include
-I../../../dist/include/nspr -I../../../dist/sdk/include -fPIC
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wcast-align -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT
-include ../../../mozilla-config.h -Wp,-MD,.deps/TestXMLExtras.pp
/home/kykyu/moz1.9/mozilla/extensions/xmlextras/tests/TestXMLExtras.cpp
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wcast-align -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions -o TestXMLExtras
TestXMLExtras.o -lpthread -Wl,-rpath-link,../../../dist/bin
-L../../../dist/bin -L../../../dist/lib -L../../../dist/bin
-L../../../dist/lib -L../../../dist/bin -lmozjs
../../../dist/lib/libxpcomglue_s.a -L../../../dist/bin -lxpcom -lxul
-L../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x58):
undefined reference to `nsINode::GetProperty(unsigned short, nsIAtom*,
unsigned int*) const'
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x5c):
undefined reference to `nsINode::SetProperty(unsigned short, nsIAtom*,
void*, void (*)(void*, nsIAtom*, void*, void*), int, void**)'
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x60):
undefined reference to `nsINode::DeleteProperty(unsigned short, nsIAtom*)'
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x64):
undefined reference to `nsINode::UnsetProperty(unsigned short, nsIAtom*,
unsigned int*)'
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x68):
undefined reference to `nsINode::AddMutationObserver(nsIMutationObserver*)'
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x6c):
undefined reference to
`nsINode::RemoveMutationObserver(nsIMutationObserver*)'
TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for nsIDocument]+0x78):
undefined reference to `nsINode::CreateSlots()'
TestXMLExtras.o: In function `nsINode::IsEditableExternal() const':
TestXMLExtras.cpp:(.text._ZNK7nsINode18IsEditableExternalEv[nsINode::IsEditableExternal()
const]+0x13): undefined reference to `nsINode::IsEditableInternal() const'
TestXMLExtras.o: In function `nsIDocument::~nsIDocument()':
TestXMLExtras.cpp:(.text._ZN11nsIDocumentD0Ev[nsIDocument::~nsIDocument()]+0x83):
undefined reference to `nsPropertyTable::DeleteAllProperties()'
:TestXMLExtras.cpp:(.text._ZN11nsIDocumentD0Ev[nsIDocument::~nsIDocument()]+0xc7):
undefined reference to `nsINode::~nsINode()'
TestXMLExtras.o: In function `nsIDocument::~nsIDocument()':
TestXMLExtras.cpp:(.text._ZN11nsIDocumentD1Ev[nsIDocument::~nsIDocument()]+0x83):
undefined reference to `nsPropertyTable::DeleteAllProperties()'
:TestXMLExtras.cpp:(.text._ZN11nsIDocumentD1Ev[nsIDocument::~nsIDocument()]+0xc7):
undefined reference to `nsINode::~nsINode()'
collect2: ld returned 1 exit status
make[5]: *** [TestXMLExtras] Error 1
make[5]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras/tests'
make[4]: *** [tools] Error 2
make[4]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel/extensions/xmlextras'
make[3]: *** [tools_tier_gecko] Error 2
make[3]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel'
make[2]: *** [tier_toolkit] Error 2
make[2]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel'
make[1]: *** [default] Error 2
make[1]: Leaving directory
`/home/kykyu/moz1.9/mozilla/obj-dir-browser-chinook-armel'
make: *** [build] Error 2
kykyu@kykyu-ubuntu:~$
May I know any advise from you for my problem? My platform is Ubuntu 7.10.
I've install scratchbox R4 and maemo chinook, as instructed in the same wiki
page... Thanks!
Kenny.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Reporter | ||
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
--disable-tests you can't use the tests from xmlextras w/ libxul ...
and for things like this you should include your configure flags.
Status: RESOLVED → VERIFIED
Summary: undefined reference to nsINode::GetProperty while building → undefined reference to (internal) nsINode::GetProperty while building xmlextras extension tests
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•