Multiply defined?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gavin Chen
    New Member
    • Aug 2008
    • 4

    Multiply defined?

    Hello:
    I tried to install Tk800.015 on SunOS 4.1.4 with perl 5.6.2. At "make test" time, I got the error message as below:
    collect2: ld returned 2 exit status
    ld: /usr/local/lib/perl5/site_perl/5.6.2/sun4-sunos/auto/Tk/Event/Event.a(Event.o ): _LangExit: multiply defined
    ld: /usr/local/lib/perl5/site_perl/5.6.2/sun4-sunos/auto/Tk/Event/Event.a(Event.o ): _Tcl_Free: multiply defined
    ld: /usr/local/lib/perl5/site_perl/5.6.2/sun4-sunos/auto/Tk/Event/Event.a(Event.o ): _LangDebug: multiply defined
    ld: /usr/local/lib/perl5/site_perl/5.6.2/sun4-sunos/auto/Tk/Event/Event.a(Event.o ): _Lang_OSHandle: multiply defined
    ld: /usr/local/lib/perl5/site_perl/5.6.2/sun4-sunos/auto/Tk/Event/Event.a(Event.o ): _Tcl_Alloc: multiply defined
    ld: /usr/local/lib/perl5/site_perl/5.6.2/sun4-sunos/auto/Tk/Event/Event.a(Event.o ): _Tcl_Panic: multiply defined
    make: *** [perl] Error 1
    *** Error code 2
    make: Fatal error: Command failed for target `perl'

    What does "multiply defined" mean? How can I fix it?

    Thanks,
    Gavin Chen
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    The problem isn't the "Multiply defined" that you pointed out, in fact its this:

    Code:
    make: Fatal error: Command failed for target `perl'
    You have to look for the error message(s) and this is the only message around the ***ERROR message. Just looking at this I have to ask, do you have Perl installed? If so, you may want to ensure that its location is in your $PATH variable.

    Regards,

    Jeff

    Comment

    Working...