2013-08-28 71 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