Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

netsnmp for iOS

54 views
Skip to first unread message

Thomas Spitz

unread,
Jan 17, 2014, 5:46:25 PM1/17/14
to
Hello everyone,

I am taking back a complete iphone project that uses net-snmp for iOS. These project lead to a working app on the app store some years ago. It was developped for iOS 4.2 and works well on iOS6 as well. I would like to compile again this app but I am not able to do so with XCode 4.5.2, probably because of new LLVM compiler instead of GCC.

Here after the compilation error I have:

ld: warning: ignoring file /Users/none/Desktop/iOS/4-utrema4/Infinity/ext_library/lib/libnetsnmp.a, file was built for archive which is not the architecture being linked (i386): /Users/none/Desktop/iOS/4-utrema4/Infinity/ext_library/lib/libnetsnmp.a Undefined symbols for architecture i386:
"_netsnmp_dispatch_external_events", referenced from: -[SnmpManager _threaded_snmp_trap] in SnmpManager.o "_netsnmp_external_event_info", referenced from: -[SnmpManager _threaded_snmp_trap] in SnmpManager.o "_netsnmp_transport_free", referenced from: -[SnmpManager _threaded_snmp_trap] in SnmpManager.o "_netsnmp_transport_open_server", referenced from: -[SnmpManager _threaded_snmp_trap] in SnmpManager.o "_print_variable", referenced from: ..............

Is there anyone who managed to cross compile net-snmp in order to use it for iOS development? 

I found those two previous thread but unfortunately no answers:

http://sourceforge.net/mailarchive/message.php?msg_id=30475803

http://sourceforge.net/mailarchive/message.php?msg_id=27469900

Thanks in advance

BR,

Thomas

sathe...@gmail.com

unread,
Sep 13, 2016, 3:38:01 AM9/13/16
to
Hi ,
I am trying the same . Did you got a solution .? Please let me know .
Thanks in Advance .
0 new messages