Hah! I think I've found it. I ran clang -E and looked at the preprocessor output. It looks like clang is looking for headers in my MacPorts installation first. I had already installed the FreeRDP port and was disappointed to find that it included only the client (not the server as well). Here's the relevant part of the preprocessor output:
# 1 "/Users/username/src/FreeRDP/winpr/libwinpr/synch/barrier.c" # 1 "<built-in>" 1 # 1 "<built-in>" 3 # 170 "<built-in>" 3 # 1 "<command line>" 1 # 1 "<built-in>" 2 # 1 "/Users/username/src/FreeRDP/winpr/libwinpr/synch/barrier.c" 2 # 21 "/Users/username/src/FreeRDP/winpr/libwinpr/synch/barrier.c" # 1 "/Users/username/src/FreeRDP/config.h" 1 # 22 "/Users/username/src/FreeRDP/winpr/libwinpr/synch/barrier.c" 2 # 1 "/opt/local/include/winpr/synch.h" 1 # 23 "/opt/local/include/winpr/synch.h" ----------------------------------------------------------------------------------- I removed my FreeRDP MacPorts port and the client built just fine--now on to the server. Thanks for helping, Bernhard--I'll let you know how the server goes. On Mon, Sep 15, 2014 at 11:16 AM, Peter Watkins <watki...@gmail.com> wrote: > Just for a little more info, I ran make -n to get the clang command that's > being run. With some editing, this is it: > > cd /Users/username/src/FreeRDP/winpr/libwinpr/synch && /usr/bin/cc > -DHAVE_CONFIG_H -Wno-unused-parameter -Wno-unused-macros -Wno-padded > -Wno-c11-extensions -Wno-gnu -mssse3 -Wno-deprecated-declarations > -DWINPR_EXPORTS -DFREERDP_EXPORTS -DWINPR_EXPORTS -g -arch x86_64 -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk > -fPIE -I/opt/local/include -I/Users/username/src/FreeRDP > -I/Users/username/src/FreeRDP/include > -I/Users/username/src/FreeRDP/winpr/include -c > /Users/username/src/FreeRDP/winpr/libwinpr/synch/barrier.c > > ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel