Not able to build libmupdf.so - android

I have been trying my luck on Mupdf since a couple of weeks but not able to build .so file.
I am simply trying " Make" on cygwin now, which i didn't tried earlier and wasted my time.
To build the so file for Mupdf, what i am doing is, just writing a simple command on cygwin terminal after importing all the major files required, cmd is: make -f Makefile.
Now all my files are getting build and linked one by one, except for two of the files. And the error I am getting is:
LINK build/debug/mupdf
build/debug/x11_main.o: In function winopen':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:127: undefined reference to_XOpenDisplay'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:131: undefined reference to _XInternAtom'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:132: undefined reference to_XInternAtom'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:133: undefined reference to _XInternAtom'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:134: undefined reference to_XInternAtom'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:135: undefined reference to _XInternAtom'
build/debug/x11_main.o:/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:136: more undefined references to_XInternAtom' follow
build/debug/x11_main.o: In function winopen':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:142: undefined reference to_XCreateFontCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:143: undefined reference to _XCreateFontCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:144: undefined reference to_XCreateFontCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:154: undefined reference to _XAllocColor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:155: undefined reference to_XAllocColor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:157: undefined reference to _XCreateWindow'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:167: undefined reference to_XSetWindowColormap'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:168: undefined reference to _XSelectInput'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:174: undefined reference to_XCreateGC'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:176: undefined reference to _XDefineCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:178: undefined reference to_XAllocWMHints'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:182: undefined reference to _XCreateBitmapFromData'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:186: undefined reference to_XCreateBitmapFromData'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:194: undefined reference to _XSetWMHints'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:196: undefined reference to_XFree'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:199: undefined reference to _XAllocClassHint'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:204: undefined reference to_XSetClassHint'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:205: undefined reference to _XFree'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:208: undefined reference to_XSetWMProtocols'
build/debug/x11_main.o: In function wincursor':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:227: undefined reference to_XDefineCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:229: undefined reference to _XDefineCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:231: undefined reference to_XDefineCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:232: undefined reference to _XFlush'
build/debug/x11_main.o: In functionwintitle':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:237: undefined reference to _XStoreName'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:239: undefined reference to_Xutf8SetWMProperties'
build/debug/x11_main.o: In function winresize':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:260: undefined reference to_XConfigureWindow'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:272: undefined reference to _XMapWindow'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:273: undefined reference to_XFlush'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:277: undefined reference to _XNextEvent'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:287: undefined reference to_XSetForeground'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:288: undefined reference to _XFillRectangle'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:289: undefined reference to_XFlush'
build/debug/x11_main.o: In function winfullscreen':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:314: undefined reference to_XSendEvent'
build/debug/x11_main.o: In function fillrect':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:322: undefined reference to_XFillRectangle'
build/debug/x11_main.o: In function winblitsearch':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:331: undefined reference to_XSetForeground'
build/debug/x11_main.o: In function winblit':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:348: undefined reference to_XSetForeground'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:354: undefined reference to _XSetForeground'
build/debug/x11_main.o: In functionwindrawstringxor':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:432: undefined reference to _XGetGCValues'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:435: undefined reference to_XChangeGC'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:437: undefined reference to _XSetForeground'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:439: undefined reference to_XDrawString'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:440: undefined reference to _XFlush'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:442: undefined reference to_XGetGCValues'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:444: undefined reference to _XChangeGC'
build/debug/x11_main.o: In functionwindrawstring':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:449: undefined reference to _XSetForeground'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:450: undefined reference to_XDrawString'
build/debug/x11_main.o: In function windocopy':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:478: undefined reference to_XSetSelectionOwner'
build/debug/x11_main.o: In function onselreq':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:506: undefined reference to_XChangeProperty'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:513: undefined reference to _XChangeProperty'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:520: undefined reference to_XChangeProperty'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:530: undefined reference to _XSendEvent'
build/debug/x11_main.o: In functionmain':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:683: undefined reference to _XNextEvent'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:704: undefined reference to_XLookupString'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:681: undefined reference to _XPending'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:800: undefined reference to_XPending'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:842: undefined reference to _XDestroyWindow'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:844: undefined reference to_XFreePixmap'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:846: undefined reference to _XFreeCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:847: undefined reference to_XFreeCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:848: undefined reference to _XFreeCursor'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:850: undefined reference to_XFreeGC'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_main.c:852: undefined reference to _XCloseDisplay'
build/debug/x11_image.o: In functioncreateximage':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:108: undefined reference to _XShmQueryExtension'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:113: undefined reference to_XShmCreateImage'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:139: undefined reference to _XShmAttach'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:148: undefined reference to_XSync'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:157: undefined reference to _XCreateImage'
build/debug/x11_image.o: In functionmake_colormap':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:194: undefined reference to _XCreateColormap'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:198: undefined reference to_XStoreColors'
build/debug/x11_image.o: In function next_pool_image':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:307: undefined reference to_XSync'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:309: undefined reference to _XFlush'
build/debug/x11_image.o: In functionximage_error_handler':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:322: undefined reference to _XGetErrorText'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:328: undefined reference to_XSetErrorHandler'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:329: undefined reference to _XSetErrorHandler'
build/debug/x11_image.o: In functionximage_init':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:351: undefined reference to _XVisualIDFromVisual'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:352: undefined reference to_XGetVisualInfo'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:355: undefined reference to _XFree'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:359: undefined reference to_XFree'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:362: undefined reference to _XListPixmapFormats'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:369: undefined reference to_XFree'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:382: undefined reference to _XQueryExtension'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:383: undefined reference to_XShmQueryExtension'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:387: undefined reference to _XSetErrorHandler'
build/debug/x11_image.o: In functionximage_blit':
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:452: undefined reference to _XShmPutImage'
/cygdrive/d/Users/MOBDEV3/workspace1/Latest_Mupdf/jni/apps/x11_image.c:458: undefined reference to_XPutImage'
collect2: ld returned 1 exit status
Makefile:146: recipe for target `build/debug/mupdf' failed
make: * [build/debug/mupdf] Error 1
The problem is in "X11 Lib" as i see, but not able to do it.
Any help is appreciated...

Try the make command with the argument For e.g,
make NOX11=yes

Related

undefined reference to 'android::RefBase

I encountered below errors when I tred to call hidl APIs in native code, does any one can help to provide solution of these errors:
system/core/libutils/include/utils/StrongPointer.h:168: error: undefined reference to 'android::RefBase::decStrong(void const*) const'
system/core/libutils/include/utils/StrongPointer.h:169: error: undefined reference to 'android::sp_report_race()'
system/core/libutils/include/utils/StrongPointer.h:189: error: undefined reference to 'android::RefBase::decStrong(void const*) const'
system/core/libutils/include/utils/StrongPointer.h:190: error: undefined reference to 'android::sp_report_race()'
"LOCAL_SHARED_LIBRARIES += libutils" should be added into Android.mk

How to compile FFmpeg with libx265 for Android?

I have compiled FFmpeg with libx264(as static library) for Android successfully. But I want to use libx265(as static library) in FFmpeg on Android, too. So I have made some attempts:
First, I fixed libx265's log2 function and posix_memalign function not found problems by changing them into log(use log to approximate log2) function and memalign(to replace posix_memalign and do some adjustments) function. And fixed the pthread-linking problem by removing "-lpthread" in the cmakelist.txt file.
Then, I used cmake and make to compile libx265(as static library) successfully.
I enabled libx265 while FFmpeg configure. But when the configure ran, it showed "libx265 not found using pkg-config" on the screen.
I checked the config.log, and found these error message:
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(bitstream.cpp.o):bitstream.cpp:typeinfo for x265::BitInterface: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(bitstream.cpp.o):bitstream.cpp:typeinfo for x265::Bitstream: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(encoder.cpp.o):encoder.cpp:typeinfo for x265::SEIDecodedPictureHash: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(encoder.cpp.o):encoder.cpp:typeinfo for x265::SEIuserDataUnregistered: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(encoder.cpp.o):encoder.cpp:typeinfo for x265::SEIMasteringDisplayColorVolume: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(threading.cpp.o):threading.cpp:typeinfo for x265::Thread: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(wavefront.cpp.o):wavefront.cpp:typeinfo for x265::JobProvider: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(slicetype.cpp.o):slicetype.cpp:typeinfo for x265::BondedTaskGroup: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(frameencoder.cpp.o):frameencoder.cpp:function x265::FrameEncoder::encodeSlice(): error: undefined reference to '__dynamic_cast'
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(frameencoder.cpp.o):frameencoder.cpp:function x265::FrameEncoder::encodeSlice(): error: undefined reference to '__dynamic_cast'
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(frameencoder.cpp.o):frameencoder.cpp:function x265::FrameEncoder::processRowEncoder(int, x265::ThreadLocalData&): error: undefined reference to '__dynamic_cast'
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(frameencoder.cpp.o):frameencoder.cpp:function .LTHUNK2: error: undefined reference to '__dynamic_cast'
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(frameencoder.cpp.o):frameencoder.cpp:typeinfo for x265::FrameEncoder: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/user/ffmpeg-2.8.1/android/arm/lib/libx265.a(sei.cpp.o):sei.cpp:typeinfo for x265::SEI: error: undefined reference to 'vtable for __cxxabiv1::__vmi_class_type_info'
/home/user/ffmpeg-2.8.1/android/arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
How should I do to fix it?
I found the solution.
I need to add the 「libgnustl_static.a」's path to the gcc/g++ as parameters manually. After do that, the compilation will be successful.
recently i just meet the error, and just as user3032481 said.
i modify the configure of ffmpeg as below.
--extra-libs="-lother_libs -L/Users/shutup/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi -lgnustl_static" \
i think,the reason is that x265 need c++ rtti feature,but android default libstdc++ do not contain it. so we need add libgnustl_static.a .

Ubuntu 12.04 Compiling Android master

Set up environment as guided. Had to manually install one dependancy, it removes xorg and ubuntu desktop for some reason when you do.
Installed all things, make version 3.82 so no threading crash, using ccache.
Ran into this crash, any ideas? Clean install, 4GB ram, quad core processor, "lunch aosp_arm-eng; make clean; make -j4":
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Install: out/target/product/generic/system/app/Email.apk
/home/codelion/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::lockPixels() const' in out/target/product/generic/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/generic/obj/lib/libjnigraphics.so
/home/codelion/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::unlockPixels() const' in out/target/product/generic/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/generic/obj/lib/libjnigraphics.so
/home/codelion/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::notifyPixelsChanged() const' in out/target/product/generic/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/generic/obj/lib/libjnigraphics.so
external/chromium_org/content/browser/renderer_host/media/media_stream_manager.cc:1451: error: undefined reference to 'media::FakeVideoCaptureDeviceFactory::FakeVideoCaptureDeviceFactory()'
external/chromium_org/content/browser/renderer_host/media/media_stream_manager.cc:1462: error: undefined reference to 'vtable for media::FileVideoCaptureDeviceFactory'
external/chromium_org/content/browser/service_worker/service_worker_database.cc:173: error: undefined reference to 'content::ServiceWorkerRegistrationData::ServiceWorkerRegistrationData()'
external/chromium_org/content/browser/service_worker/service_worker_database.cc:194: error: undefined reference to 'content::ServiceWorkerRegistrationData::~ServiceWorkerRegistrationData()'
external/chromium_org/content/browser/service_worker/service_worker_database.cc:125: error: undefined reference to 'content::ServiceWorkerRegistrationData::ServiceWorkerRegistrationData()'
external/chromium_org/content/browser/service_worker/service_worker_database.cc:138: error: undefined reference to 'content::ServiceWorkerRegistrationData::~ServiceWorkerRegistrationData()'
external/chromium_org/content/browser/service_worker/service_worker_database.cc:148: error: undefined reference to 'content::ServiceWorkerResourceRecord::ServiceWorkerResourceRecord()'
external/chromium_org/content/browser/service_worker/service_worker_database.cc:155: error: undefined reference to 'content::ServiceWorkerResourceRecord::~ServiceWorkerResourceRecord()'
external/chromium_org/content/common/gpu/media/android_video_encode_accelerator.cc:78: error: undefined reference to 'media::VideoEncodeAccelerator::~VideoEncodeAccelerator()'
external/chromium_org/content/common/gpu/media/video_decode_accelerator_impl.cc:11: error: undefined reference to 'media::VideoDecodeAccelerator::~VideoDecodeAccelerator()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:294: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber(i18n::phonenumbers::PhoneNumber const&)'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:94: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber()'
out/target/product/generic/obj/GYP/shared_intermediates/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.h:59: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::CopyFrom(i18n::phonenumbers::PhoneNumber const&)'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:94: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::~PhoneNumber()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:242: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:162: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:162: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::~PhoneNumber()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:183: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:183: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::~PhoneNumber()'
external/chromium_org/components/autofill/core/browser/phone_number_i18n.cc:211: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::~PhoneNumber()'
external/chromium_org/content/public/renderer/render_frame_observer.cc:28: error: undefined reference to 'content::RenderFrameImpl::RemoveObserver(content::RenderFrameObserver*)'
external/chromium_org/content/public/renderer/render_frame_observer.cc:21: error: undefined reference to 'content::RenderFrameImpl::AddObserver(content::RenderFrameObserver*)'
external/chromium_org/content/public/renderer/render_view_observer.cc:28: error: undefined reference to 'content::RenderViewImpl::RemoveObserver(content::RenderViewObserver*)'
external/chromium_org/content/public/renderer/render_view_observer.cc:21: error: undefined reference to 'content::RenderViewImpl::AddObserver(content::RenderViewObserver*)'
external/chromium_org/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc:64: error: undefined reference to 'content::RenderThreadImpl::current()'
out/target/product/generic/obj/STATIC_LIBRARIES/content_content_app_both_gyp_intermediates/content_content_app_both_gyp.a(content_main_runner.o):content_main_runner.cc:function content::RunNamedProcessTypeMain(std::string const&, content::MainFunctionParams const&, content::ContentMainDelegate*)::kMainFunctions: error: undefined reference to 'content::RendererMain(content::MainFunctionParams const&)'
out/target/product/generic/obj/GYP/shared_intermediates/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:1453: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::default_instance()'
external/stlport/stlport/stl/_pair.h:68: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::PhoneMetadata(i18n::phonenumbers::PhoneMetadata const&)'
external/chromium_org/third_party/protobuf/src/google/protobuf/repeated_field.h:335: error: undefined reference to 'i18n::phonenumbers::NumberFormat::NumberFormat()'
out/target/product/generic/obj/GYP/shared_intermediates/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:1621: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::default_instance()'
out/target/product/generic/obj/GYP/shared_intermediates/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:1579: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::default_instance()'
out/target/product/generic/obj/GYP/shared_intermediates/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h:1663: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::default_instance()'
external/chromium_org/third_party/protobuf/src/google/protobuf/repeated_field.h:339: error: undefined reference to 'i18n::phonenumbers::NumberFormat::MergeFrom(i18n::phonenumbers::NumberFormat const&)'
external/stlport/stlport/stl/_pair.h:68: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::PhoneMetadata(i18n::phonenumbers::PhoneMetadata const&)'
external/stlport/stlport/stl/_pair.h:51: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::~PhoneMetadata()'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:674: error: undefined reference to 'i18n::phonenumbers::PhoneMetadataCollection::PhoneMetadataCollection()'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:725: error: undefined reference to 'i18n::phonenumbers::PhoneMetadataCollection::~PhoneMetadataCollection()'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:694: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::PhoneMetadata(i18n::phonenumbers::PhoneMetadata const&)'
external/stlport/stlport/stl/_pair.h:62: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::PhoneMetadata(i18n::phonenumbers::PhoneMetadata const&)'
external/stlport/stlport/stl/_pair.h:51: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::~PhoneMetadata()'
external/stlport/stlport/stl/_pair.h:51: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::~PhoneMetadata()'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:694: error: undefined reference to 'i18n::phonenumbers::PhoneMetadata::~PhoneMetadata()'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:1940: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::MergeFrom(i18n::phonenumbers::PhoneNumber const&)'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:2166: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber(i18n::phonenumbers::PhoneNumber const&)'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:2599: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber(i18n::phonenumbers::PhoneNumber const&)'
external/chromium_org/third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc:2600: error: undefined reference to 'i18n::phonenumbers::PhoneNumber::PhoneNumber(i18n::phonenumbers::PhoneNumber const&)'
external/chromium_org/content/renderer/in_process_renderer_thread.cc:23: error: undefined reference to 'content::RenderThreadImpl::RenderThreadImpl(std::string const&)'
collect2: error: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
codelion#ubuntu:~/android$
follow http://source.android.com/source/downloading.html
choose a tag from https://android.googlesource.com/platform/manifest/+refs
example:
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r2

Apportable Errors With iOS app conversion

I am running the command "apportable load" in the directory of my x-code project for an app that is working on the iOS simulator. I have x-code 5.0.2 and when I try to update apportable it says it is the newest version.
I am sorry for the extent of the error output as it may be difficult to read. I notice some errors that are picking out the sound effects and that they cannot be referenced.
Why are the references to settings such as CCScreenModeFixed not identified when they come directly from the spritebuilder interface? Does apportable support sound effects, if so why can't it find mine?
/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/AppDelegate.m:58: error: undefined
reference to 'CCSetupScreenMode'
/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/AppDelegate.m:58: error: undefined
reference to 'CCScreenModeFixed'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(AppDelegate.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/AppDelegate.m:function
L_OBJC_CLASSLIST_REFERENCES_$_22: error: undefined reference to
'OBJC_CLASS_$_CCBReader'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(AppDelegate.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/AppDelegate.m:function
OBJC_METACLASS_$_AppController: error: undefined reference to
'OBJC_METACLASS_$_CCAppDelegate'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(AppDelegate.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/AppDelegate.m:function
OBJC_CLASS_$_AppController: error: undefined reference to
'OBJC_CLASS_$_CCAppDelegate' /Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:186: error: undefined
reference to 'clampf'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
L_OBJC_CLASSLIST_REFERENCES_$_: error: undefined reference to
'OBJC_CLASS_$_OALSimpleAudio'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
L_OBJC_CLASSLIST_REFERENCES_$_73: error: undefined reference to
'OBJC_CLASS_$_CCBReader'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
L_OBJC_CLASSLIST_REFERENCES_$_122: error: undefined reference to
'OBJC_CLASS_$_CCDirector'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
L_OBJC_CLASSLIST_REFERENCES_$_133: error: undefined reference to
'OBJC_CLASS_$_CCActionMoveBy'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
L_OBJC_CLASSLIST_REFERENCES_$_138: error: undefined reference to
'OBJC_CLASS_$_CCActionSequence'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
L_OBJC_CLASSLIST_REFERENCES_$_141: error: undefined reference to
'OBJC_CLASS_$_CCActionEaseBounce'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
OBJC_METACLASS_$_Gameplay: error: undefined reference to
'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Gameplay.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Gameplay.m:function
OBJC_CLASS_$_Gameplay: error: undefined reference to
'OBJC_CLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Goal.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Goal.m:function
OBJC_METACLASS_$_Goal: error: undefined reference to
'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Goal.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Goal.m:function OBJC_CLASS_$_Goal:
error: undefined reference to 'OBJC_CLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Hiss.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Hiss.m:function
OBJC_METACLASS_$_Hiss: error: undefined reference to
'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(Hiss.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/Hiss.m:function OBJC_CLASS_$_Hiss:
error: undefined reference to 'OBJC_CLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/MainScene.m:function
L_OBJC_CLASSLIST_REFERENCES_$_: error: undefined reference to
'OBJC_CLASS_$_CCBReader'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/MainScene.m:function
L_OBJC_CLASSLIST_REFERENCES_$_1: error: undefined reference to
'OBJC_CLASS_$_CCDirector'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/MainScene.m:function
L_OBJC_CLASSLIST_REFERENCES_$_6: error: undefined reference to
'OBJC_CLASS_$_OALSimpleAudio'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/MainScene.m:function
OBJC_METACLASS_$_MainScene: error: undefined reference to
'OBJC_METACLASS_$_CCNode'
/Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/com.apportable.Eltie/Eltie/libEltie.a(MainScene.m.o):/Users/mateusz/Documents/SpriteBuilder
Games/Eltie.spritebuilder/Source/MainScene.m:function
OBJC_CLASS_$_MainScene: error: undefined reference to
'OBJC_CLASS_$_CCNode' ninja: build stopped: subcommand failed. Error:
command failed:
/Users/mateusz/.apportable/SDK/toolchain/macosx/ninja/ninja
--no-strip-ansi-escapes -j 8 /Users/mateusz/.apportable/SDK/Build/android-armeabi-debug/Eltie/Eltie-debug.apk
Okay, I figured it out with the help of the answer from this question: static libs with apportable
I did not have the cocos2d library added in the target dependencies section of the build phases tab in x-code. When I added it apportable had no issues finding the undefined types given from spritebuilder and cocos2d.

no android.mk file in Classes Folder for cocos2d-x 1.0.1-x-0.13.0-beta

I have problem with running build_native.sh in android cocos2d-x project. it turns out to be some linking problem. the cpp files that I created are not compiled and so become undefined reference.
here's the error :
SoybeanServer-2:android soybeansoft$ ./build_native.sh
Using prebuilt externals
make: Entering directory `/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android'
SharedLibrary : libgame.so
./obj/local/armeabi/objs/game_shared/__/__/Classes/AppDelegate.o: In function `AppDelegate::applicationDidFinishLaunching()':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/AppDelegate.cpp:111: undefined reference to `MainMenu::scene()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld::okButtonCallback(cocos2d::CCObject*)':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:179: undefined reference to `Logic::select()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld::newQuiz()':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:172: undefined reference to `Logic::getCurrentQuiz()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:173: undefined reference to `Logic::getCurrentQuiz()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld::swipeRight()':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:151: undefined reference to `Logic::nextImage()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld::swipeLeft()':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:145: undefined reference to `Logic::previousImage()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `~HelloWorld':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:16: undefined reference to `Logic::unregisterEventHandler()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:30: undefined reference to `LogicEvent::~LogicEvent()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:16: undefined reference to `Logic::unregisterEventHandler()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:30: undefined reference to `LogicEvent::~LogicEvent()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:9: undefined reference to `Logic::Logic()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:9: undefined reference to `Logic::Logic()'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld::imageChanged()':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:161: undefined reference to `Logic::getCurrentImage()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:162: undefined reference to `MemeImage::setImage(char const*)'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o: In function `HelloWorld::init()':
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:83: undefined reference to `MemeImage::MemeImage()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:90: undefined reference to `Logic::init(float)'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:91: undefined reference to `Logic::registerEventHandler(LogicEvent*)'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:93: undefined reference to `Logic::getCurrentQuiz()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:94: undefined reference to `Logic::getCurrentQuiz()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:96: undefined reference to `Logic::getCurrentQuiz()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:102: undefined reference to `Logic::getCurrentImage()'
/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android/jni/../../Classes/HelloWorldScene.cpp:103: undefined reference to `MemeImage::setImage(char const*)'
./obj/local/armeabi/objs/game_shared/__/__/Classes/HelloWorldScene.o:(.data.rel.ro+0x1d0): undefined reference to `typeinfo for LogicEvent'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libgame.so] Error 1
make: Leaving directory `/Users/soybeansoft/devs/cocos2d-x_1.0/MemeQuiz/android'
SoybeanServer-2:android soybeansoft$
some people say that I need to list all the cpp files i created in Android.mk file in the Classes folder. But after I look out at the Classes folder, there's no Android.mk there.
so how should I list the .cpp files now?
Update :
I know that there's android.mk file in jni folder. but even if I list all my game cpp file there , the cpp still not compiled in the build_native process. So I really have no idea how to list my cpp files.
android.mk file will be in the jni folder of the eclipse project. Look over there.

Categories

Resources