Hello, > > I tried to compile poppler under mingw+msys. > > With some fixes I was able to compile it successfully. > > I did my changes on the latest git checkout. > > Description of changes into attached patch: > > > > glib/Makefile.am > > added support for shared library generation to libpoppler-glib. > > libpoppler-glib is created as a shared library on linux is that > @create_shared_lib@ needed for windows?
Yes, @create_shared_lib@ is required for windows (and perhaps on other platforms too) because libtool cannot create shared libraries if "-no-undefined" is not specified. BTW, after your email I gave a look into configure.ac and I found this text where @create_shared_lib@ is defined: mingw|mingw32) Perhaps it would be better to modify that line into: mingw*) so it will be able to work even with mingw64 (for 64 bit editions) and mingwce (for Windows Mobile). > > test/Makefile.am > > The linking of pdf_inspector generated thousand of unresolved externals; I > > had to link with $(top_builddir)/glib/libpoppler-glib.la instead of > > $(top_builddir)/poppler/libpoppler-cairo.la for solving the trouble. > > pdf_inspector does not seem to use libpopplerglib at all, so the problem is > probably a different one, can you post a list of the unresolved symbols? I moved that list in the bottom of this message just to make this email more readable. > > At the end everything seemed solved unless a little detail... > > At the beginning libjpeg was not found at configure time; infact this > > happens because of this line into libjpeg.m4: > > > > jpeg_incdirs="`eval echo $includedir` /usr/include /usr/local/include " > > > > Since under mingw the include files are normally under /mingw/include and > > not under /usr/include or /usr/local/include, I had to add > > "--includedir=/mingw/include". In that manner, it was able to find my > > libraries correctly but when I launch "make install" the include files of > > poppler are installed under /mingw/include instead of the location > > specified with "--prefix". So, I'm wondering if it's possible to add an > > option to configure script like "--with-jpeg-include=<path>" so that an > > user could specify a libjpeg path without loosing the installation path. > > Or we could add /mingw/include to the libjpeg.m4 if that is the typical > location of the mingw includes. Yes, I think it's safe to assume those include files are always under /mingw/include. Anyways, if I can give my suggestion, it won't be a bad idea to add an option like the one I suggested, because if a day will come a new XYZ system with include files into another different location, you must add them manually again and rebuild the configure script with autoconf. Sincerely, Carlo Bramini. PS: list of unresolved externals under mingw+msys =========================== make[2]: Entering directory `/home/pc/poppler/test' /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wno-write-strings -g -O2 -o pdf_inspector.exe pdf-inspector.o ../poppler/libpoppler.la ../poppler/libpoppler-cairo.la -Lc:/mingw/lib -lcairo -Lc:/mingw/lib -lfreetype -lz -Wl,-luuid -Lc:/mingw/lib -lglade-2.0 -lgtk-win32-2.0 -lxml2 -lgdk-win32-2.0 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv g++ -Wall -Wno-write-strings -g -O2 -o .libs/pdf_inspector.exe pdf-inspector.o -Wl,-luuid ../poppler/.libs/libpoppler.dll.a -ljpeg -Lc:/mingw/lib ../poppler/.libs/libpoppler-cairo.a /mingw/lib/libglade-2.0.dll.a -L/mingw/lib /mingw/lib/libgtk-win32-2.0.dll.a -lcomdlg32 -lwinspool -lcomctl32 /mingw/lib/libxml2.dll.a /mingw/lib/libgdk-win32-2.0.dll.a -limm32 -lshell32 /mingw/lib/libatk-1.0.dll.a /mingw/lib/libgdk_pixbuf-2.0.dll.a /mingw/lib/libpangocairo-1.0.dll.a /mingw/lib/libpangowin32-1.0.dll.a /mingw/lib/libpangoft2-1.0.dll.a /mingw/lib/libpango-1.0.dll.a /mingw/lib/libcairo.dll.a /mingw/lib/libfontconfig.dll.a /mingw/lib/libfreetype.dll.a /mingw/lib/libexpat.dll.a /mingw/lib/libpng12.dll.a -lz -lgdi32 -lmsimg32 /mingw/lib/libgobject-2.0.dll.a /mingw/lib/libgmodule-2.0.dll.a /mingw/lib/libgthread-2.0.dll.a /mingw/lib/libglib-2.0.dll.a -lws2_32 -lole32 /mingw/lib/libintl.dll.a /mingw/lib/libiconv.dll.a -L/home/pc/inst_poppler/lib -L/mingw/lib c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevC2Ev': c:/cygwin/home/pc/poppler/poppler/OutputDev.h:65: undefined reference to `vtable for OutputDev' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevC1Ev': c:/cygwin/home/pc/poppler/poppler/OutputDev.h:65: undefined reference to `vtable for OutputDev' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevD2Ev': c:/cygwin/home/pc/poppler/poppler/OutputDev.h:65: undefined reference to `vtable for OutputDev' c:/cygwin/home/pc/poppler/poppler/OutputDev.h:65: undefined reference to `vtable for OutputDev' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevD1Ev': c:/cygwin/home/pc/poppler/poppler/OutputDev.h:65: undefined reference to `vtable for OutputDev' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o):c:/cygwin/home/pc/poppler/poppler/OutputDev.h:65: more undefined references to `vtable for OutputDev' follow ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev8setCairoEP6_cairo': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:155: undefined reference to `warning(char*, ...)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev13setDefaultCTMEPd': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:239: undefined reference to `OutputDev::setDefaultCTM(double*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:239: undefined reference to `OutputDev::setDefaultCTM(double*)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev9updateCTMEP8GfxStatedddddd': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:264: undefined reference to `warning(char*, ...)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev11beginStringEP8GfxStateP9GooString': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:537: undefined reference to `_gmalloc' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev9endStringEP8GfxState': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:623: undefined reference to `_gfree' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:623: undefined reference to `_gfree' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev20drawImageMaskRegularEP8GfxStateP6ObjectP6Streamiiii': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1001: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1002: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1007: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1062: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:996: undefined reference to `error(int, char*, ...)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1026: undefined reference to `ImageStream::~ImageStream()' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev22drawImageMaskPrescaledEP8GfxStateP6ObjectP6Streamiiii': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1152: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1153: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1198: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1333: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1160: undefined reference to `error(int, char*, ...)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1281: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1286: undefined reference to `ImageStream::~ImageStream()' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev15drawMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iii': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1343: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1344: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1348: undefined reference to `_gmalloc' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1360: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1373: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1384: undefined reference to `_gmalloc' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev15drawMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iii': c:/cygwin/home/pc/poppler/poppler/GfxState.h:903: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev15drawMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iii': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1390: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1400: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1401: undefined reference to `GfxImageColorMap::getRGBLine(unsigned char*, unsigned int*, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1453: undefined reference to `ImageStream::~ImageStream()' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev19drawSoftMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iiS7_': c:/cygwin/home/pc/poppler/poppler/GfxState.h:903: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev19drawSoftMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iiS7_': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1469: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1473: undefined reference to `_gmalloc' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1481: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1482: undefined reference to `GfxImageColorMap::getGrayLine(unsigned char*, unsigned char*, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1488: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1500: undefined reference to `_gmalloc' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev19drawSoftMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iiS7_': c:/cygwin/home/pc/poppler/poppler/GfxState.h:903: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev19drawSoftMaskedImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapS5_iiS7_': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1506: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1516: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1517: undefined reference to `GfxImageColorMap::getRGBLine(unsigned char*, unsigned int*, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1574: undefined reference to `ImageStream::~ImageStream()' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev9drawImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapPii': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1592: undefined reference to `_gmalloc' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev9drawImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapPii': c:/cygwin/home/pc/poppler/poppler/GfxState.h:903: undefined reference to `ImageStream::ImageStream(Stream*, int, int, int)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDev9drawImageEP8GfxStateP6ObjectP6StreamiiP16GfxImageColorMapPii': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1598: undefined reference to `ImageStream::reset()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1609: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1610: undefined reference to `GfxImageColorMap::getRGBLine(unsigned char*, unsigned int*, int)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1680: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1646: undefined reference to `ImageStream::~ImageStream()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1632: undefined reference to `ImageStream::getLine()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1633: undefined reference to `GfxImageColorMap::getRGBLine(unsigned char*, unsigned int*, int)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN19CairoImageOutputDevD2Ev': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1703: undefined reference to `_gfree' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN19CairoImageOutputDevD1Ev': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1703: undefined reference to `_gfree' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN19CairoImageOutputDevD0Ev': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1703: undefined reference to `_gfree' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN19CairoImageOutputDev9saveImageEP10CairoImage': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:1710: undefined reference to `_greallocn' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN10CairoImageC1Edddd': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:75: undefined reference to `OutputDev::cvtDevToUser(double, double, double*, double*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:76: undefined reference to `OutputDev::cvtUserToDev(double, double, int*, int*)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevC2Ev': c:/cygwin/home/pc/poppler/poppler/OutputDev.h:62: undefined reference to `OutputDev::endMarkedContent(GfxState*)' c:/cygwin/home/pc/poppler/poppler/OutputDev.h:62: undefined reference to `OutputDev::beginMarkedContent(char*)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevC2Ev': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:105: undefined reference to `OutputDev::beginMarkedContent(char*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:106: undefined reference to `OutputDev::markPoint(char*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:106: undefined reference to `OutputDev::markPoint(char*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:108: undefined reference to `OutputDev::opiBegin(GfxState*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:108: undefined reference to `OutputDev::opiEnd(GfxState*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:109: undefined reference to `OutputDev::startProfile()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:110: undefined reference to `OutputDev::endProfile()' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN10CairoImageC1Edddd': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:75: undefined reference to `OutputDev::cvtDevToUser(double, double, double*, double*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:76: undefined reference to `OutputDev::cvtUserToDev(double, double, int*, int*)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevC2Ev': c:/cygwin/home/pc/poppler/poppler/OutputDev.h:62: undefined reference to `OutputDev::endMarkedContent(GfxState*)' c:/cygwin/home/pc/poppler/poppler/OutputDev.h:62: undefined reference to `OutputDev::beginMarkedContent(char*)' ../poppler/.libs/libpoppler-cairo.a(CairoOutputDev.o): In function `_ZN14CairoOutputDevC2Ev': c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:105: undefined reference to `OutputDev::beginMarkedContent(char*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:106: undefined reference to `OutputDev::markPoint(char*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:106: undefined reference to `OutputDev::markPoint(char*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:108: undefined reference to `OutputDev::opiBegin(GfxState*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:108: undefined reference to `OutputDev::opiEnd(GfxState*, Dict*)' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:109: undefined reference to `OutputDev::startProfile()' c:/cygwin/home/pc/poppler/poppler/CairoOutputDev.cc:110: undefined reference to `OutputDev::endProfile()' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/goo/GooString.h:100: undefined reference to `FoFiTrueType::load(char*, int)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:350: undefined reference to `GfxCIDFont::getCodeToGIDMap(FoFiTrueType*, int*)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/goo/GooString.h:100: undefined reference to `FoFiTrueType::load(char*, int)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:365: undefined reference to `openTempFile(GooString**, _iobuf**, char*, char*)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:370: undefined reference to `FoFiTrueType::writeTTF(void (*)(void*, char*, int), void*, char*, unsigned short*)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:268: undefined reference to `openTempFile(GooString**, _iobuf**, char*, char*)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:274: undefined reference to `Object::fetch(XRef*, Object*)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:275: undefined reference to `Object::free()' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:287: undefined reference to `Object::free()' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:326: undefined reference to `_gmallocn' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:397: undefined reference to `_gfree' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:342: undefined reference to `_gmallocn' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:399: undefined reference to `error(int, char*, ...)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:295: undefined reference to `GlobalParams::getDisplayFont(GfxFont*)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/goo/GooString.h:155: undefined reference to `error(int, char*, ...)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:277: undefined reference to `error(int, char*, ...)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:278: undefined reference to `Object::free()' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/goo/GooString.h:100: undefined reference to `FoFiType1C::load(char*)' ../poppler/Info: resolving _globalParams by linking to __imp__globalParams (auto-import) .libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:391: undefined reference to `FoFiType1C::getCIDToGIDMap(int*)' c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:362: undefined reference to `Gfx8BitFont::getCodeToGIDMap(FoFiTrueType*)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFont6createEP7GfxFontP4XRefP14FT_LibraryRec_i': c:/cygwin/home/pc/poppler/poppler/Object.h:330: undefined reference to `error(int, char*, ...)' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFontD2Ev': c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:436: undefined reference to `_gfree' ../poppler/.libs/libpoppler-cairo.a(CairoFontEngine.o): In function `_ZN9CairoFontD1Ev': c:/cygwin/home/pc/poppler/poppler/CairoFontEngine.cc:436: undefined reference to `_gfree' collect2: ld returned 1 exit status make[2]: *** [pdf_inspector.exe] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
