#74 Can't compile 3.1.6 w/ gcc2.8.1,solar is

cannot reproduce
closed
htfuzzy (8)
5
2001-10-16
2001-10-16
Anonymous
No

c++ -o htfuzzy -L../htlib -L../htcommon -L../db/dist
-L/usr/lib Endings.o EndingsDB.o Exact.o Fuzzy.o
Metaphone.o Soundex.o SuffixEntry.o Synonym.o
htfuzzy.o Substring.o Prefix.o Accents.o
../htcommon/libcommon.a ../htlib/libht.a
../db/dist/libdb.a -lz -lnsl -lsocket
ld: fatal: symbol `set_terminate__FPFv_v' is
multiply-defined:
(file /opt/gnu/lib/libstdc++.a(exceptioni.o)
and file
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.8.1/libgcc.a(exception.o));
ld: fatal: symbol `__default_unexpected__Fv' is
multiply-defined:
(file /opt/gnu/lib/libstdc++.a(exceptioni.o)
and file
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.8.1/libgcc.a(exception.o));
ld: fatal: symbol `terminate__Fv' is multiply-defined:
(file /opt/gnu/lib/libstdc++.a(exceptioni.o)
and file
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.8.1/libgcc.a(exception.o));
ld: fatal: symbol `set_unexpected__FPFv_v' is
multiply-defined:
(file /opt/gnu/lib/libstdc++.a(exceptioni.o)
and file
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.8.1/libgcc.a(exception.o));
ld: fatal: symbol `unexpected__Fv' is multiply-defined:
(file /opt/gnu/lib/libstdc++.a(exceptioni.o)
and file
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.8.1/libgcc.a(exception.o));
ld: fatal: File processing errors. No output written to
htfuzzy
*** Error code 1
make: Fatal error: Command failed for target `htfuzzy'

Discussion

  • Gilles Detillieux

    • milestone: 103281 --> cannot reproduce
    • assigned_to: nobody --> grdetil
    • status: open --> closed
     
  • Gilles Detillieux

    Logged In: YES
    user_id=149687

    Obviously there's a conflict or incompatibility between
    these two libraries on your system:

    /opt/gnu/lib/libstdc++.a(exceptioni.o)
    and
    /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.8.1/libgcc.a

    Given that neither of them is explicitly referenced right
    in the c++ command line above, I think it's safe to assume
    the problem is not with ht://Dig, but with your compiler
    setup. I'd venture to say your libstdc++.a is incompatible
    with version 2.8.1 of gcc.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks