Closed Bug 399319 Opened 17 years ago Closed 17 years ago

FTBFS: Undefined references

Categories

(Thunderbird :: Build Config, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 386362

People

(Reporter: info, Unassigned)

Details

User-Agent:       Opera/9.23 (X11; Linux i686; U; de)
Build Identifier: 

Trying to build the lastest (2.0.0.6) release from source fails:

> c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libxpcom_compat_c.so -o libxpcom_compat_c.so  nsXPCOMObsolete.o nsRegistry.o       -L../../../dist/bin -lxpcom -lxpcom_core  -L../../../dist/bin -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../../dist/lib -lxpcom_compat  -Wl,--version-script -Wl,../../../build/unix/> gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm    
> nsXPCOMObsolete.o:(.data.rel.ro+0x18): undefined reference to `nsFileSpecImpl::Create(nsISupports*, nsID const&, void**)'
> nsXPCOMObsolete.o:(.data.rel.ro+0x50): undefined reference to `nsDirectoryIteratorImpl::Create(nsISupports*, nsID const&, void**)'
> /usr/bin/ld: libxpcom_compat_c.so: hidden symbol `nsFileSpecImpl::Create(nsISupports*, nsID const&, void**)' isn't defined
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make[3]: *** [libxpcom_compat_c.so] Fehler 1
> make[3]: Leaving directory `/home/ashura/downloads/mozilla/xpcom/obsolete/component'
> make[2]: *** [libs] Fehler 2
> make[2]: Leaving directory `/home/ashura/downloads/mozilla/xpcom/obsolete'
> make[1]: *** [tier_2] Fehler 2
> make: *** [default] Fehler 2
> make[1]: Leaving directory `/home/ashura/downloads/mozilla'

The ./configure script was called as follows:

--prefix=INSTALL/ --enable-application=mail --enable-ui-locale=de --enable-pango

Reproducible: Always
Don't know what the problem is, but this is not the place to ask build questions. You may have better luck in the news. 

There should be nothing wrong with the code, as we build and ship 2.0.0.6...

Might be some config option you have to set, or not. Set the mail start page to about:buildconfig to see the "official" build options, and go from there.

->INVALID (not a bug report). But do report back what the problem was.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Actually it's a bug in combination of newer gcc and mozilla code.
Resolution: INVALID → DUPLICATE
You need to log in before you can comment on or make changes to this bug.