Portál AbcLinuxu, 14. května 2025 16:55
Checking for inttypes.h (required) ... no Checking for bitypes.h (inttypes.h predecessor) ... Error: Cannot find header either inttypes.h or bitypes.h. There is no chance for compilation to succeed. Check "configure.log" if you do not understand why it failed.Raz som davnejsie mal tento problem, no riesenie som zabudol a nie a nie najst ho. Skusil som aj pohladat tie hlavickove subory pomocou locate :
pato@debian:~/source/mplayer-checkout-2010-01-03$ locate inttypes.h && locate bitypes.h /usr/include/inttypes.h /usr/include/c++/4.3/tr1/inttypes.h /usr/include/sys/bitypes.hZa kazdu pomoc som uz vopred vdacny.
Řešení dotazu:
Tu je cast logu ohladne tych dvoch suborov.
============ Checking for inttypes.h (required) ============ #include int main(void) { return 0; } cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i686 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer -I. -ffast-math -o /tmp/mplayer-conf--13019 /tmp/mplayer-conf--13019.c /tmp/mplayer-conf--13019.c:1: error: CPU you selected does not support x86-64 instruction set Result is: no ########################################## ============ Checking for bitypes.h (inttypes.h predecessor) ============ #include int main(void) { return 0; } cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i686 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer -I. -ffast-math -o /tmp/mplayer-conf--13019 /tmp/mplayer-conf--13019.c /tmp/mplayer-conf--13019.c:1: error: CPU you selected does not support x86-64 instruction set
Co je ohledně inttypes.h v tom logu?
./configure --target=amd64Vzdy som mal problem s tymito znaceniami, tak ale snad v tom mam uz teraz jasno.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.