Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

请问在ubuntu中如何能成功编译napt66? #28

Open
GoogleCodeExporter opened this issue Mar 23, 2015 · 2 comments
Open

请问在ubuntu中如何能成功编译napt66? #28

GoogleCodeExporter opened this issue Mar 23, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

我没有路由器,我想用运行ubuntu的PC完成路由功能。但是在mak
e的遇到错误

tobacco@tobacco-ubuntu:~/文档/napt66-0.2$ make
make -C /lib/modules/2.6.35-30-generic/build M=/home/tobacco/文档/napt66-0.2 
modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-30-generic'
  CC [M]  /home/tobacco/文档/napt66-0.2/napt66_main.o
  CC [M]  /home/tobacco/文档/napt66-0.2/napt66_conntrack.o
/home/tobacco/文档/napt66-0.2/napt66_conntrack.c: In function 
‘get_ip6_by_name’:
/home/tobacco/文档/napt66-0.2/napt66_conntrack.c:265: error: incompatible 
types when assigning to type ‘struct inet6_ifaddr *’ from type ‘struct 
list_head’
/home/tobacco/文档/napt66-0.2/napt66_conntrack.c:272: error: ‘struct 
inet6_ifaddr’ has no member named ‘if_next’
make[2]: *** [/home/tobacco/文档/napt66-0.2/napt66_conntrack.o] 错误 1
make[1]: *** [_module_/home/tobacco/文档/napt66-0.2] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-30-generic'
make: *** [all] 错误 2
tobacco@tobacco-ubuntu:~/文档/napt66-0.2$ 

内核是2.6.35-30。其实我以前也咨询过这个问题,知道是因为��
�核更新了的问题。我想问一下现在有没有解决方法?谢谢。

Original issue reported on code.google.com by aurora6...@gmail.com on 14 Jul 2011 at 4:15

@GoogleCodeExporter
Copy link
Author

Please download the latest code from the SVN server.

Original comment by Mzwei...@gmail.com on 15 Jul 2011 at 3:02

@GoogleCodeExporter
Copy link
Author

已经成功编译,非常感谢!

Original comment by aurora6...@gmail.com on 16 Jul 2011 at 8:32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant