Chinaunix's Archiver
论坛
›
内核源码
› ubuntu12.04下struct proc_dir_entry结构体错误?
irensent
发表于 2015-03-17 16:27
ubuntu12.04下struct proc_dir_entry结构体错误?
ubuntu12.04下获取/proc/net/tcp端口信息,代码如下:
struct proc_dir_entry *my_dir_entry = init_net.proc_net->subdir;
一直报错:error: dereferencing pointer to incomplete type,内黑是3.1版本,请大家帮忙看看如何解决make编译错误
页:
[1]
查看完整版本:
ubuntu12.04下struct proc_dir_entry结构体错误?