The gcc Signal 11 "attribute" Problem (Cont.) typedef asmlinkage int (*stub_func_5)(const char* pathname, int flags, mode_t mode); It turns out that 'asmlinkage', which is a kernel macro for one of gcc's "attribute" keywords, is only valid for function declarations, and not function pointer declarations.