Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working: linker error #1

Open
MacDada opened this issue Sep 18, 2019 · 0 comments

Comments

@MacDada
Copy link

commented Sep 18, 2019

DVDNWKMBP13:photoshop_cc_case_sensitive_install_mac_osx dvdnwk$ make
gcc -DDEBUG -ggdb -arch i386 -arch x86_64 -Wall -framework CoreServices -o lib_override_volume_sensitivity_check.dylib -dynamiclib src/override_volume_sensitivity_check.c
src/override_volume_sensitivity_check.c:8:20: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        OSStatus status = FSGetVolumeParms(volume,buffer,bufferSize);
                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
src/override_volume_sensitivity_check.c:19:35: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
DYLD_INTERPOSE(_FSGetVolumeParms, FSGetVolumeParms);
                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
2 warnings generated.
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//CoreServices.framework/CoreServices.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//CoreServices.framework/CoreServices.tbd
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:
  "_FSGetVolumeParms", referenced from:
      __FSGetVolumeParms in override_volume_sensitivity_check-e2b5a1.o
      __interpose_FSGetVolumeParms in override_volume_sensitivity_check-e2b5a1.o
  "_printf", referenced from:
      __FSGetVolumeParms in override_volume_sensitivity_check-e2b5a1.o
ld: symbol(s) not found for architecture i386
src/override_volume_sensitivity_check.c:8:20: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        OSStatus status = FSGetVolumeParms(volume,buffer,bufferSize);
                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
src/override_volume_sensitivity_check.c:19:35: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
DYLD_INTERPOSE(_FSGetVolumeParms, FSGetVolumeParms);
                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
2 warnings generated.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lib_override_volume_sensitivity_check.dylib] Error 1
DVDNWKMBP13:photoshop_cc_case_sensitive_install_mac_osx dvdnwk$ sudo make run
gcc -DDEBUG -ggdb -arch i386 -arch x86_64 -Wall -framework CoreServices -o lib_override_volume_sensitivity_check.dylib -dynamiclib src/override_volume_sensitivity_check.c
src/override_volume_sensitivity_check.c:8:20: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        OSStatus status = FSGetVolumeParms(volume,buffer,bufferSize);
                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
src/override_volume_sensitivity_check.c:19:35: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
DYLD_INTERPOSE(_FSGetVolumeParms, FSGetVolumeParms);
                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
2 warnings generated.
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//CoreServices.framework/CoreServices.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//CoreServices.framework/CoreServices.tbd
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture i386:
  "_FSGetVolumeParms", referenced from:
      __FSGetVolumeParms in override_volume_sensitivity_check-7ea572.o
      __interpose_FSGetVolumeParms in override_volume_sensitivity_check-7ea572.o
  "_printf", referenced from:
      __FSGetVolumeParms in override_volume_sensitivity_check-7ea572.o
ld: symbol(s) not found for architecture i386
src/override_volume_sensitivity_check.c:8:20: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        OSStatus status = FSGetVolumeParms(volume,buffer,bufferSize);
                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
src/override_volume_sensitivity_check.c:19:35: warning: 'FSGetVolumeParms' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
DYLD_INTERPOSE(_FSGetVolumeParms, FSGetVolumeParms);
                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7247:18: note: 'FSGetVolumeParms' has
      been explicitly marked deprecated here
extern OSStatus  FSGetVolumeParms(FSVolumeRefNum volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_8, __IPHONE_NA, __...
                 ^
2 warnings generated.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lib_override_volume_sensitivity_check.dylib] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.