I am compiling Magma with cuda 4.2. I have done it already on different machines and I did not face this problem. Any ideas?
g++ -O3 -DADD_ -fopenmp -DUNIX -w -DHAVE_CUBLAS -DGPUSHMEM=200 -I/usr/local/cuda/include -I../include -I../control -I~/cula/include/cula -c zgessm_gpu.cpp -o zgessm_gpu.o
zgessm_gpu.cpp: In function ‘magma_int_t magma_zgessm_gpu(char, magma_int_t, magma_int_t, magma_int_t, magma_int_t, magma_int_t*, cuDoubleComplex*, magma_int_t, cuDoubleComplex*, magma_int_t, cuDoubleComplex*, magma_int_t, magma_int_t*)’:
zgessm_gpu.cpp:109: error: ‘cublasStatus’ was not declared in this scope
zgessm_gpu.cpp:109: error: expected `;' before ‘status’
zgessm_gpu.cpp:109: error: ‘status’ was not declared in this scope
zgessm_gpu.cpp:142: error: ‘cublasStatus’ was not declared in this scope
zgessm_gpu.cpp:142: error: expected `;' before ‘status’
zgessm_gpu.cpp:142: error: ‘status’ was not declared in this scope
