<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>You can use "make VERBOSE=1" to see the compile / link lines that are failing. Shot in the dark, maybe you could add –fPIC to your compile / link options.</div><div><br></div><div>--josh</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> M Naveed Akram <<a href="mailto:cmnajs@gmail.com">cmnajs@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Fri, 2 Dec 2011 06:00:37 -0800<br><span style="font-weight:bold">To: </span> suzuki toshiya <<a href="mailto:mpsuzuki@hiroshima-u.ac.jp">mpsuzuki@hiroshima-u.ac.jp</a>><br><span style="font-weight:bold">Cc: </span> poppler <<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [poppler] Poppler Compilation Issue<br></div><div><br></div>I am trying to install poppler from source. I ran './configure' and then 'make' and getting the output <div><br></div><div>here is a little more output</div><div><br></div><div><br></div><div><div>make[3]: Entering directory `/root/poppler/poppler'</div><div> CXX SplashOutputDev.lo</div><div> CXX Annot.lo</div><div> CXX Array.lo</div><div> CXX BuiltinFont.lo</div><div> CXX BuiltinFontTables.lo</div><div> CXX CachedFile.lo</div><div> CXX Catalog.lo</div><div> CXX CharCodeToUnicode.lo</div><div> CXX CMap.lo</div><div> CXX DateInfo.lo</div><div> CXX Decrypt.lo</div><div> CXX Dict.lo</div><div> CXX Error.lo</div><div> CXX FileSpec.lo</div><div> CXX FontEncodingTables.lo</div><div> CXX Form.lo</div><div> CXX FontInfo.lo</div><div> CXX Function.lo</div><div> CXX Gfx.lo</div><div> CXX GfxFont.lo</div><div> CXX GfxState.lo</div><div> CXX GlobalParams.lo</div><div> CXX Hints.lo</div><div> CXX JArithmeticDecoder.lo</div><div> CXX JBIG2Stream.lo</div><div> CXX Lexer.lo</div><div> CXX Link.lo</div><div> CXX LocalPDFDocBuilder.lo</div><div> CXX NameToCharCode.lo</div><div> CXX Object.lo</div><div> CXX OptionalContent.lo</div><div> CXX Outline.lo</div><div> CXX OutputDev.lo</div><div> CXX Page.lo</div><div> CXX Parser.lo</div><div> CXX PDFDoc.lo</div><div> CXX PDFDocFactory.lo</div><div> CXX ProfileData.lo</div><div> CXX PreScanOutputDev.lo</div><div> CXX PSTokenizer.lo</div><div> CXX StdinCachedFile.lo</div><div> CXX StdinPDFDocBuilder.lo</div><div> CXX Stream.lo</div><div>
CXX UnicodeMap.lo</div><div> CXX ViewerPreferences.lo</div><div> CXX XRef.lo</div><div> CXX PSOutputDev.lo</div><div> CXX TextOutputDev.lo</div><div> CXX PageLabelInfo.lo</div><div> CXX SecurityHandler.lo</div><div> CXX XpdfPluginAPI.lo</div><div> CXXLD <a href="http://libpoppler.la">libpoppler.la</a></div><div>/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when making a shared object; recompile with -fPIC</div><div>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: Bad value</div><div>collect2: ld returned 1 exit status</div><div>make[3]: *** [<a href="http://libpoppler.la">libpoppler.la</a>] Error 1</div><div>make[3]: Leaving directory `/root/poppler/poppler'</div><div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory `/root/poppler/poppler'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/root/poppler'</div><div>make: *** [all] Error 2</div><div><br></div><br><div class="gmail_quote">2011/12/2 suzuki toshiya <span dir="ltr"><<a href="mailto:mpsuzuki@hiroshima-u.ac.jp">mpsuzuki@hiroshima-u.ac.jp</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It might be difficult for most subscribers to understand what you did and<br>
what you get, so it might be difficult for them to help...<br><br>
Regards,<br>
mpsuzuki<br><div><div class="h5"><br>
M Naveed Akram wrote:<br>
> Hi,<br>
><br>
> I am receiving following error while make:<br>
><br>
><br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation<br>
> R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when<br>
> making a shared object; recompile with -fPIC<br>
> /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols:<br>
> Bad value<br>
> collect2: ld returned 1 exit status<br>
><br>
><br>
> Can someone help me to resolve this issue<br>
><br>
><br>
><br></div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> poppler mailing list<br>
> <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial,helvetica,sans-serif">Regards</font></div><font face="arial,helvetica,sans-serif"><a href="http://naveedakram.info/" target="_blank">M Naveed Akram</a></font><div><font face="arial,helvetica,sans-serif">Web Application Programmer</font></div><br></div></span></body></html>