[Open Office] ooo-build-1.9.121.1: build broken on x86_64
Jürg Billeter
j at bitron.ch
Sun Aug 7 09:14:01 EDT 2005
On Son, 2005-08-07 at 14:52 +0200, Martin Kretzschmar wrote:
> Hi Jürg,
>
> Jürg Billeter schrieb:
> > Trying to build ooo-build-1.9.121.1 on x86_64/linux with gcc 4.0.1
> > results in the following error:
> >
> > /usr/bin/ld: /usr/src/ooo-build-1.9.121.1/build/src680-m121/solver/680/unxlngx4.pro/lib/libmdbsql.a(mdbsql.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> > /usr/src/ooo-build-1.9.121.1/build/src680-m121/solver/680/unxlngx4.pro/lib/libmdbsql.a: could not read symbols: Bad value
>
> Can you try and change (after removing mdbtools/unxlngx4.pro)
>
> CONFIGURE_ACTION=./configure CFLAGS="-O2 $(ARCH_FLAGS)"
> to
> CONFIGURE_ACTION=./configure CFLAGS="-O2 $(ARCH_FLAGS) --with-pic"
>
> in mdbtools/makefile.mk.
--with-pic didn't work, gcc doesn't accept this parameter. Replacing it
by -fPIC seems to have worked, build and delivery of mdbtools and
connectivity succeeded. Didn't try to complete the whole build, though.
Regards,
Jürg
--
Jürg Billeter <j at bitron.ch>
More information about the Openoffice
mailing list