C Compile error
Fixed all the errors, but am getting this instead!
Im sure this has been posed a million times but I couldn't find it in the search. Code:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start': |
Do you get that with all programs you try to compile or just one...?
|
You don't have a "main".
Example: int main(int argc, char **argv) { printf("Program start\n"); printf("Program end\n"); } (1): You don't have a main function (2): You are not linking the object file that contains main |
Once again thanks for helpin the :newbie: out
|
All times are GMT -5. The time now is 01:41 AM. |