4.0 RC2 can't compile SDK

I had to modify common.mk to give the minimum os x version option to g++ for linking. However, I still got the following error:

make -C src/matrixMulDrv/
matrixMulDrv.cpp:70: warning: deprecated conversion from string constant to ‘char’
matrixMulDrv.cpp: In function ‘void runTest(int, char**)’:
matrixMulDrv.cpp:159: warning: comparison is always false due to limited range of data type
matrixMulDrv.cpp:191: warning: comparison is always false due to limited range of data type
matrixMulDrv.cpp: In function ‘CUresult initCUDA(int, char**, CUfunc_st**, int
)’:
matrixMulDrv.cpp:309: warning: comparison is always false due to limited range of data type
Undefined symbols:
“_cuLaunchKernel”, referenced from:
runTest(int, char**)in matrixMulDrv.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/release/matrixMulDrv] Error 1
make: *** [src/matrixMulDrv/Makefile.ph_build] Error 2

Note that I couldn’t install the new driver, but I couldn’t compile the SDK either. Related?