I tried to make sample application on my mac 10.10.5 and got a fatal error: 'signal.h' file not found. The following is the complete log, any other config I missed?




myName-MacBook-Pro:musicid_stream myName$ make ARCH=x86_64
Gathering sources for 'mac_x86-64' build...
Gathering libraries for 'mac_x86-64' build...
GNSDK Headers...
Local Headers...
if [ -d _output/mac_x86-64/debug ]; then rm -f -r _output/mac_x86-64/debug; fi
mkdir -p _output/mac_x86-64/debug/

PLATFORM : mac_x86-64
TARGET   : ./sample
SOURCES  : main.c
DEPENDS  : libgnsdk_musicid.3.07.7.dylib libgnsdk_lookup_local.3.07.7.dylib libgnsdk_storage_sqlite.3.07.7.dylib libgnsdk_dsp.3.07.7.dylib libgnsdk_musicid_stream.3.07.7.dylib libgnsdk_lookup_localstream.3.07.7.dylib libgnsdk_manager.3.07.7.dylib

/Applications/  -g -arch x86_64 -mmacosx-version-min=10.7 -fPIC -funsigned-char -Wall -pedantic -Wextra -Wno-long-long -Wno-variadic-macros -Wno-missing-field-initializers -Wpointer-arith -D_DEBUG   -DGNSDK_MUSICID=1 -DGNSDK_LOOKUP_LOCAL=1 -DGNSDK_STORAGE_SQLITE=1 -DGNSDK_DSP=1 -DGNSDK_MUSICID_STREAM=1 -DGNSDK_LOOKUP_LOCALSTREAM=1 -DGNSDK_MANAGER=1 -D_THREAD_SAFE -D_REENTRANT -DGCSL_STRICT_HANDLES -DGNSDK_STRICT_HANDLES -I_include -Imac -I../../builds/../include -I../../builds/../include/mac_x86-64  -c main.c -o _output/mac_x86-64/debug/main.o
In file included from main.c:31:
In file included from ../../builds/../include/gnsdk.h:19:
In file included from ../../builds/../include/gnsdk_defines.h:29:
../../builds/../include/mac_x86-64/gnsdk_platform.h:53:14: fatal error: 'signal.h' file not found
    #include <signal.h>
1 error generated.
make: *** [_output/mac_x86-64/debug/main.o] Error 1
myName-MacBook-Pro:musicid_stream myName$ 


Hi Danny,
Checked with our engineers, and looks like this is an issue with your environment. We recommend that you reinstall Xcode Commend Line Tools.
Hope this helps.

Thanks, Wai-Yu. Just upgraded to Sierra OS/Xcode 8.3.1/Command Line Tool 8E1000a yesterday but still having the same issue, any other suggestion or documentation to go to? 


Any other suggestion from the engineering team? thanks. 

Hi Danny,
I had the same issue (I think).
I ran "xcode-select --install" in my terminal as explained here:
ran make again and it worked like a charm.
I using Sierra 10.12.5, Xcode 8.3.3 and GFA gnsdk-auto-
What is your environment?