Have you the "slitaz-toolchain" package installed? It will install gcc (providing cpp), along with binutils linux-headers glibc-dev & make, which will all help compilation. Remember that the -dev packages are usually the ones to satisfy dependencies during compiliation.