compile edify

25 views
Skip to first unread message

Kostantinos Koumidis

unread,
Sep 10, 2014, 4:53:30 AM9/10/14
to spa...@googlegroups.com
Hello. I am trying to sompile edify and I get this error. Can you help me to solve it? I use ndk 10.
Thank you.

[armeabi] Executable     : adhoc
C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to 'operator new[](unsigned int)'

C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to 'operator delete(void*)'
C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to 'operator delete[](void*)'
C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to 'operator new(unsigned int)'
C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to '__cxa_pure_virtual'
C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to '__cxa_guard_acquire'
C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/libutils.so: error: undefined reference to '__cxa_guard_release'
collect2.exe: error: ld returned 1 exit status
make.exe: *** [C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager//obj/local/armeabi/adhoc] Error 1
make.exe: Leaving directory `C:/Users/iSense/Desktop/android-ndk-r10/samples/AndroidManetManager/scripts'


Jeffrey Robble

unread,
Sep 10, 2014, 11:42:52 AM9/10/14
to spa...@googlegroups.com
According to the log you're trying to compile the "adhoc" binary. I think the most recent version of the NDK I used was android-ndk-r9d, so something might have changed with ndk 10. Note that the SPAN source comes with a pre-compiled version of the "adhoc" binary in /res/raw for ARM 7 devices, so you might not need to compile it (unless you're on an Intel processor).

--
You received this message because you are subscribed to the Google Groups "Smart Phone Ad-Hoc Networks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spandev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

koumi

unread,
Sep 10, 2014, 6:35:57 PM9/10/14
to spa...@googlegroups.com
Thank you. That made it compile and now it works fine.
You received this message because you are subscribed to a topic in the Google Groups "Smart Phone Ad-Hoc Networks" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spandev/5qSesL3toq0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spandev+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
Konstantinos Koumides
Reply all
Reply to author
Forward
0 new messages