1. Rt_linux.c编译时报错
/workspace/git/2010_0203_RT3070_SoftAP_v2.4.0.1_DPA/UTIL/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSFSInfoChange':
/workspace/git/2010_0203_RT3070_SoftAP_v2.4.0.1_DPA/UTIL/os/linux/../../os/linux/rt_linux.c:991:20: error: incompatible types when assigning to type 'int' from type 'kuid_t'
pOSFSInfo->fsuid = current_fsuid();
^
/workspace/git/2010_0203_RT3070_SoftAP_v2.4.0.1_DPA/UTIL/os/linux/../../os/linux/rt_linux.c:992:20: error: incompatible types when assigning to type 'int' from type 'kgid_t'
pOSFSInfo->fsgid = current_fsgid();
^
修改=============
Rt_linux.c
diff: line 991
- pOSFSInfo->fsuid = current_fsuid();
+ pOSFSInfo->fsuid = current_fsuid().val;
diff: line 992
- pOSFSInfo->fsgid = current_fsgid().val;
+ pOSFSInfo->fsgid = current_fsgid().val;
2. 继续报错: GPL-incompatible module rt3070ap.ko uses GPL-only symbol '__rcu_read_unlock'
修改=============
Rtmp_init.c
diff: line 5242
-MODULE_LICENSE("RALINK");
+MODULE_LICENSE("GPL");