|
From: Hanspeter N. <fi...@sn...> - 2020-06-06 18:43:41
|
We all have the same exact compiler command on 10.14/xcode11.3.1 > gcc -fno-strict-aliasing -Wno-nullability-completeness -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include -I/sw/include/ncursesw -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/sw/src/fink.build/python27-2.7.18-2/Python-2.7.18/Include -I/sw/src/fink.build/python27-2.7.18-2/Python-2.7.18 -c ./Mac/Modules/_scproxy.c -o build/temp.macosx-10.14-x86_64-2.7/./Mac/Modules/_scproxy.o that references the SDK-10.15 from Xcode.app. My working python build has a warning for _scproxy.c about a header in the unversioned SDK from Xcode.app: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h But error for Jianxin and Luigi refer to the similar header file from the SDK-10.14 from the command line tools: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h And the actual error when compiling _scproxy.o immediatel above the warning says the __OSX_AVAILABLE_BUT_DEPRECATED_MSG error is in /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/CMSDecoder.h What's the output of the following (one line) command: /bin/ls -Fl /Library/Developer/CommandLineTools/SDKs /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs I get the following: ``` /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs: total 0 drwxr-xr-x 4 nieder staff 128 Nov 7 2019 DriverKit19.0.sdk/ drwxr-xr-x 8 nieder staff 256 Nov 7 2019 MacOSX.sdk/ lrwxr-xr-x 1 nieder staff 10 Apr 6 05:59 MacOSX10.15.sdk@ -> MacOSX.sdk /Library/Developer/CommandLineTools/SDKs: total 0 lrwxr-xr-x 1 root wheel 15 Apr 6 06:23 MacOSX.sdk@ -> MacOSX10.15.sdk lrwxr-xr-x 1 root wheel 10 Jul 23 2019 MacOSX10.14.sdk@ -> MacOSX.sdk drwxr-xr-x 8 root wheel 256 Apr 6 06:24 MacOSX10.15.sdk/ ``` I'm thinking there's a different symlink in one of your two SDK locations. Hanspeter |