Andy Ross <[EMAIL PROTECTED]> said:

> David Megginson wrote:
>  > Alex Perry writes:
>  > > Do we care about this error ?
>  > > /usr/bin/ld: Warning: size of symbol `current_model' changed from
4 to 8 in ../../src/Model/libModel.a(acmodel.o)
>  >
>  > Yes, I'm getting this as well and I don't understand it.
> 
> It's a symbol collision.  There's another "current_model" defined in
> LaRCsim/ls_model.c.  Renaming one of them fixes the issue.
> 
> Why the linker doesn't detect this as a vanilla multiple-definitions
> collision, instead of that weird size mismatch, though, is beyond me.
> 
> Andy

It's even weirder than that.  Try taking out the "export" and see what it
gives you for an error.  The "duplicate" I got reported was on a source line
that doesn't exist, supposedly from a simgear header file!  Something is
throwing the  linker out of whack.

Best,

JIm

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to