Help save net neutrality! Learn more.

ASLink Duplicate Module Errors

  • John

    John - 2008-05-13

    Recently I upgraded SDCC from 2.5 to 2.7 via "./configure", "make uninstall", and then a "make all install" in the cygwin environment on Windows XP (2.8 causes SIGSEGV). Pretty much everything has come off alright except some link errors that I am now getting when making my projects.

    Here is some output from my build:

    ?Aslink-Warning-Definition of public symbol '__modulong_PARM_2' found more than once:
       Library: '/c/cygwin/usr/local/bin/../share/sdcc/lib/small/liblong.lib', Module: '_modulong.rel'
       Library: '/usr/local/share/sdcc/lib/small/liblong.lib', Module: '_modulong.rel'

    First, I realize that this may not even be an issue with Aslink, but tbh I'm not sure yet. Has anybody else seen this problem before?


    • Maarten Brock

      Maarten Brock - 2008-05-14


      It means you have two libraries on your system in default places and the linker warns you that it might not use the one that you intended. Either (re)move one of them or use --nostdlib and -L to specify which one to use.



Log in to post a comment.