M0030 error in C code
clang rejected the C code of a cgo package: the preamble (the comment above import "C"), or a .c file of the package.
The position is in the Go file for the preamble.
The fix
Fix the C as clang says; a help line shows clang's own fix when it has one.
See also all error codes and marmot explain.