[chrony-dev] Compiling tests on macOS X |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] Compiling tests on macOS X
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Mon, 8 Jun 2020 15:22:37 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:To:Date:Message-Id: Subject:From:Reply-To:Sender:List-Unsubscribe; bh=jpnFY+Hpvb86889ynmhk9bjwvWnAYfXV6scG55FzEWw=; b=pPWnL6hjs6/mj5G18ckwZzaXS4 lvC6vbVrrkj7PW9Z+hw73oZEAya3pEyS6RjCySxOoKKJl5TW8kbSE4O6QkoolfbRb9ukBROqnvN2+ abWMeq7r8cYKV3SRb5mVD+opMyOHOW2i/WToefP0W1xxInhdD+kw9NRbi0K2Qmx9Dt6KRq5F41Ayu HHcSPaj5INLbrCrxCzeHGzPXlCGQ23DK3+Vo0xwVCtgm/CFTkHprHGCM8j4GKj22gX6EUPnP+kZMy ohItEYZrFujJ2osfSX0SFRLsXb0NjCr3QEuajFe8+5thAWv317Yz2VrLVvU11vEFT+K3RFtK9Z7m/ 3kREQoVA==;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1591586592; h=from : subject : to : message-id : date; bh=jpnFY+Hpvb86889ynmhk9bjwvWnAYfXV6scG55FzEWw=; b=dc5+sP0ZfBIvgeqMuS/+3ALUNsxs6p90IO9uuuuLxeVX1n9lWEjP9E2cDzqcAtTJ1VWvR5 bWG9p75suKBDWltRnY8oqxCcKdY5PkoPxzykYS/C4YJ6bxWyhrian+oFzzu+q9XrqsmxwjMq UzKvAcOeqADpDoyWJ9J0O0dBUMdnyYjiG8joK+Pfe9SFOq59MFT+QrR7V+dJ/7gePfrIldo/ nmSOHFDetAVpkRgd9665pMtwTmhy+Y8/o6Hi/3kznzSRCHSLflfYxkc3jmsncAdcOa1bTk9o cp1go6Ce/kpjTheMMl2uBAgQQ4a28ihwSVSlNKPucuzds+XPobejLn3A==
- Feedback-id: 149811m:149811acx33YQ:149811sZea9WSOh5
When compiling the tests (make check) I am getting a lot of errors related to the use of angle brackets
e.g.
bryan@number9 chronyd-pristine % make check
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C test/unit check
../util.c:21:10: error: 'util.c' file not found with <angled> include; use
"quotes" instead
#include <util.c>
^~~~~~~~
"util.c"
After many pages of this I see:
../regress.c:20:10: error: 'regress.c' file not found with <angled> include; use
"quotes" instead
#include <regress.c>
^~~~~~~~~~~
"regress.c"
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gcc -I../.. -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 -Wmissing-prototypes -Wall -pthread -c addrfilt.c
..
..
..
I have tried using CFLAGS=-isystem<directory> but that does not seem to help.
My compiler is:
bryan@number9 chronyd-pristine % clang --version
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Any one have any suggestions on compiler options that will work around this?
--
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.