[ptx] [OT?] Compile Problems pfstools x86_64 (amd64): recompile with -fPIC - partly solved?
Gerhard Gaussling
ggrubbish at web.de
Fri Dec 16 21:29:08 GMT 2005
Am Freitag 16 Dezember 2005 22:16 schrieb Gerhard Gaussling:
> PFScalibration is now configured
>
> Source directory: .
> Installation prefix: /usr/local
> C++ compiler: g++ -O3 -mcpu=pentium4 -march=pentium4
> -msse2 -s -funroll-loops -fstrength-reduce -fschedule-insns2
> -felide-constructors -frerun-loop-opt -fexceptions
> -fno-strict-aliasing -fexpensive-optimizations -ffast-math -pipe
> LIBS:
>
> Debug mode: no
Argh...
$make
gerhard at ubuntu:~/download/pfstools/pfscalibration-1.1$ make
make all-recursive
make[1]: Gehe in Verzeichnis
»/home/gerhard/download/pfstools/pfscalibration-1.1«
Making all in src
make[2]: Gehe in Verzeichnis
»/home/gerhard/download/pfstools/pfscalibration-1.1/src«
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/pfs-1.2 -O3
-mcpu=pentium4 -march=pentium4 -msse2 -s -funroll-loops
-fstrength-reduce -fschedule-insns2 -felide-constructors
-frerun-loop-opt -fexceptions -fno-strict-aliasing
-fexpensive-optimizations -ffast-math -pipe -MT pfshdrcalibrate.o -MD
-MP -MF ".deps/pfshdrcalibrate.Tpo" -c -o pfshdrcalibrate.o
pfshdrcalibrate.cpp; \
then mv -f ".deps/pfshdrcalibrate.Tpo" ".deps/pfshdrcalibrate.Po"; else
rm -f ".deps/pfshdrcalibrate.Tpo"; exit 1; fi
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
pfshdrcalibrate.cpp:1: Fehler: Die ausgewählte CPU unterstützt nicht den
x86-64 Befehlssatz
pfshdrcalibrate.cpp:1: Fehler: Die ausgewählte CPU unterstützt nicht den
x86-64 Befehlssatz
make[2]: *** [pfshdrcalibrate.o] Fehler 1
make[2]: Verlasse Verzeichnis
»/home/gerhard/download/pfstools/pfscalibration-1.1/src«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis
»/home/gerhard/download/pfstools/pfscalibration-1.1«
make: *** [all] Fehler 2
$ dpkg-architecture
DEB_BUILD_ARCH=amd64
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_ARCH_CPU=amd64
DEB_BUILD_GNU_CPU=x86_64
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
DEB_HOST_ARCH=amd64
DEB_HOST_ARCH_OS=linux
DEB_HOST_ARCH_CPU=amd64
DEB_HOST_GNU_CPU=x86_64
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=x86_64-linux-gnu
Also there is this in the configure output:
checking dlfcn.h usability... no
checking dlfcn.h presence... yes
configure: WARNING: dlfcn.h: present but cannot be compiled
configure: WARNING: dlfcn.h: check for missing prerequisite headers?
configure: WARNING: dlfcn.h: see the Autoconf documentation
configure: WARNING: dlfcn.h: section "Present But Cannot Be
Compiled"
configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
configure: WARNING: dlfcn.h: in the future, the compiler will take
precedence
configure: WARNING: ## -------------------------------------- ##
configure: WARNING: ## Report this to krawczyk at mpi-inf.mpg.de ##
configure: WARNING: ## -------------------------------------- ##
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
$ CFLAGS="-mcpu=amd64 -march=amd64" make
gives the same error, and there is no option for that in ./configure
--help
Kind regards
Gerhard Gaußling
More information about the ptx
mailing list