fatSaadeh / android-vnc

Automatically exported from code.google.com/p/android-vnc
GNU General Public License v2.0
0 stars 0 forks source link

ndk-build can not find compress etc. #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
my configure
1 suse linxu 11 sp1 
2 ndk r5
 i have got the source code ,and when i have compiled the libvncserver success,but when i use ndk-build to cross-compile the androidvncserver,i have this error message,it seems not inluce the libz and libjpeg,
what can i do next?
Executable     : androidvncserver
/home/setup/android-ndk-r5/samples/obj/local/armeabi/objs/androidvncserver/LibVN
CServer-0.9.7/libvncserver/rfbserver.o: In function `rfbSendFileTransferChunk':
/home/setup/android-ndk-r5/samples/jni/LibVNCServer-0.9.7/libvncserver/rfbserver
.c:1364: undefined reference to `compress'
/home/setup/android-ndk-r5/samples/obj/local/armeabi/objs/androidvncserver/LibVN
CServer-0.9.7/libvncserver/rfbserver.o: In function `rfbProcessFileTransfer':
/home/setup/android-ndk-r5/samples/jni/LibVNCServer-0.9.7/libvncserver/rfbserver
.c:1626: undefined reference to `uncompress'
/home/setup/android-ndk-r5/samples/obj/local/armeabi/objs/androidvncserver/LibVN
CServer-0.9.7/libvncserver/rfbserver.o: In function `rfbClientConnectionGone':
/home/setup/android-ndk-r5/samples/jni/LibVNCServer-0.9.7/libvncserver/rfbserver
.c:531: undefined reference to `deflateEnd'
/home/setup/android-ndk-r5/samples/jni/LibVNCServer-0.9.7/libvncserver/rfbserver
.c:525: undefined reference to `deflateEnd'

Original issue reported on code.google.com by 138...@zte.com.cn on 15 Mar 2011 at 1:44