On Wed, 07 Apr 2004 12:21:12 -0700 Andy Ross <[EMAIL PROTECTED]> wrote:
Jon S. Berndt wrote:I'm trying to build an application in gnu fortran (g77) but I end up with these link errors:
undefined reference to `__umoddi3' undefined reference to `__udivdi3'
Those look like the software math emulation stuff implemented in libgcc. You could try adding -lgcc to your link line, but I'd be suspicious that something else is wrong. On x86, the only functions from that library that should be required are the 64 bit long integer ones...
Thanks for the clues, guys. I hadn't seen libgcc.a until I dug down deep into the directory structure. Linking with that got rid of the unresolved references.
One last one:
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000
I suspect there may be an option I can pass to get rid of this one. I do get an executable, but it doesn't do anything as far as I can tell.
Jon
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel