CC compiling Error

not_so_skilled

Registered
I have been trying to compile a c program with cc, and I have run into an error that means absolutely nothing to me. It gives me no syntax errors, but fails to compile and gives the following output (last line of input included) "root# cc metrop.c
/usr/bin/ld: /usr/lib/libSystem.dylib load command 6 unknown cmd field
root#"

Anyone know what my problem is?

Thanks.
 
Are you running 10.1.x but still using the older devtools from 10.0? If so, you need to grab devtools for 10.1, as the 10.0 tools are incompatible with 10.1
 
Back
Top