I would have posted this to the official cgminer thread, but I'm still a newb...
I can get vanilla cgminer to compile and mine on OSX with openCL support, but building with the ADL_SDK includes via « ./autogen.sh && make » results in the following compile error:
AR libccan.a
CC cgminer-cgminer.o
In file included from miner.h:106,
from cgminer.c:44:
ADL_SDK/adl_sdk.h:26: error: expected ) before * token
make[2]: *** [cgminer-cgminer.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Likewise, « ./autogen.sh && CFLAGS="-O2 -Wall -march=native" ./configure » fails with
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/kentdavis/numismatics/cgminer':
configure: error: C compiler cannot create executables
I'd be happy to start maintaining an OSX fork if I can get some help sorting this out...
I am guessing -mnative does not make sense to your compiler so the compiler check failed. Did you want -m32 or -m64?