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?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Maarten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
Thanks
John,
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.
Maarten