Hi, I would suggest discussing this matter further in the relevant mailing list here: http://groups.google.com/group/droidreader-developer-list
Please re-post there, here's just a short hint: Try rectifiing the jpeg/ subdirectory by unpacking a fresh, *new* version of libjpeg, i.e. jpegsr8.zip. There just is no "jinit_phuff_decoder" in current code of libjpeg, and it's not referenced in the master_selection function anymore (I didn't check how long it's not in use anymore). I think the file layout of libjpeg was once different and since I do a manual list of files to be compiled in Android.mk, it would break for different layouts. Hope I could help, and am happy my code is being used :-) -hwh 2010/2/26 lalithalaxmi g <[email protected]> > hi all, > > I am using droid pdf reader in ndk. I am unable to generate libpdfreader.so > file. > while compiling i am getting following errors. > > > out/apps/droidreader-read-only//libmupdf.a(jdmaster.o): In function > `master_selection': > apps/droidreader-read-only/jni/jpeg/jdmaster.c:380: undefined reference to > `jinit_phuff_decoder' > out/apps/droidreader-read-only//libmupdf.a(jddctmgr.o): In function > start_pass': > apps/droidreader-read-only/jni/jpeg/jddctmgr.c:117: undefined reference to > `jpeg_idct_4x4' > apps/droidreader-read-only/jni/jpeg/jddctmgr.c:117: undefined reference to > `jpeg_idct_2x2' > apps/droidreader-read-only/jni/jpeg/jddctmgr.c:117: undefined reference to > `jpeg_idct_1x1' > collect2: ld returned 1 exit status > > pls any one can help me to rectify those errors. > > > thanks in advance. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

