[Enigmail] Building Enigmail for TB comm-central: static or shared, libxul or not?
David Ward
david.ward at gatech.edu
Thu Feb 5 18:17:22 PST 2009
Michael J Gruber wrote:
> The error sounds as if ipc is being built shared whereas TB is built
> static (as per .mozconfig). Any more hints? makemake does pick up objdir
> so it sees the .mozconfig.
Okay, the R_X86_64_32 error is apparently caused because the files in
/mailnews/extensions/enigmail/ipc/src need to be built with -fPIC, but
they are not. To fix this, you can add the line
FORCE_USE_PIC = 1
to the Makefile in the above directory.
Unfortunately, after fixing that, it leads me to the errors you were
having originally:
../src/libipc_s.a(nsPipeTransport.o): In function `nsStdinWriter::Run()':
nsPipeTransport.cpp:(.text+0x8d1): undefined reference to
`nsCOMPtr_base::begin_assignment()'
nsPipeTransport.cpp:(.text+0x9c8): undefined reference to
`nsCOMPtr_base::~nsCOMPtr_base()'
etc., then
/usr/bin/ld: libipc.so: hidden symbol `nsCOMPtr_base::~nsCOMPtr_base()'
isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
David
More information about the Enigmail
mailing list