Hello,
I find it works on my MIPS box by simply export FFLAGS=-fPIC in
debian/rules.
regards,
Lifeng
On 18:13 Sat 02/19/11 Feb , Aaron M. Ucko wrote:
Package: guiqwt
Version: 2.0.8.1-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Builds of guiqwt are failing on architectures such as amd64 that
require all objects comprising a shared library to have been compiled
as position-independent code:
/usr/bin/gfortran -Wall -shared
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/guiqwt/_extmodule.o
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/fortranobject.o
build/temp.linux-x86_64-2.5/src/histogram.o -lgfortran -o
build/lib.linux-x86_64-2.5/guiqwt/_ext.so
/usr/bin/ld: build/temp.linux-x86_64-2.5/src/histogram.o: relocation
R_X86_64_PC32 against undefined symbol `lround@@GLIBC_2.2.5' can not be used
when making a shared object; recompile with -fPIC
Could you please contrive to pass the (undocumented!) -fPIC option to
the FORTRAN compiler as well as the C one?
Thanks!
--
debian-science-maintainers mailing list
debian-science-maintain...@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-science-maintainers
--
signature.asc
Description: GnuPG digital signature