|
UBUNTO1804
PandoraBox-SDK-ralink-mt7621_gcc-5.5.0_uClibc-1.0.x.Linux-x86_64-2019-01-01-git-3e8866933
- make[4]: Entering directory '/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/linux-3.14.79'
- CC [M] /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.o
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c: In function 'check_lock_range':
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:165:50: error: 'struct inode' has no member named 'i_flctx'
- struct file_lock_context *ctx = file_inode(filp)->i_flctx;
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:168:37: error: dereferencing pointer to incomplete type 'struct file_lock_context'
- if (!ctx || list_empty_careful(&ctx->flc_posix))
- ^
- In file included from /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:7:0:
- include/linux/kernel.h:833:27: error: 'struct file_lock' has no member named 'fl_list'
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- include/linux/list.h:351:2: note: in expansion of macro 'container_of'
- container_of(ptr, type, member)
- ^
- include/linux/list.h:362:2: note: in expansion of macro 'list_entry'
- list_entry((ptr)->next, type, member)
- ^
- include/linux/list.h:446:13: note: in expansion of macro 'list_first_entry'
- for (pos = list_first_entry(head, typeof(*pos), member); \
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:171:2: note: in expansion of macro 'list_for_each_entry'
- list_for_each_entry(flock, &ctx->flc_posix, fl_list) {
- ^
- In file included from include/linux/compiler.h:54:0,
- from include/linux/linkage.h:4,
- from include/linux/kernel.h:6,
- from /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:7:
- include/linux/compiler-gcc.h:136:2: error: 'struct file_lock' has no member named 'fl_list'
- __builtin_offsetof(a, b)
- ^
- include/linux/stddef.h:17:31: note: in expansion of macro '__compiler_offsetof'
- #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
- ^
- include/linux/kernel.h:834:29: note: in expansion of macro 'offsetof'
- (type *)( (char *)__mptr - offsetof(type,member) );})
- ^
- include/linux/list.h:351:2: note: in expansion of macro 'container_of'
- container_of(ptr, type, member)
- ^
- include/linux/list.h:362:2: note: in expansion of macro 'list_entry'
- list_entry((ptr)->next, type, member)
- ^
- include/linux/list.h:446:13: note: in expansion of macro 'list_first_entry'
- for (pos = list_first_entry(head, typeof(*pos), member); \
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:171:2: note: in expansion of macro 'list_for_each_entry'
- list_for_each_entry(flock, &ctx->flc_posix, fl_list) {
- ^
- In file included from include/linux/wait.h:6:0,
- from include/linux/fs.h:6,
- from /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:8:
- include/linux/list.h:447:11: error: 'struct file_lock' has no member named 'fl_list'
- &pos->member != (head); \
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:171:2: note: in expansion of macro 'list_for_each_entry'
- list_for_each_entry(flock, &ctx->flc_posix, fl_list) {
- ^
- In file included from /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:7:0:
- include/linux/kernel.h:833:27: error: 'struct file_lock' has no member named 'fl_list'
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- include/linux/list.h:351:2: note: in expansion of macro 'container_of'
- container_of(ptr, type, member)
- ^
- include/linux/list.h:392:2: note: in expansion of macro 'list_entry'
- list_entry((pos)->member.next, typeof(*(pos)), member)
- ^
- include/linux/list.h:448:13: note: in expansion of macro 'list_next_entry'
- pos = list_next_entry(pos, member))
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:171:2: note: in expansion of macro 'list_for_each_entry'
- list_for_each_entry(flock, &ctx->flc_posix, fl_list) {
- ^
- include/linux/list.h:392:18: error: 'struct file_lock' has no member named 'fl_list'
- list_entry((pos)->member.next, typeof(*(pos)), member)
- ^
- include/linux/kernel.h:833:49: note: in definition of macro 'container_of'
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- include/linux/list.h:392:2: note: in expansion of macro 'list_entry'
- list_entry((pos)->member.next, typeof(*(pos)), member)
- ^
- include/linux/list.h:448:13: note: in expansion of macro 'list_next_entry'
- pos = list_next_entry(pos, member))
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:171:2: note: in expansion of macro 'list_for_each_entry'
- list_for_each_entry(flock, &ctx->flc_posix, fl_list) {
- ^
- In file included from include/linux/compiler.h:54:0,
- from include/linux/linkage.h:4,
- from include/linux/kernel.h:6,
- from /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:7:
- include/linux/compiler-gcc.h:136:2: error: 'struct file_lock' has no member named 'fl_list'
- __builtin_offsetof(a, b)
- ^
- include/linux/stddef.h:17:31: note: in expansion of macro '__compiler_offsetof'
- #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
- ^
- include/linux/kernel.h:834:29: note: in expansion of macro 'offsetof'
- (type *)( (char *)__mptr - offsetof(type,member) );})
- ^
- include/linux/list.h:351:2: note: in expansion of macro 'container_of'
- container_of(ptr, type, member)
- ^
- include/linux/list.h:392:2: note: in expansion of macro 'list_entry'
- list_entry((pos)->member.next, typeof(*(pos)), member)
- ^
- include/linux/list.h:448:13: note: in expansion of macro 'list_next_entry'
- pos = list_next_entry(pos, member))
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:171:2: note: in expansion of macro 'list_for_each_entry'
- list_for_each_entry(flock, &ctx->flc_posix, fl_list) {
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c: In function 'cifsd_vfs_rename':
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:940:8: error: too many arguments to function 'vfs_rename'
- err = vfs_rename(dold_p->d_inode, dold, dnew_p->d_inode, dnew, NULL, 0);
- ^
- In file included from /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:8:0:
- include/linux/fs.h:1478:12: note: declared here
- extern int vfs_rename(struct inode *, struct dentry *, struct inode *, struct dentry *, struct inode **);
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c: In function 'cifsd_vfs_set_fadvise':
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1218:25: error: implicit declaration of function 'inode_to_bdi' [-Werror=implicit-function-declaration]
- filp->f_ra.ra_pages = inode_to_bdi(mapping->host)->ra_pages * 2;
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1218:52: error: invalid type argument of '->' (have 'int')
- filp->f_ra.ra_pages = inode_to_bdi(mapping->host)->ra_pages * 2;
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c: In function 'cifsd_vfs_alloc_size':
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1257:9: error: implicit declaration of function 'vfs_fallocate' [-Werror=implicit-function-declaration]
- return vfs_fallocate(fp->filp, FALLOC_FL_KEEP_SIZE, 0, len);
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c: In function 'cifsd_vfs_empty_dir':
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1453:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
- .ctx.actor = cifsd_fill_dirent,
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1453:16: note: (near initialization for 'r_data.ctx.actor')
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c: In function 'cifsd_vfs_lookup_in_dir':
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1512:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
- .ctx.actor = cifsd_fill_dirent,
- ^
- /home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.c:1512:16: note: (near initialization for 'readdir_data.ctx.actor')
- cc1: some warnings being treated as errors
- scripts/Makefile.build:308: recipe for target '/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.o' failed
- make[5]: *** [/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/vfs.o] Error 1
- Makefile:1278: recipe for target '_module_/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1' failed
- make[4]: *** [_module_/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1] Error 2
- make[4]: Leaving directory '/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/linux-3.14.79'
- Makefile:60: recipe for target '/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/.built' failed
- make[3]: *** [/home/fudong/LEAN/PandoraBox-SDK/build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/fs-cifsd-0.0.1/.built] Error 2
- make[3]: Leaving directory '/home/fudong/LEAN/PandoraBox-SDK/package/cifsd-driver'
- package/Makefile:105: recipe for target 'package/cifsd-driver/compile' failed
- make[2]: *** [package/cifsd-driver/compile] Error 2
- make[2]: Leaving directory '/home/fudong/LEAN/PandoraBox-SDK'
- package/Makefile:101: recipe for target '/home/fudong/LEAN/PandoraBox-SDK/staging_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/stamp/.package_compile' failed
- make[1]: *** [/home/fudong/LEAN/PandoraBox-SDK/staging_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/stamp/.package_compile] Error 2
- make[1]: Leaving directory '/home/fudong/LEAN/PandoraBox-SDK'
- /home/fudong/LEAN/PandoraBox-SDK/include/toplevel.mk:192: recipe for target 'world' failed
- make: *** [world] Error 2
复制代码 |
|