[BRLTTY] bluetooth on monterey (osx12)

rmgls rmgls at orange.fr
Wed Dec 15 02:44:12 EST 2021


Hi,

the latest git  does not compile on osx 12 monterey.
make gives: 1 error and 1 warning.
perhaps you will be interested by this:
gcc -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I..    -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Wno-initializer-overrides -Wno-unused-const-variable -Wno-pointer-bool-conversion -Werror=format-security -Wno-address-of-packed-member -Wno-initializer-overrides  -x objective-c -c ./usb_darwin.c
In file included from ./usb_darwin.c:29:
In file included from ../Headers/io_usb.h:24:
In file included from ../Headers/async_types.h:22:
../Headers/timing_types.h:49:3: error: typedef redefinition with different types ('struct TimeValue' vs 'SInt32' (aka 'int'))
} TimeValue;
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/MacTypes.h:594:41: note: previous definition is here
typedef SInt32                          TimeValue;
                                        ^
./usb_darwin.c:755:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
  kernelResult = IOMasterPort(MACH_PORT_NULL, &port);
                 ^~~~~~~~~~~~
                 IOMainPort
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here
IOMasterPort( mach_port_t       bootstrapPort,
^
1 warning and 1 error generated.
make[1]: *** [usb_darwin.o] Error 1
make: *** [all] Error 2

   If you need more info, do not hesitate.

Bests

Raoul MEGELAS



More information about the BRLTTY mailing list