Hello,
I decided to not give up about the remaining linking problem described into a
previous set of emails.
At the end I discovered the problem and I was able to fix it.
For fixing it, libpoppler-cairo.la must be written before libpoppler.la into
test/Makefile.am.
It seems to me that libpoppler-cairo.a is using some functions included into
libpoppler.dll so there was a problem of precedence.
I got the idea after reading this chapter:
http://www.network-theory.co.uk/docs/gccintro/gccintro_18.html
Attached patch shows how I fixed the trouble.
With this fix, poppler is finally fully compliant with mingw-msys enviroment.
I admit that I had no chance to test it under linux, so I hope there will be no
troubles...
Sincerely,
Carlo Bramini.
diff --git a/test/Makefile.am b/test/Makefile.am
old mode 100644
new mode 100755
index b721229..448c626
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -68,8 +68,8 @@ pdf_inspector_SOURCES = \
pdf-inspector.cc
pdf_inspector_LDADD = \
+ $(top_builddir)/poppler/libpoppler-cairo.la \
$(top_builddir)/poppler/libpoppler.la \
- $(top_builddir)/poppler/libpoppler-cairo.la \
$(CAIRO_LIBS) \
$(FREETYPE_LIBS) \
$(GTK_TEST_LIBS)
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler