PDA

View Full Version : Xcode error gcc-4.2 failed w/ exit code 1...HOW DO I FIX??




hssky97
Jun 1, 2011, 11:53 AM
I was building an app and I received this unusual error.

Command/Volumes/Developer/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

Soooo....how do I fix?????



Hansr
Jun 1, 2011, 12:02 PM
Needs more info. What code was it? Where did it break? This is basically just a generic compiler error message. Very likely it's a missing library or framework but there are many more options.

hssky97
Jun 1, 2011, 12:47 PM
Needs more info. What code was it? Where did it break? This is basically just a generic compiler error message. Very likely it's a missing library or framework but there are many more options.

Ok, here are the details to both gcc...exit code 1 transcript error details. They are in a pdf format.

error1;
http://hssky97.files.wordpress.com/2011/06/error11.pdf

error2;
http://hssky97.files.wordpress.com/2011/06/error2.pdf

Hansr
Jun 1, 2011, 01:29 PM
Relevant bit:

i686-apple-darwin10-gcc-4.2.1: /Volumes/Developer/SOCKS/ SOCKS_Prefix.pch: No such file or directory

As I mentioned header/lib ref missing.