[Poppler-bugs] [Bug 12493] No localtime_r and gcc instead of g++
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 25 02:17:31 PDT 2007
http://bugs.freedesktop.org/show_bug.cgi?id=12493
------- Comment #1 from emilien at tlapale.com 2007-10-25 02:21 PST -------
Hi! I am compiling the new poppler 0.6.1 using Ubuntu's mingw32 (cross-compiler
for windows) and I got exactly the same problems :
1. There is a `i586-mingw32msvc-gcc' command which gives undefined references
to standard C++ things, so a `i586-mingw32msvc-g++' is necessary while building
`test-poppler-glib.exe'. For instance:
poppler-0.6.1/poppler/.libs/libpoppler.a(Function.o):Function.cc:(.text+0x6d3c):
undefined reference to `operator new(unsigned int)'
2. Maybe I am missing something but `localtime_r' is still undefined with my
Ubuntu mingw32 installation, as with crossdev on Gentoo. So I suggest to add a
HAVE_LOCALTIME_R and a line like:
if (time == 0 || localtime (&time)) return NULL;
in glib/test-poppler-glib.c
Thanks a lot!
--
Émilien TLAPALE
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Poppler-bugs
mailing list