Ошибка CLang при настройке xorg-сервера на MacOS 10.14.6 - PullRequest
0 голосов
/ 15 апреля 2020

Из файла config.log при настройке флагов в командной строке произошли некоторые ошибки:

Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
configure:4597: $? = 0
configure:4586: gcc -V >&5
clang: error: unsupported option '-V -Wno-atomic-implicit-seq-cst'
clang: error: no input files
configure:4597: $? = 1
configure:4586: gcc -qversion >&5
clang: error: unknown argument '-qversion', did you mean '--version'?
clang: error: no input files
configure:4597: $? = 1
configure:4617: checking whether the C compiler works
configure:4639: gcc -Wall -O0 -ggdb3 -arch i386 -arch x86_64 -pipe  -Wall -O0 -ggdb3 -arch i386 -arch x86_64 -pipe conftest.c  >&5
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing
required architecture i386 in file /Library/Developer/CommandLineTools/SDKs
/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:4643: $? = 1
configure:4681: result: no
configure: failed program was:

C CODE HERE

Может кто-нибудь объяснить, как я могу решить эту проблему?

...