/*/中间是C代码,之后接 import “C” 如果存在空行 就会报错.could not determine kind of name for C. OK: package pkgname/*C Code*/import "C" False: package pkgname/*C Code*/import "C"