Compile Problems pdftools x86_64 (amd64): recompile with -fPIC was: [ptx] HDR in a layered tiff?
Gerhard Gaussling
ggrubbish at web.de
Thu Dec 15 19:39:30 GMT 2005
Am Mittwoch 14 Dezember 2005 00:59 schrieb manouchk:
> look at pfs tools! It will do that for you if your photos are alined!
> search for pfscalibration...
I got a compile error on amd64/ubuntu/breezy:
./configure
[...]
config.status: config.h is unchanged
config.status: executing depfiles commands
libpfs is now configured for x86_64-unknown-linux-gnu
Source directory: /home/gerhard/download/pfstools/pfstools-1.2.1
Installation prefix: /usr/local
C++ compiler: g++ -O3
Octave yes
octave-m-dir: /usr/share/octave/2.1.71/site/m/pfstools
octave-oct-dir: /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools
mkoctfile: /usr/bin/mkoctfile
PPM yes
LIBS: -lnetpbm
TIFF yes
LIBS: -ltiff
OpenEXR yes
CFLAGS: -I/usr/include/OpenEXR
LIBS: -lIlmImf -lImath -lHalf -lIex -lz
QT yes
QTDIR: /usr/share/qt3
QTLIBS: -lqt-mt
MOC: moc
Debug mode no
$ make
[...]
/usr/bin/g++ -shared -Wl,-Bsymbolic -o pfsread.oct pfsread.o -L../pfs/
-lpfs -L/usr/lib/octave-2.1.71 -loctinterp -loctave -lcruft -s
-llapack-3 -lblas-3 -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.5
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.5/../../../../lib
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.5/../../.. -L/lib/../lib
-L/usr/lib/../lib -lhdf5 -lz -lfrtbegin -lg2c -lm -lgcc_s
/usr/bin/ld: ../pfs//libpfs.a(libpfs_a-pfs.o): relocation R_X86_64_32S
against `vtable for pfs::Frame' can not be used when making a shared
object; recompile with -fPIC
../pfs//libpfs.a: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [pfsread.oct] Fehler 1
[...]
I found something similar, but I don't understand which package I have
to recompile with -fPIC.
http://lists.freshrpms.net/pipermail/freshrpms-list/2004-December/011809.html
$ CFLAGS_=-fPIC make
gives the same error:
[...]
/usr/bin/g++ -shared -Wl,-Bsymbolic -o pfsread.oct pfsread.o -L../pfs/
-lpfs -L/usr/lib/octave-2.1.71 -loctinterp -loctave -lcruft -s
-llapack-3 -lblas-3 -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.5
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.5/../../../../lib
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.5/../../.. -L/lib/../lib
-L/usr/lib/../lib -lhdf5 -lz -lfrtbegin -lg2c -lm -lgcc_s
/usr/bin/ld: ../pfs//libpfs.a(libpfs_a-pfs.o): relocation R_X86_64_32S
against `vtable for pfs::Frame' can not be used when making a shared
object; recompile with -fPIC
../pfs//libpfs.a: could not read symbols: Bad value
[...]
./configure ---with-pic gives no difference.
Anyone who has got an Idea what to do?
Kind regards
Gerhard Gaußling
More information about the ptx
mailing list