Compile Error..(link)

Asked by acrone

My problem : compile Errors..

The error shown as below:

####################################################
# BuildTool v0.7.4, 2007 Bob Jamison
####################################################
######## PARSE : build.xml
######## PARSE COMPLETE
######## EXECUTE
## Target : init : Do all preparatory tasks, like make directories and copy file
s
---- task : mkdir
          : build
---- task : mkdir
          : inkscape
---- task : copy
          : src/helper/sp-marshal.h.mingw to src/helper/sp-marshal.h
          : skipped
---- task : copy
          : src/helper/sp-marshal.cpp.mingw to src/helper/sp-marshal.cpp
          : skipped
---- task : makefile
          : inkscape_version.h
---- task : makefile
          : config.h
## Target : compile : compile the source to .o
---- task : cc
## Target : lib : create a static library
---- task : staticlib
## Target : link : link objects and library to create executable
---- task : rc
---- task : link
============ cmd ============
mingw32-g++ -o build/inkscape.exe -mwindows build\inkres.o build\obj\main.o buil
d\obj\winmain.o build\libinkscape.a -Lc:/devlibs/lib -lpoppler-cairo -lpoppler-g
lib -lpoppler.dll -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 -lpangoca
iro-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -Lc:/devlibs/perl/lib/CORE -lperl58 -Lc:/devlibs/python
/libs -lpython25 c:/devlibs/bin/libxml2.dll c:/devlibs/bin/libxslt.dll -lcairo.d
ll -lcairomm-1.0.dll -lwpg-0.1.dll -lwpg-stream-0.1.dll -lwpd-0.8.dll -lwpd-stre
am-0.8.dll c:/devlibs/lib/iconv.lib -lMagick++ -lWand -lMagick -lfreetype.dll -l
fontconfig.dll -lssl -lcrypto -llcms.dll -lpng -ljpeg.dll -ltiff.dll -lpopt c:/d
evlibs/lib/zdll.lib -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm
=============================
Make error line 372: LINK problem: c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\.
.\..\mingw32\bin\ld.exe: warning: auto-importing has been activated without --en
able-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols
 from auto-imported DLLs.c:/devlibs/lib/libpoppler-glib.a(poppler-page.o): In fu
nction `poppler_page_get_image_output_dev':
c:\dev\poppler\poppler-0.8.0\glib/poppler-page.cc:1197: undefined reference to `
__Unwind_Resume'
c:/devlibs/lib/libpoppler-glib.a(poppler-page.o): In function `poppler_page_get_
text_output_dev':
c:\dev\poppler\poppler-0.8.0\glib/poppler-page.cc:237: undefined reference to `_
_Unwind_Resume'
c:/devlibs/lib/libpoppler-glib.a(poppler-page.o): In function `poppler_page_get_
transition':
c:\dev\poppler\poppler-0.8.0\glib/poppler-page.cc:163: undefined reference to `_
_Unwind_Resume'

...etc Error.....

c:/devlibs/lib/libMagick++.a(BlobRef.o): In function `BlobRef':
c:\dev\gtkzips\ImageMagick-6.3.6/Magick++/lib/BlobRef.cpp:34: undefined referenc
e to `__Unwind_Resume'
c:\dev\gtkzips\ImageMagick-6.3.6/Magick++/lib/BlobRef.cpp:34: undefined referenc
e to `__Unwind_Resume'
c:/devlibs/lib/libMagick++.a(BlobRef.o):BlobRef.cpp:(.eh_frame+0x12): undefined
reference to `___gxx_personality_v0'
collect2: ld returned 1 exit status

======================================================================

How to solve this problem?
I'd like to ask you a question. Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Krzysztof Kosinski (tweenk) said :
#1

It looks like a problem with your MinGW installation, because it thinks you are compiling a C file and doesn't link against libstdc++.

Can you help with this problem?

Provide an answer of your own, or ask acrone for more information if necessary.

To post a message you must log in.