On May 15, 2009, at 11:31 AM, Øyvind Harboe wrote:
Still an issue on OS X. Same problem, duplicate JIM symbols but now thelocations have changed:Is this an OS X or gcc 4.4 problem? I'd like to have a confirmation that the patch works on Linux so I can commit it and we can concentrate on the OS X(or GCC 4.4?) problem. -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com
OS X's linker is complaining because the build is using -fno-common which specifically turns multiple global symbols of the same name into an error. In this case, it's not a gcc issue at all (I'm using 4.0.1 rather than 4.4 anyway). If you preprocess the source for those two files, you'll see that both declare all of the JIM functions as global function pointers. I'm not sure why the JIM code does this when JIM_EMBEDDED is turned on or why that is necessary at all.
-- Rick Altherr [email protected]"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
