Build throwing error "Command ... llvm-gcc-4.2 failed with exit code 1"
Here's the log from the build. This is a brand new project in Xcode 4, so the only non-regular things in it are as follows:
- A .c file
- A .a library
- A bunch of header files
I've been playing with the build settings and searching for answers for a couple of hours now to see if it would go away, but it didn't. Any he开发者_JS百科lp you have would be appreciated.!
The output (click for a larger image):
You have a duplicate symbol error - your program can't have two functions called main()
. Remove one of them, and you should be able to move forward.
精彩评论