Examples don't compile

Hi, I am trying to compile the examples typing make under /Developer/CUDA. I get the following error messages:

a - obj/release/bank_checker.cpp.o
a - obj/release/cmd_arg_reader.cpp.o
a - obj/release/cutil.cpp.o
a - obj/release/stopwatch.cpp.o
a - obj/release/stopwatch_linux.cpp.o
a - obj/release/multithreading.cpp.o
make -C projects/alignedTypes/
/usr/include/architecture/i386/math.h(171): error: more than one instance of overloaded function “__isinf” has “C” linkage

/usr/include/architecture/i386/math.h(175): error: more than one instance of overloaded function “__isnan” has “C” linkage

2 errors detected in the compilation of “/tmp/tmpxft_000012be_00000000-4_alignedTypes.cpp1.ii”.
make[1]: *** [obj/release/alignedTypes.cu.o] Error 255
make: *** [projects/alignedTypes/Makefile.ph_build] Error 2

I have run make clean before. Am using
gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)

vcc --version
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2009 NVIDIA Corporation
Built on Mon_May__4_04:48:55_PDT_2009
Cuda compilation tools, release 2.2, V0.2.1221

on Mac Book Pro with Mac OS X 10.5.6 and GeForce 8600M GT. Paths are all set fine.

Any suggestions?

Thanks.

I haven’t had this exact problem, but I’ve had issues between releases where I need to delete the contents of the library directory not just do a “make clean”.

/Chris

thanks for the suggestion chris. it seems i did not have the xcode tools installed properly. after reinstalling and cleaning out everything, it now compiles fine.

cheers,

skh