Portál AbcLinuxu, 9. května 2025 03:08
Řešení dotazu:
gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.a v logu config.log mám:
BEGIN /tmp/ffconf.HxFGhbGU/test.c 1 int main(void){ return 0; } END /tmp/ffconf.HxFGhbGU/test.c gcc -c -o /tmp/ffconf.HxFGhbGU/test.o /tmp/ffconf.HxFGhbGU/test.c gcc -o /tmp/ffconf.HxFGhbGU/test /tmp/ffconf.HxFGhbGU/test.o /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory /usr/bin/ld: cannot find -lc /usr/bin/ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status C compiler test failed.a samozřejmě ten crt1.o nikde nemám...
sudo apt install gcc-multilib
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.