+ -
当前位置:首页 → 问答吧 → 【求助】关于uclinux的IPC

【求助】关于uclinux的IPC

时间:2006-05-08

来源:互联网

不知道到底uclinux到底支不支持IPC功能,我用的是4510,linux-2.4.x,配置内核的时候选择了general setup- >system v ipc,编译后就出错,错误信息如下:
shm.c: In function `shm_open':
shm.c:112: structure has no member named `vm_file'
shm.c: In function `shm_close':
shm.c:139: structure has no member named `vm_file'
shm.c: In function `shm_mmap':
shm.c:161: structure has no member named `vm_ops'
shm.c: At top level:
shm.c:170: variable `shm_vm_ops' has initializer but incomplete type
shm.c:171: unknown field `open' specified in initializer
shm.c:171: warning: excess elements in struct initializer
shm.c:171: warning: (near initialization for `shm_vm_ops')
shm.c:172: unknown field `close' specified in initializer
shm.c:172: warning: excess elements in struct initializer
shm.c:172: warning: (near initialization for `shm_vm_ops')
shm.c:173: unknown field `nopage' specified in initializer
shm.c:173: warning: excess elements in struct initializer
shm.c:173: warning: (near initialization for `shm_vm_ops')
shm.c: In function `sys_shmat':
shm.c:633: warning: implicit declaration of function `find_vma_intersection'
shm.c: In function `sys_shmdt':
shm.c:677: structure has no member named `mmap'
shm.c:678: structure has no member named `vm_next'
shm.c:679: structure has no member named `vm_ops'
shm.c:680: structure has no member named `vm_pgoff'
shm.c:674: warning: `shmd' might be used uninitialized in this function
shm.c:674: warning: `shmdnext' might be used uninitialized in this function
make[3]: *** [shm.o] Error 1
make[3]: Leaving directory `/home/wgf/uClinux-coldfire/linux-2.4.x/ipc'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/wgf/uClinux-coldfire/linux-2.4.x/ipc'
make[1]: *** [_dir_ipc] Error 2
make[1]: Leaving directory `/home/wgf/uClinux-coldfire/linux-2.4.x'
make: *** [linux] Error 1
不知道为什么,请教各位大侠,万分感谢!      

作者: jichaoyang1983   发布时间: 2006-05-08