Closed Bug 226800 Opened 21 years ago Closed 21 years ago

Building thunderbird with --enable-static --disable-shared fails on the final link

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 245430
Thunderbird0.9

People

(Reporter: amardare, Assigned: mscott)

References

()

Details

Configure the thunderbird to use --enable-static --disable-shared ( a static build ). The building process fails on the final link for the thunderbird-bin executable with a function missing: ../../dist/lib/libxulapp_s.a(nsAppRunner.o): In function `xre_main(int, char **, nsXREAppData const &)': nsAppRunner.o(.text+0x3d80): undefined reference to 'app_getModuleInfo (nsStaticModuleInfo **, unsigned int *)' collect2: ld returned 1 exit status The similar procedure works ok for firebird.
-> Build config -> OS All (seen on Windows too)
Component: Mail Window Front End → Build Config
OS: Linux → All
we don't support static builds
Target Milestone: --- → Thunderbird0.9
But we should support static builds. The firebird does.
In Mac OSX, it becomes an error by the last link like http://bugzilla.mozilla.org/show_bug.cgi?id=238309#c7. Makefile of thunderbird does not have a description still required for static build like Makefile of mozilla or firefox. http://lxr.mozilla.org/mozilla/source/mail/app/Makefile.in http://lxr.mozilla.org/mozilla/source/browser/app/Makefile.in http://lxr.mozilla.org/mozilla/source/xpfe/bootstrap/Makefile.in If static build is not supported, it should repeal the static option of configure. However, I want static build to be supported. Mac OS X 10.3.3 & Xcode 1.1
Hardware: PC → All
*** Bug 203980 has been marked as a duplicate of this bug. ***
This is probably now a dupe of bug 245430, since even though this bug is older the other one is where Scott is actually doing work ;).
*** This bug has been marked as a duplicate of 245430 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.