2013-08-28 59 views
3

我需要在我的一个iOS应用程序中使用Net-SNMP。 我想用它作为Xcode中的库。 我该如何建立图书馆?如何构建用于iOS开发的Net-SNMP库?

我尝试以下,但它并没有为我工作:

http://latenitesoft.blogspot.jp/2008/10/iphone-programming-tips-building-unix.html

我得到以下错误:

configure: error: C compiler cannot create executables

顺便说一句,我的iOS靶向5和6. 任何帮助/线索将不胜感激!

我看了一些其他链接: https://gist.github.com/j0sh/895945

+0

难道你有什么解决办法?我也尝试相同。请告诉我 。 – Sat

回答

2

这里有一个github上的项目,我发现基于SNMP ++:

https://github.com/Zchander/mobile-snmp-plusplus

+0

我想使用Net-SNMP,而不是SNMP ++,因为SNMP ++存在一些问题。 – MiuMiu

+0

够公平的。出于好奇,什么样的问题? –

+0

在其他平台中使用库的问题。 – MiuMiu