Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 12:16:49 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        =?UTF-8?B?Ikxlb25hcmRvIE0uIFJhbcOpIg==?= <martinrame@yahoo.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Firebird 2.1.3
Message-ID:  <4C7CC881.7050609@gmail.com>
In-Reply-To: <517200.25415.qm@web113506.mail.gq1.yahoo.com>
References:  <272773.42704.qm@web113504.mail.gq1.yahoo.com> <517200.25415.qm@web113506.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
31.08.2010 01:33, Leonardo M. Ramé wrote:
> This is my procedure to compile it:
>
> export CFLAGS="-DAMD64"
> ./configure --without-editline
> gmake
>
> ... and after a while I get this:
>
> ...
> /usr/bin/ld: /usr/lib/libsupc++.a(tinfo2.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC

Here you go, linker says you what to do.

> /usr/lib/libsupc++.a: could not read symbols: Bad value
> gmake[2]: *** [../gen/firebird/lib/libfbclient.so.2.1.3] Error 1
> gmake[2]: Leaving directory `/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen'
> gmake[1]: *** [libfbclient] Error 2
> gmake[1]: Leaving directory `/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen'
> gmake: *** [firebird] Error 2
>
> Any hint?

try CFLAGS="-DAMD64 -fPIC"

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7CC881.7050609>