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

RESOLVED WONTFIX

Status

Thunderbird
General
RESOLVED WONTFIX
14 years ago
14 years ago

People

(Reporter: grant beattie, Assigned: Scott MacGregor)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
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
(Reporter)

Updated

14 years ago
Hardware: PC → All
(Assignee)

Comment 1

14 years ago
we don't support static build at this time
(Reporter)

Comment 2

14 years ago
no problem :)
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.