[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PDFKIT 0.9.1 Link Error on EnumFont@a16 ? Problem in GlobalParams.cc
From: |
Citizen Jimserac |
Subject: |
Re: PDFKIT 0.9.1 Link Error on EnumFont@a16 ? Problem in GlobalParams.cc ? |
Date: |
Wed, 28 Mar 2012 19:11:47 -0000 |
User-agent: |
G2/1.0 |
On Feb 2, 4:24 pm, Citizen Jimserac <jimse...@gmail.com> wrote:
> On Feb 2, 2:51 pm, CitizenJimserac<jimse...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > Compilation goes all the way through, everything looks cool in the ./
> > configure and make until, just towards the end, while compiling in
> > xpdf it flubs with:
>
> > Making all for framework PDFKit...
> > Linking framework PDFKit ...
> > Creating library file: ./PDFKit.framework/./libPDFKit.dll.a
> > xpdf/xpdf-3.02/xpdf/GlobalParams.o:GlobalParams.cc:(.text+0x63a):
> > undefined refe
> > rence to `EnumFontsA@16'
> > xpdf/xpdf-3.02/xpdf/GlobalParams.o:GlobalParams.cc:(.text+0xa79):
> > undefined refe
> > rence to `EnumFontsA@16'
> > collect2: ld returned 1 exit status
> > cp: cannot stat `PDFKit-0.dll': No such file or directory
> > make[2]: *** [PDFKit.framework/./libPDFKit.dll.a] Error 1
> > make[1]: *** [internal-framework-run-compile-submake] Error 2
> > make: *** [PDFKit.all.framework.variables] Error 2
>
> > Hmmm... mysterious. I've got gdi32.dll in C:\Windows\System32 if that
> > means anything.
>
> > Is there code in the case of a Win32 target that should be avoided by
> > the pre-processor in xpdf ??
>
> > Am checking into GlobalParams.cc right now. Will check if I see
> > anything obvious.
>
> > Thanks
> > CJ
>
> Ya, there it is, in module GlobalParams.cc, two calls to EnumFonts,
> the first one is in the WinFontList constructor and the second one is
> in Enumfunc1.
>
> Commenting them out lets the link finish OK and the app's exe is
> generated but who knows what is broken by commenting them out. Will
> have to let the developers comment on that one.
>
> CJ
Did somebody change something? I downloaded it again and this time it
compiled and installed just fine.
Hmmm.
CJ