Closed Bug 244605 Opened 20 years ago Closed 20 years ago

thunderbird fails to link when configured with --enable-static, undefined reference to app_getModuleInfo

Categories

(Thunderbird :: General, defect)

All
NetBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mozilla-bugzilla, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8a2) Gecko/20040523 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8a2) Gecko/20040523 Firefox/0.8.0+

when using the --enable-static argument to configure, linking thunderbird fails:

c++ -o thunderbird-bin -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -Dunix
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O3  nsMailApp.o
-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L../../dist/bin -L../../dist/lib  ../../dist/lib/libxulapp_s.a
-L../../dist/bin -lmozjs -L../../dist/bin -lxpcom  -L../../dist/bin
-L/mozilla/thunderbird/mozilla/obj/2004-05-24-14/dist/lib -lplds4 -lplc4
-lnspr4 -L/usr/X11R6/lib -L/usr/pkg/lib  -Wl,-R/usr/pkg/lib
-Wl,--export-dynamic -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0    -L/usr/X11R6/lib -lX11  -lm   -Wl,--export-dynamic  
../../dist/lib/libxulapp_s.a(nsAppRunner.o)(.text+0x351): In function
`xre_main(int, char**, nsXREAppData const&)':
: undefined reference to `app_getModuleInfo(nsStaticModuleInfo**, unsigned*)'
gmake[3]: *** [thunderbird-bin] Error 1


Reproducible: Always
Steps to Reproduce:
1. ./configure --enable-static
2. gmake

Actual Results:  
linking thunderbird-bin failed

Expected Results:  
link thunderbird-bin successfully
Hardware: PC → All
we don't support static build at this time
no problem :)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.