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.
--josh From: M Naveed Akram <[email protected]<mailto:[email protected]>> Date: Fri, 2 Dec 2011 06:00:37 -0800 To: suzuki toshiya <[email protected]<mailto:[email protected]>> Cc: poppler <[email protected]<mailto:[email protected]>> Subject: Re: [poppler] Poppler Compilation Issue I am trying to install poppler from source. I ran './configure' and then 'make' and getting the output here is a little more output make[3]: Entering directory `/root/poppler/poppler' CXX SplashOutputDev.lo CXX Annot.lo CXX Array.lo CXX BuiltinFont.lo CXX BuiltinFontTables.lo CXX CachedFile.lo CXX Catalog.lo CXX CharCodeToUnicode.lo CXX CMap.lo CXX DateInfo.lo CXX Decrypt.lo CXX Dict.lo CXX Error.lo CXX FileSpec.lo CXX FontEncodingTables.lo CXX Form.lo CXX FontInfo.lo CXX Function.lo CXX Gfx.lo CXX GfxFont.lo CXX GfxState.lo CXX GlobalParams.lo CXX Hints.lo CXX JArithmeticDecoder.lo CXX JBIG2Stream.lo CXX Lexer.lo CXX Link.lo CXX LocalPDFDocBuilder.lo CXX NameToCharCode.lo CXX Object.lo CXX OptionalContent.lo CXX Outline.lo CXX OutputDev.lo CXX Page.lo CXX Parser.lo CXX PDFDoc.lo CXX PDFDocFactory.lo CXX ProfileData.lo CXX PreScanOutputDev.lo CXX PSTokenizer.lo CXX StdinCachedFile.lo CXX StdinPDFDocBuilder.lo CXX Stream.lo CXX UnicodeMap.lo CXX ViewerPreferences.lo CXX XRef.lo CXX PSOutputDev.lo CXX TextOutputDev.lo CXX PageLabelInfo.lo CXX SecurityHandler.lo CXX XpdfPluginAPI.lo CXXLD libpoppler.la<http://libpoppler.la> /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 /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [libpoppler.la<http://libpoppler.la>] Error 1 make[3]: Leaving directory `/root/poppler/poppler' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/poppler/poppler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/poppler' make: *** [all] Error 2 2011/12/2 suzuki toshiya <[email protected]<mailto:[email protected]>> It might be difficult for most subscribers to understand what you did and what you get, so it might be difficult for them to help... Regards, mpsuzuki M Naveed Akram wrote: > Hi, > > I am receiving following error while make: > > > /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 > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: > Bad value > collect2: ld returned 1 exit status > > > Can someone help me to resolve this issue > > > > ------------------------------------------------------------------------ > > _______________________________________________ > poppler mailing list > [email protected]<mailto:[email protected]> > http://lists.freedesktop.org/mailman/listinfo/poppler -- Regards M Naveed Akram<http://naveedakram.info/> Web Application Programmer
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
