[M3devel] need some help with linker error

Jay K jay.krell at cornell.edu
Tue Aug 27 08:43:53 CEST 2013


 > Is there a chance both are getting linked in?

No. There is no chance of this.
 
 
> Or one from the modula-3 distribution, and one already in some MS-supplied
> library?

 
No. There is no chance of this either.
 
 
I forget how we generate the .def file but we need to exclude names "like" this -- that start _xmm at .
These are floating point constants for code that uses sse2.
You are targeting 32bit, right?
Still, I guess these might occur, with newer compilers.
I'll look into it.
We already have to code exclude the older forms of floating point constants.
 
  - Jay

 
> Date: Mon, 26 Aug 2013 20:03:20 -0500
> From: rodney_bates at lcwb.coop
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] need some help with linker error
> 
> This is just a wild guess, but there are two dtoa.c files, in
> 
> m3-libs/m3core/src/Csupport/little-endian/dtoa.c and
> m3-libs/m3core/src/Csupport/big-endian/dtoa.c
> 
> No doubt they are alternatives.  Is there a chance both are getting linked in?
> Or one from the modula-3 distribution, and one already in some MS-supplied
> library?
> 
> On 08/26/2013 07:49 PM, Coleburn, Randy wrote:
> > Jay:
> >
> > I’m getting errors trying to rebuild m3core.lib on Win7-64bit.  Specifically, see below the error I get from the Microsoft Linker.
> >
> > The full text of the m3core.lst file is also shown at the end of this message.
> >
> > msvcrt.lib
> >
> > m3core.def : warning LNK4022: cannot find unique match for symbol '_xmm'
> >
> > m3core.def : warning LNK4002: __xmm at 41f00000000000000000000000000000 defined in dtoa.obj
> >
> > m3core.def : warning LNK4002: __xmm at 80000000000000008000000000000000 defined in dtoa.obj
> >
> > m3core.def : error LNK2001: unresolved external symbol _xmm
> >
> > m3core.lib : fatal error LNK1120: 1 unresolved externals
> >
> > Any ideas on what I should do to resolve this problem?
> >
> > Thanks,
> >
> > Randy Coleburn
> >
> >
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130827/f6741095/attachment-0002.html>


More information about the M3devel mailing list