[Poppler-bugs] [Bug 6201] New: compilation of libpoppler.so fails: symbol is multiply-defined

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Thu Mar 9 11:52:33 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=6201          
     
           Summary: compilation of libpoppler.so fails: symbol is multiply-
                    defined
           Product: poppler
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: traut at gmx.de


After compiling most of its stuff if fails on 

g++ [...]  -Wl,libpoppler.so.1 -o .libs/libpoppler.so.1.0.0

There are around <3000 fatal error messages while merging the > 400 lib files:

Examples:

ld: fatal: symbol `__gnu_cxx::free_list::_M_get(unsigned int)' is multiply-defined:
        (file .libs/libpoppler.lax/libgoo.a/bitmap_allocator.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/bitmap_allocator.o type=FUNC);

ld: fatal: symbol `std::codecvt<char, char, __mbstate_t>::~codecvt()' is
multiply-defined:
        (file .libs/libpoppler.lax/libgoo.a/codecvt.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/codecvt.o type=FUNC);

ld: fatal: symbol
`__gnu_debug::_Error_formatter::_Parameter::_M_print_description(__gnu_debug::_Error_formatter
const*) const' is multiply-defined:
        (file .libs/libpoppler.lax/libgoo.a/debug.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/debug.o type=FUNC);

ld: fatal: symbol `(anonymous namespace)::static_mutex::init()' is
multiply-defined:    (file .libs/libpoppler.lax/libgoo.a/guard.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/guard.o type=FUNC);

ld: fatal: symbol `__cxa_allocate_exception' is multiply-defined:       (file
.libs/libpoppler.lax/libgoo.a/eh_alloc.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/eh_alloc.o type=FUNC);

ld: fatal: symbol `acosf' is multiply-defined:  (file
.libs/libpoppler.lax/libgoo.a/stubs.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/stubs.o type=FUNC);

ld: fatal: symbol `operator delete(void*)' is multiply-defined: (file
.libs/libpoppler.lax/libgoo.a/del_op.o type=FUNC; file
.libs/libpoppler.lax/libfofi.a/del_op.o type=FUNC);



How do I ensure single definitions? Which further input do you need?

#define ENABLE_LIBJPEG 1
#define HAVE_DIRENT_H 1
#define HAVE_DLFCN_H 1
#define HAVE_FREETYPE_H 1
#define HAVE_FSEEKO 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MKSTEMP 1
#define HAVE_POPEN 1
#define HAVE_SPLASH 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define MULTITHREADED 1
#define OPI_SUPPORT 1
#define PACKAGE "poppler"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "poppler"
#define PACKAGE_STRING "poppler 0.5.1"
#define PACKAGE_TARNAME "poppler"
#define PACKAGE_VERSION "0.5.1"
#define STDC_HEADERS 1
#define SYSTEM_XPDFRC "/usr/local/etc/xpdfrc"
#define TEXTOUT_WORD_LIST 1
#define VERSION "0.5.1"
#define _FILE_OFFSET_BITS 64
#endif
#ifdef __cplusplus
extern "C" void std::exit (int); using std::exit;

gcc (GCC) 4.0.2          
     
     
--           
Configure bugmail: https://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