Closed Bug 390848 Opened 19 years ago Closed 10 years ago

Error building XULRunner with SQL extension, unresolved symbols

Categories

(Core Graveyard :: SQL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cfbugzilla, Assigned: janv)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: MOZILLA_1_9a7_RELEASE Multiple unresolved symbols are reported when trying to build sql.dll. sql.xpt is created in obj-dir/dist/bin/components. If I remove 'sql' from the --enable-extensions clause of .mozconfig, XULRunner build is successful Reproducible: Always Steps to Reproduce: 1. Visual Studio 2005 Standard SP1 was previously installed 2. Install MozillaBuild 1.1 from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.1.exe 3. Create C:\Documents and Settings\<username>\.mozconfig containing the following: mk_add_options MOZ_CO_PROJECT=xulrunner mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ mk_add_options MOZ_ENABLE_MYSQL=1 mk_add_options MOZ_ENABLE_PGSQL=0 ac_add_options --with-windows-version=501 ac_add_options --enable-application=xulrunner ac_add_options --disable-activex ac_add_options --disable-activex-scripting ac_add_options --disable-accessibility ac_add_options --disable-javaxpcom ac_add_options --disable-tests ac_add_options --enable-storage ac_add_options --enable-svg ac_add_options --enable-extensions=xml-rpc,sql 4. Execute start-msvc8.bat 5. Inside mingw32, run the following: mkdir /c/moz cd /c/moz cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_9a7_RELEASE mozilla/client.mk cd mozilla make -f client.mk checkout make -f client.mk build Actual Results: Creating library fake.lib and object fake.exp mozSqlModule.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl NS_NewGenericModule2(struct nsModuleInfo const *,class nsIModule * *)" (?NS_NewGenericModule2@@YAIPBUnsModuleInfo@@PAPAVnsIModule@@@Z) referenced in function _NSGetModule sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsAString_internal::Assign(class nsAString_internal const &)" (?Assign@nsAString_internal@@QAIXABV1@@Z) referenced in function "public: class nsAString_internal & __thiscall nsAString_internal::operator=(class nsAString_internal const &)" (??4nsAString_internal@@QAEAAV0@ABV0@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: static unsigned short const * const nsCharTraits<unsigned short>::sEmptyBuffer" (?sEmptyBuffer@?$nsCharTraits@G@@2PBGB) referenced in function "protected: __thiscall nsAString_internal::nsAString_internal(void)" (??0nsAString_internal@@IAE@XZ) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: __thiscall nsAString_internal::nsAString_internal(unsigned short *,unsigned int,unsigned int)" (??0nsAString_internal@@QAE@PAGII@Z) referenced in function "protected: __thiscall nsString::nsString(unsigned short *,unsigned int,unsigned int)" (??0nsString@@IAE@PAGII@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: __thiscall nsAString_internal::~nsAString_internal(void)" (??1nsAString_internal@@QAE@XZ) referenced in function "public: __thiscall nsString::~nsString(void)" (??1nsString@@QAE@XZ) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsAString_internal::Adopt(unsigned short *,unsigned int)" (?Adopt@nsAString_internal@@QAIXPAGI@Z) referenced in function "public: __thiscall nsGetterCopies::~nsGetterCopies(void)" (??1nsGetterCopies@@QAE@XZ) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: __thiscall nsACString_internal::nsACString_internal(char *,unsigned int,unsigned int)" (??0nsACString_internal@@QAE@PADII@Z) referenced in function "protected: __thiscall nsCString::nsCString(char *,unsigned int,unsigned int)" (??0nsCString@@IAE@PADII@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: __thiscall nsACString_internal::~nsACString_internal(void)" (??1nsACString_internal@@QAE@XZ) referenced in function "public: __thiscall nsCString::~nsCString(void)" (??1nsCString@@QAE@XZ) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "private: void __thiscall nsPromiseFlatString::Init(class nsAString_internal const &)" (?Init@nsPromiseFlatString@@AAEXABVnsAString_internal@@@Z) referenced in function "public: __thiscall nsPromiseFlatString::nsPromiseFlatString(class nsAString_internal const &)" (??0nsPromiseFlatString@@QAE@ABVnsAString_internal@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __fastcall nsCreateInstanceByContractID::operator()(struct nsID const &,void * *)const " (??RnsCreateInstanceByContractID@@UBIIABUnsID@@PAPAX@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: __thiscall nsCOMPtr_base::~nsCOMPtr_base(void)" (??1nsCOMPtr_base@@QAE@XZ) referenced in function "public: __thiscall nsCOMPtr<class nsIProperties>::~nsCOMPtr<class nsIProperties>(void)" (??1?$nsCOMPtr@VnsIProperties@@@@QAE@XZ) sqlbase_s.lib(mozSqlService.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall nsHashKey::Write(class nsIObjectOutputStream *)const " (?Write@nsHashKey@@UBEIPAVnsIObjectOutputStream@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall nsHashKey::~nsHashKey(void)" (??1nsHashKey@@UAE@XZ) referenced in function "public: virtual void * __thiscall nsHashKey::`scalar deleting destructor'(unsigned int)" (??_GnsHashKey@@UAEPAXI@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: __thiscall nsHashtable::nsHashtable(unsigned int,int)" (??0nsHashtable@@QAE@IH@Z) referenced in function "public: __thiscall nsSupportsHashtable::nsSupportsHashtable(unsigned int,int)" (??0nsSupportsHashtable@@QAE@IH@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall nsSupportsHashtable::~nsSupportsHashtable(void)" (??1nsSupportsHashtable@@UAE@XZ) referenced in function "public: virtual void * __thiscall nsSupportsHashtable::`scalar deleting destructor'(unsigned int)" (??_GnsSupportsHashtable@@UAEPAXI@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall nsISupportsKey::Write(class nsIObjectOutputStream *)const " (?Write@nsISupportsKey@@UBEIPAVnsIObjectOutputStream@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __fastcall nsQueryReferent::operator()(struct nsID const &,void * *)const " (??RnsQueryReferent@@UBIIABUnsID@@PAPAX@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "unsigned int __fastcall NS_TableDrivenQI(void *,struct QITableEntry const *,struct nsID const &,void * *)" (?NS_TableDrivenQI@@YIIPAXPBUQITableEntry@@ABUnsID@@PAPAX@Z) referenced in function "public: virtual unsigned int __stdcall mozSqlService::QueryInterface(struct nsID const &,void * *)" (?QueryInterface@mozSqlService@@UAGIABUnsID@@PAPAX@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsCOMPtr_base::assign_from_gs_contractid_with_error(class nsGetServiceByContractIDWithError const &,struct nsID const &)" (?assign_from_gs_contractid_with_error@nsCOMPtr_base@@QAIXABVnsGetServiceByContractIDWithError@@ABUnsID@@@Z) referenced in function "public: __thiscall nsCOMPtr<class nsIProperties>::nsCOMPtr<class nsIProperties>(class nsGetServiceByContractIDWithError const &)" (??0?$nsCOMPtr@VnsIProperties@@@@QAE@ABVnsGetServiceByContractIDWithError@@@Z) qlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsCOMPtr_base::assign_from_helper(class nsCOMPtr_helper const &,struct nsID const &)" (?assign_from_helper@nsCOMPtr_base@@QAIXABVnsCOMPtr_helper@@ABUnsID@@@Z) referenced in function "public: class nsCOMPtr<class nsIRDFContainer> & __thiscall nsCOMPtr<class nsIRDFContainer>::operator=(class nsCOMPtr_helper const &)" (??4?$nsCOMPtr@VnsIRDFContainer@@@@QAEAAV0@ABVnsCOMPtr_helper@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsCOMPtr_base::assign_from_qi(class nsQueryInterface,struct nsID const &)" (?assign_from_qi@nsCOMPtr_base@@QAIXVnsQueryInterface@@ABUnsID@@@Z) referenced in function "public: __thiscall nsCOMPtr<class nsIRDFXMLSink>::nsCOMPtr<class nsIRDFXMLSink>(class nsQueryInterface)" (??0?$nsCOMPtr@VnsIRDFXMLSink@@@@QAE@VnsQueryInterface@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsCOMPtr_base::assign_from_gs_contractid(class nsGetServiceByContractID,struct nsID const &)" (?assign_from_gs_contractid@nsCOMPtr_base@@QAIXVnsGetServiceByContractID@@ABUnsID@@@Z) referenced in function "public: __thiscall nsCOMPtr<class nsIWindowWatcher>::nsCOMPtr<class nsIWindowWatcher>(class nsGetServiceByContractID)" (??0?$nsCOMPtr@VnsIWindowWatcher@@@@QAE@VnsGetServiceByContractID@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "unsigned int __cdecl CallGetService(struct nsID const &,struct nsID const &,void * *)" (?CallGetService@@YAIABUnsID@@0PAPAX@Z) referenced in function "unsigned int __cdecl CallGetService<class nsIRDFService>(struct nsID const &,class nsIRDFService * *)" (??$CallGetService@VnsIRDFService@@@@YAIABUnsID@@PAPAVnsIRDFService@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsACString_internal::Assign(char const *,unsigned int)" (?Assign@nsACString_internal@@QAIXPBDI@Z) referenced in function "public: __thiscall nsCAutoString::nsCAutoString(char const *,unsigned int)" (??0nsCAutoString@@QAE@PBDI@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "void __cdecl AppendASCIItoUTF16(char const *,class nsAString_internal &)" (?AppendASCIItoUTF16@@YAXPBDAAVnsAString_internal@@@Z) referenced in function "public: __thiscall NS_ConvertASCIItoUTF16::NS_ConvertASCIItoUTF16(char const *)" (??0NS_ConvertASCIItoUTF16@@QAE@PBD@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "class nsIAtom * __cdecl NS_NewAtom(char const *)" (?NS_NewAtom@@YAPAVnsIAtom@@PBD@Z) referenced in function "struct already_AddRefed<class nsIAtom> __cdecl do_GetAtom(char const *)" (?do_GetAtom@@YA?AU?$already_AddRefed@VnsIAtom@@@@PBD@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "class nsIWeakReference * __cdecl NS_GetWeakReference(class nsISupports *,unsigned int *)" (?NS_GetWeakReference@@YAPAVnsIWeakReference@@PAVnsISupports@@PAI@Z) referenced in function "struct already_AddRefed<class nsIWeakReference> __cdecl do_GetWeakReference(class nsISupports *,unsigned int *)" (?do_GetWeakReference@@YA?AU?$already_AddRefed@VnsIWeakReference@@@@PAVnsISupports@@PAI@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: void __fastcall nsAString_internal::Assign(unsigned short const *,unsigned int)" (?Assign@nsAString_internal@@QAIXPBGI@Z) referenced in function "public: virtual unsigned int __stdcall mozSqlService::FetchAlias(class nsIRDFResource *,class nsAString_internal &,class nsAString_internal &,class nsAString_internal &,int *,class nsAString_internal &,int *)" (?FetchAlias@mozSqlService@@UAGIPAVnsIRDFResource@@AAVnsAString_internal@@11PAH12@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: int __thiscall nsSupportsHashtable::Put(class nsHashKey *,class nsISupports *,class nsISupports * *)" (?Put@nsSupportsHashtable@@QAEHPAVnsHashKey@@PAVnsISupports@@PAPAV3@@Z) referenced in function "public: virtual unsigned int __stdcall mozSqlService::GetConnection(class nsIRDFResource *,class mozISqlConnection * *)" (?GetConnection@mozSqlService@@UAGIPAVnsIRDFResource@@PAPAVmozISqlConnection@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "public: class nsISupports * __thiscall nsSupportsHashtable::Get(class nsHashKey *)" (?Get@nsSupportsHashtable@@QAEPAVnsISupports@@PAVnsHashKey@@@Z) referenced in function "public: virtual unsigned int __stdcall mozSqlService::GetConnection(class nsIRDFResource *,class mozISqlConnection * *)" (?GetConnection@mozSqlService@@UAGIPAVnsIRDFResource@@PAPAVmozISqlConnection@@@Z) sqlbase_s.lib(mozSqlService.obj) : error LNK2019: unresolved external symbol "void __cdecl AppendUTF16toUTF8(class nsAString_internal const &,class nsACString_internal &)" (?AppendUTF16toUTF8@@YAXABVnsAString_internal@@AAVnsACString_internal@@@Z) referenced in function "public: virtual unsigned int __stdcall mozSqlService::GetNewConnection(class nsIRDFResource *,class mozISqlConnection * *)" (?GetNewConnection@mozSqlService@@UAGIPAVnsIRDFResource@@PAPAVmozISqlConnection@@@Z) sql.dll : fatal error LNK1120: 31 unresolved externals make[7]: *** [sql.dll] Error 96 make[7]: Leaving directory `/c/moz/mozilla/obj-i686-pc-mingw32/extensions/sql/build/src' Expected Results: sql.dll should be built.
I forgot to note, I did not forget to run the following export commands before building: export MOZ_MYSQL_INCLUDES=/c/moz/mysql/include export MOZ_MYSQL_LIBS=/c/moz/mysql/lib Those folders were copied from MySQL 5.0.45 community edition, extracted from the ZIP download for Windows. The mysql/lib folder contains 2 folders, 'debug' and 'opt' which contain the actual files; mysql/include has header files.
It's not only happening on Windows but Linux also. I suggest changing it to ALL platforms. I get lots of undefined references (nearly the same as those mentioned by Corey) It seems that the makefile has some problems and libsql.so (in Windows it is something like libsql.dll) cannot be compiled. Erroneous command during building: make[8]: Entering directory `/path/To/mozilla/xulrunner_build/xulrunner/extensions/sql/build/src' rm -f libsql.so 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 -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50 -fPIC -shared -Wl,-z,defs -Wl,-h,libsql.so -o libsql.so mozSqlModule.o -lpthread -Wl,-rpath-link,../../../../dist/bin -Wl,--whole-archive ../../base/src/libsqlbase_s.a -Wl,--no-whole-archive ../../../../dist/lib/libunicharutil_s.a -L../../../../dist/bin -lxpcom -lxul -L../../../../dist/bin -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,--version-script -Wl,/path/to/mozilla/build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm ====================================== And the error messages are mozSqlModule.o: In function `NSGetModule': mozSqlModule.cpp:(.text+0x1f): undefined reference to `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::CancelRequest(mozISqlRequest*)': mozSqlConnection.cpp:(.text+0x109): undefined reference to `nsCOMArray_base::RemoveObject(nsISupports*)' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::GetErrorMessage(nsAString_internal&)': mozSqlConnection.cpp:(.text+0x12e): undefined reference to `nsAString_internal::Assign(nsAString_internal const&)' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::QueryInterface(nsID const&, void**)': mozSqlConnection.cpp:(.text+0x168): undefined reference to `NS_TableDrivenQI(void*, QITableEntry const*, nsID const&, void**)' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::mozSqlConnection()': mozSqlConnection.cpp:(.text+0x1e0): undefined reference to `nsCharTraits<unsigned short>::sEmptyBuffer' mozSqlConnection.cpp:(.text+0x220): undefined reference to `nsVoidArray::nsVoidArray()' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::Release()': mozSqlConnection.cpp:(.text+0x2bc): undefined reference to `nsCOMArray_base::Clear()' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::AsyncExecuteQuery(nsAString_internal const&, nsISupports*, mozISqlRequestObserver*, mozISqlRequest**)': mozSqlConnection.cpp:(.text+0x348): undefined reference to `nsAString_internal::Assign(nsAString_internal const&)' mozSqlConnection.cpp:(.text+0x353): undefined reference to `nsCOMPtr_base::assign_with_AddRef(nsISupports*)' mozSqlConnection.cpp:(.text+0x35b): undefined reference to `nsCOMPtr_base::begin_assignment()' mozSqlConnection.cpp:(.text+0x372): undefined reference to `NS_GetProxyForObject(nsIEventTarget*, nsID const&, nsISupports*, int, void**)' mozSqlConnection.cpp:(.text+0x39f): undefined reference to `nsCOMArray_base::InsertObjectAt(nsISupports*, int)' mozSqlConnection.cpp:(.text+0x406): undefined reference to `nsCOMPtr_base::begin_assignment()' mozSqlConnection.cpp:(.text+0x412): undefined reference to `NS_NewThread_P(nsIThread**, nsIRunnable*)' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::GetServerVersion(nsAString_internal&)': mozSqlConnection.cpp:(.text+0x42e): undefined reference to `nsAString_internal::Assign(nsAString_internal const&)' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::BeginTransaction()': mozSqlConnection.cpp:(.text+0x465): undefined reference to `nsAString_internal::nsAString_internal(unsigned short*, unsigned int, unsigned int)' mozSqlConnection.cpp:(.text+0x47a): undefined reference to `nsAString_internal::~nsAString_internal()' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::~mozSqlConnection()': mozSqlConnection.cpp:(.text+0x4b8): undefined reference to `nsCOMArray_base::Clear()' mozSqlConnection.cpp:(.text+0x4f7): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base()' mozSqlConnection.cpp:(.text+0x500): undefined reference to `nsCOMArray_base::~nsCOMArray_base()' mozSqlConnection.cpp:(.text+0x508): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base()' mozSqlConnection.cpp:(.text+0x510): undefined reference to `nsAString_internal::~nsAString_internal()' mozSqlConnection.cpp:(.text+0x518): undefined reference to `nsAString_internal::~nsAString_internal()' mozSqlConnection.cpp:(.text+0x524): undefined reference to `vtable for nsSupportsWeakReference' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::Run()': mozSqlConnection.cpp:(.text+0x58a): undefined reference to `nsCOMPtr_base::assign_with_AddRef(nsISupports*)' mozSqlConnection.cpp:(.text+0x597): undefined reference to `nsCOMArray_base::RemoveObjectAt(int)' mozSqlConnection.cpp:(.text+0x5de): undefined reference to `nsCOMPtr_base::begin_assignment()' mozSqlConnection.cpp:(.text+0x63a): undefined reference to `nsCOMPtr_base::assign_with_AddRef(nsISupports*)' mozSqlConnection.cpp:(.text+0x687): undefined reference to `nsCOMPtr_base::begin_assignment()' mozSqlConnection.cpp:(.text+0x68e): undefined reference to `NS_GetCurrentThread_P()' mozSqlConnection.cpp:(.text+0x6a2): undefined reference to `NS_GetProxyForObject(nsIEventTarget*, nsID const&, nsISupports*, int, void**)' mozSqlConnection.cpp:(.text+0x6c0): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base()' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::RollbackTransaction()': mozSqlConnection.cpp:(.text+0x719): undefined reference to `nsAString_internal::nsAString_internal(unsigned short*, unsigned int, unsigned int)' mozSqlConnection.cpp:(.text+0x72e): undefined reference to `nsAString_internal::~nsAString_internal()' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::CommitTransaction()': mozSqlConnection.cpp:(.text+0x76b): undefined reference to `nsAString_internal::nsAString_internal(unsigned short*, unsigned int, unsigned int)' mozSqlConnection.cpp:(.text+0x780): undefined reference to `nsAString_internal::~nsAString_internal()' ../../base/src/libsqlbase_s.a(mozSqlConnection.o): In function `mozSqlConnection::~mozSqlConnection()': mozSqlConnection.cpp:(.text+0x7be): undefined reference to `nsCOMArray_base::Clear()' mozSqlConnection.cpp:(.text+0x7fd): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base()' mozSqlConnection.cpp:(.text+0x806): undefined reference to `nsCOMArray_base::~nsCOMArray_base()' mozSqlConnection.cpp:(.text+0x80e): undefined reference to `nsCOMPtr_base::~nsCOMPtr_base()' mozSqlConnection.cpp:(.text+0x816): undefined reference to `nsAString_internal::~nsAString_internal()' mozSqlConnection.cpp:(.text+0x81e): undefined reference to `nsAString_internal::~nsAString_internal()' mozSqlConnection.cpp:(.text+0x824): undefined reference to `vtable for nsSupportsWeakReference' mozSqlConnection.cpp:(.text+0x832): undefined reference to `nsSupportsWeakReference::ClearWeakReferences()' . . . and continue to around 500 lines. My .mozconfig is: dd_options MOZILLA_OFFICIAL=1 mk_add_options MOZ_ENABLE_MYSQL=1 mk_add_options MOZ_CO_PROJECT=xulrunner mk_add_options MOZ_BUILD_PROJECTS="xulrunner" ac_add_app_options xulrunner --enable-application=xulrunner ac_add_options --enable-application=xulrunner ac_add_options --enable-extensions=default,sql ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --disable-optimize ac_add_options --disable-freetype2 ac_add_options --disable-javaxpcom ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-svg ac_add_options --enable-xft and have already exported MOZ_ENABLE_MYSQL=1 MOZ_MYSQL_INCLUDES=/usr/include/mysql/ MOZ_MYSQL_LIBS=/usr/lib/mysql/ My xulrunner is built from CVS source under Ubuntu 8.04.
The SQL extension and component are no longer active.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.