ld: common symbols not allowed with MH_DYLIB output format. Googling taught me that I need to either initialize the global variable(s) or add "-fno-common" switch to the compiler flags. That solved the issue and I am happy "trying" to link it. Oh Yeah. Am facing another issue. Will update as soon as I find the solution. Cheerio.
Monday, April 30, 2007
Common symbol error in Mac
Multiple C files. Few global variables. A single dynamic library. Thats what I was trying to do in Mac. But, the compiler went jittery and complained
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment