【发布时间】:2017-12-15 10:33:59
【问题描述】:
我一直在尝试使用 arm64 工具链执行此操作,但收到错误 error: unrecognized command line option '-mgeneral-regs-only'。在谷歌搜索上,我建议我使用 aarch64 工具链 for msm,我这样做了。但是现在我收到了这个错误error: conflicting types for 'trace_sched_migrate_task'
void trace_##_name(_proto);
/local/mnt2/workspace/kernel/include/linux/tracepoint.h:168:21: note: previous definition of 'trace_sched_migrate_task' was here
static inline void trace_##name(proto)
虽然在另一个具有相同函数定义的 Linux 系统上编译相同。
【问题讨论】:
标签: linux compilation cross-compiling gnu-make lttng