Hi, Daniel,
It's the version of the mingw-runtime you are using. I don't remember which version added gettimeofday(), but if the xmingw-4.1.1 tarball doesn't have it, then you need the xmingw-4.1.2 tarball.
bob
Daniel Díaz wrote:
Hey, Bob!
On 8/19/07, Bob Jamison <rwjj@...127...> wrote:
Bob Jamison wrote: Ok. Make that *-3.7z . Sorry, but I forgot libpoppler-cairo in -2. This -is- the last one now, I swear, if only from sheer exhaustion. [...]
For a long time now, I've been getting this error message: -----8<----------8<----------8<----------8<----------8<----- [...] ## Target : link : link objects and library to create executable ---- task : rc ---- task : link ============ cmd ============ i686-pc-mingw32-g++ -o build/inkscape.exe -mwindows build/inkres.o build/obj/main.o build/obj/winmain.o build/libinkscape.a -L/target/lib -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -L/target/perl/lib/CORE -lperl58 -L/target/python/libs -lpython25 /target/bin/libxml2.dll -lpoppler-cairo -lpoppler -lcairo.dll /target/lib/iconv.lib -lfreetype.dll -lfontconfig.dll -lssl -lcrypto -lMagick++ -lWand -lMagick -llcms.dll -lpng -ljpeg.dll -ltiff.dll -lpopt /target/lib/zdll.lib -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32
-lm
/target/lib/libpoppler.a(GooTimer.o): In function `_ZN8GooTimer10getElapsedEv':c:/dev/poppler/poppler-0.5.91/goo/GooTimer.cc:46: undefined reference to `_gettimeofday' /target/lib/libpoppler.a(GooTimer.o): In function `_ZN8GooTimer4stopEv':c:/dev/poppler/poppler-0.5.91/goo/GooTimer.cc:34: undefined reference to `_gettimeofday' /target/lib/libpoppler.a(GooTimer.o): In function `_ZN8GooTimerC1Ev':c:/dev/poppler/poppler-0.5.91/goo/GooTimer.cc:27: undefined reference to `_gettimeofday' /target/lib/libpoppler.a(GooTimer.o): In function `_ZN8GooTimerC2Ev':c:/dev/poppler/poppler-0.5.91/goo/GooTimer.cc:27: undefined reference to `_gettimeofday' /target/lib/libMagick.a(magick_libMagick_la-random.o):random.c:(.text+0x56a): undefined reference to `_gettimeofday' collect2: ld returned 1 exit status Make error line 354: exec of command 'i686-pc-mingw32-g++ -o build/inkscape.exe -mwindows build/inkres.o build/obj/main.o build/obj/winmain.o build/libinkscape.a -L/target/lib -lgtkmm-2.4 -lgdkmm-2.4 -lglibmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lsigc-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -L/target/perl/lib/CORE -lperl58 -L/target/python/libs -lpython25 /target/bin/libxml2.dll -lpoppler-cairo -lpoppler -lcairo.dll /target/lib/iconv.lib -lfreetype.dll -lfontconfig.dll -lssl -lcrypto -lMagick++ -lWand -lMagick -llcms.dll -lpng -ljpeg.dll -ltiff.dll -lpopt /target/lib/zdll.lib -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm' failed : No such file or directory Make error line 354: LINK problem: ----->8---------->8---------->8---------->8---------->8-----
Now I'm using the recent lib bundle (0819-3) with xmingw 4.1.1.
Would you know why it's breaking and what goes on with those missing functions?
Greetings!
Daniel Díaz yosoy@...31...