Hi,
After I installed gcc on my machine and issued a command to compile a program, I did
gcc -c 'prog'.c
The object file was created, then I did
gcc -o 'prog' 'prog'.o
Then I got this error message I have been reading man pages and searching the internet but have not been able to find an answer,
"ld: fatal: Symbol referencing errors. No output written to 'prog'
collect2: ld returned 1 exit status "
Am I missing anything in my installation ? please help
thanks,
Rachael