You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made following change on build : /home/esumitmac/Downloads/android-ndk-r14b/build/tools/make-standalone-toolchain.sh --platform=android-22 --toolchain=arm-linux-androideabi-4.9 --install-dir=pwd/android-toolchain-arm
And on compilation it has shown below issue :
Making all in include
make[2]: Entering directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/include'
Making all in sample
make[2]: Entering directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/sample'
/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/android-toolchain-arm/bin/arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -I../include -I../include -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -Wall -fno-strict-aliasing -c event-test.c
/bin/bash ../libtool --tag=CC --mode=link /home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/android-toolchain-arm/bin/arm-linux-androideabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -Wall -fno-strict-aliasing -march=armv7-a -Wl,--fix-cortex-a8 -o event-test event-test.o ../libevent.la
libtool: link: /home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/android-toolchain-arm/bin/arm-linux-androideabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -Wall -fno-strict-aliasing -march=armv7-a -Wl,--fix-cortex-a8 -o .libs/event-test event-test.o ../.libs/libevent.so
../.libs/libevent.so: error: undefined reference to 'arc4random_addrandom'
collect2: error: ld returned 1 exit status
Makefile:321: recipe for target 'event-test' failed
make[2]: *** [event-test] Error 1
make[2]: Leaving directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/sample'
Makefile:864: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable'
Makefile:595: recipe for target 'all' failed
make: *** [all] Error 2
./build.sh: line 24: ndk-build: command not found
The text was updated successfully, but these errors were encountered:
Made following change on build : /home/esumitmac/Downloads/android-ndk-r14b/build/tools/make-standalone-toolchain.sh --platform=android-22 --toolchain=arm-linux-androideabi-4.9 --install-dir=
pwd
/android-toolchain-armAnd on compilation it has shown below issue :
Making all in include
make[2]: Entering directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/include'
Making all in sample
make[2]: Entering directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/sample'
/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/android-toolchain-arm/bin/arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -I../include -I../include -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -Wall -fno-strict-aliasing -c event-test.c
/bin/bash ../libtool --tag=CC --mode=link /home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/android-toolchain-arm/bin/arm-linux-androideabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -Wall -fno-strict-aliasing -march=armv7-a -Wl,--fix-cortex-a8 -o event-test event-test.o ../libevent.la
libtool: link: /home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/android-toolchain-arm/bin/arm-linux-androideabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -Wall -fno-strict-aliasing -march=armv7-a -Wl,--fix-cortex-a8 -o .libs/event-test event-test.o ../.libs/libevent.so
../.libs/libevent.so: error: undefined reference to 'arc4random_addrandom'
collect2: error: ld returned 1 exit status
Makefile:321: recipe for target 'event-test' failed
make[2]: *** [event-test] Error 1
make[2]: Leaving directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable/sample'
Makefile:864: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/esumitmac/Downloads/libevent-android-master/jni/libevent-2.0.22-stable'
Makefile:595: recipe for target 'all' failed
make: *** [all] Error 2
./build.sh: line 24: ndk-build: command not found
The text was updated successfully, but these errors were encountered: