got chardev to compile on centos5 vm