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
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to