gvinodaraaj / apv

Automatically exported from code.google.com/p/apv
GNU General Public License v3.0
0 stars 0 forks source link

Unable to create .so file #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. i am getting the following errors

In function `parse_pdf_file':
apps/pdfview2/project/jni/pdfview2.c:415: undefined reference to 
`pdf_loadxref_fileno'
apps/pdfview2/project/jni/pdfview2.c:418: undefined reference to 
`pdf_repairxref_fileno'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x14): undefined 
reference to `pfr_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x18): undefined 
reference to `t42_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x1c): undefined 
reference to `winfnt_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x20): undefined 
reference to `pcf_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x44): undefined 
reference to `bdf_driver_class'
out/apps/pdfview2//libmupdf.a(pdf_font.o): In function `loadcidfont':
apps/pdfview2/project/jni/mupdf/mupdf/pdf_font.c:712: undefined reference 
to `pdf_loadtounicode'
out/apps/pdfview2//libmupdf.a(pdf_font.o): In function `loadsimplefont':
apps/pdfview2/project/jni/mupdf/mupdf/pdf_font.c:489: undefined reference 
to `pdf_loadtounicode'
out/apps/pdfview2//libmupdf.a(pdf_type3.o): In function 
`pdf_loadtype3font':
apps/pdfview2/project/jni/mupdf/mupdf/pdf_type3.c:136: undefined reference 
to `pdf_loadtounicode'
out/apps/pdfview2//libmupdf.a(pdf_fontfile.o): In function 
`pdf_loadstoredfont':
apps/pdfview2/project/jni/mupdf-overlay/mupdf/pdf_fontfile.c:119: undefined 
reference to `pdf_getfontfile'
collect2: ld returned 1 exit status

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by saryu.ku...@gmail.com on 21 Apr 2010 at 12:34

GoogleCodeExporter commented 8 years ago

Original comment by mpietrzak on 17 May 2010 at 12:10

GoogleCodeExporter commented 8 years ago
you need to do as below:

1. cd /mupdf/mupdf/
2. make -f APV.mk font_files

then it creates some .c files. and then, excute android-gcc-setup.sh, 
$NDK/ndk-build.

Original comment by lobot...@gmail.com on 21 Dec 2010 at 1:43

GoogleCodeExporter commented 8 years ago
Can someone provide a step-by-step procedure for building .so file, please? I 
am not able to create .so 

I am using cygwin, eclipse, and Nexus

Original comment by jackiecr...@gmail.com on 6 Jun 2011 at 6:42

GoogleCodeExporter commented 8 years ago
Unfortunately, almost all of the .c files seem to be missing from the 
repository at the moment.  For instance, jni/mupdf/pdf/APV.mk needs fontdump.c 
to make fontdump, but there is no fontdump.c.  In fact, mupdf/pdf contains 
nothing but APV.mk, and there is no jni/mupdf/mupdf directory.

Original comment by arpruss on 19 Jul 2011 at 3:42