[chrony-dev] Compile failure on macOS

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Looks like a missing #ifdef

gcc -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 -Wmissing-prototypes -Wall -pthread  -c refclock_rtc.c
refclock_rtc.c:29:10: fatal error: 'linux/rtc.h' file not found
   29 | #include <linux/rtc.h>
      | 


Apple clang version 16.0.0 (clang-1600.0.26.4)
Target: x86_64-apple-darwin24.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

-- 
Bryan Christianson
bryan@xxxxxxxxxxxxx




--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/