error in lamp cuda

Dear All I am trying to compile lammps on Kepler machine.
I changed arch to 30, rebuild successfully cuda library in …/lib/cuda,
clean (make clean-all) and try to re-compile. I got:

mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -W -Wno-uninitialized -DLAMMPS_GZIP -I…/…/lib/cuda -DLMP_USER_CUDA -I…/…/lib/colvars -I…/…/lib/awpmd/ivutils/include -I…/…/lib/awpmd/systems/interact -I…/…/lib/atc -I…/…/src -I…/…/lib/reax -I…/…/lib/poems -I…/…/lib/meam -I…/…/src -I…/…/src -I…/…/src -I…/…/src -I…/…/src -I/share/apps/cuda/5.5/toolkit/include -DUNIX -DNO_PREC_TIMING -DCUDA_PRECISION=1 -DX_PRECISION=2 -DV_PRECISION=2 -DCUDA_ARCH=30 -I/share/apps/voro++/local/include/voro++ -c …/pppm_cuda.cpp
…/pppm_cuda.cpp(1302): error: name followed by “::” must be a class or namespace name
PPPM::poisson(eflag,vflag);
^

compilation aborted for …/pppm_cuda.cpp (code 2)
make[1]: *** [pppm_cuda.o] Error 2
make[1]: Leaving directory `/share/apps/lammps/12_6_13/src/Obj_openmpi’
make: *** [openmpi] Error 2

Seems to me there is a bug ion PPPM library. Do anyone have faced the same problem and knows a solution?

Alex

Dear All I am trying to compile lammps on Kepler machine.
I changed arch to 30, rebuild successfully cuda library in ../lib/cuda,
clean (make clean-all) and try to re-compile. I got:

sorry, cannot reproduce this. which version of LAMMPS exactly are you
trying to compile and which packages have you installed?

axel.