Closed Bug 533171 Opened 16 years ago Closed 16 years ago

build static Thunderbird trunk fails building sqlite3.dll

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: philbaseless-firefox, Unassigned)

Details

configure doesn't seem to honor the #ifdef located here: http://mxr.mozilla.org/comm-central/source/mozilla/db/sqlite3/src/sqlite.def#179 mozconfig; mk_add_options MOZ_CO_PROJECT=mail ac_add_options --enable-application=mail ac_add_options --enable-extensions=default,venkman mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir-rel_tb ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --enable-static ac_add_options --disable-libxul Error: link -NOLOGO -DLL -OUT:sqlite3.dll -PDB:sqlite3.pdb -SUBSYSTEM:WINDOWS sqlite3.obj sqlite.res -MANIFESTUAC:NO -NXCOMPAT -DYNAMICBASE -SAFESEH -DEF:f:/mozilla/objdir-rel_tb/mozilla/db/sqlite3/src/ sqlite-processed.def kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib sqlite-processed.def : error LNK2001: unresolved external symbol sqlite3_mutex_held sqlite-processed.def : error LNK2001: unresolved external symbol sqlite3_mutex_notheld sqlite3.lib : fatal error LNK1120: 2 unresolved externals
more info. I had tried to build a static with debug, but once I changed that configuration I think configure should rebuild the file \objdir-rel_tb\mozilla\db\sqlite3\src\sqlite-processed.def but it doesn't
(In reply to comment #1) > more info. I had tried to build a static with debug, but once I changed that > configuration I think configure should rebuild the file > \objdir-rel_tb\mozilla\db\sqlite3\src\sqlite-processed.def but it doesn't If you change your mozconfig to something different without make clean/a clobber the objdir then all bets are off as to what the build will do. (In reply to comment #0) > configure doesn't seem to honor the #ifdef located here: > http://mxr.mozilla.org/comm-central/source/mozilla/db/sqlite3/src/sqlite.def#179 All I can really point to is that the Thunderbird trunk tinderboxes are green: http://tinderbox.mozilla.org/Thunderbird/ I'd suggest seeing if SQLITE_DEBUG is in <objdir>/mozilla/config/autoconf.mk and what its value is.
ok, I rebuilt ok after deleting the objdir. I just filed the bug because I thought the system is suppose to rebuild the outdated def file when the configuration changed. Just like make does with outdated obj files.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.