Porblem with SDK samples compilation

I got this error message when I tried to do “make i386=1 x86_64=0”:

ld: warning: in ../../lib/libcutil_i386.a, file is not of required architecture

make -C src/alignedTypes/ 

ld: warning: in ../../lib/libcutil_i386.a, file is not of required architecture

Undefined symbols:

  "_cutCheckCmdLineFlag", referenced from:

	  _main in alignedTypes.cu.o

	  _main in alignedTypes.cu.o

	  _main in alignedTypes.cu.o

  "_cutGetCmdLineArgumenti", referenced from:

	  _main in alignedTypes.cu.o

  "_cutStartTimer", referenced from:

	  void runTest<RGBA32>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_2>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned char>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32>(int, int)in alignedTypes.cu.o

	  void runTest<LA32>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned int>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<LA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned short>(int, int)in alignedTypes.cu.o

  "_cutCreateTimer", referenced from:

	  _main in alignedTypes.cu.o

  "_cutGetTimerValue", referenced from:

	  void runTest<RGBA32>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_2>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned char>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32>(int, int)in alignedTypes.cu.o

	  void runTest<LA32>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned int>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<LA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned short>(int, int)in alignedTypes.cu.o

  "_cutDeleteTimer", referenced from:

	  _main in alignedTypes.cu.o

  "_cutStopTimer", referenced from:

	  void runTest<RGBA32>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_2>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned char>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32>(int, int)in alignedTypes.cu.o

	  void runTest<LA32>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned int>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<LA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned short>(int, int)in alignedTypes.cu.o

  "_cutResetTimer", referenced from:

	  void runTest<RGBA32>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_2>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned char>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32>(int, int)in alignedTypes.cu.o

	  void runTest<LA32>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned int>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGB32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<LA32_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<RGBA8_misaligned>(int, int)in alignedTypes.cu.o

	  void runTest<unsigned short>(int, int)in alignedTypes.cu.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

make[1]: *** [../../bin/darwin/release/alignedTypes] Error 1

make: *** [src/alignedTypes/Makefile.ph_build] Error 2

I have Snow Leopard 10.6.2, tried to use gcc 4.2 and gcc 4.0 (by changing common.mk), computer: MBR with 9400m

I have exactly the same problem on a MacBook Pro running snow leopard OSX 10.6.2 with GeForce9400m & GeForce 9600m GT

http://forums.nvidia.com/index.php?showtopic=154856

Have you worked out a solution yet?