LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Its very urgent (https://www.linuxquestions.org/questions/programming-9/its-very-urgent-541509/)

raghavendra.S 03-29-2007 12:40 AM

Its very urgent
 
Error message is giving while compiling a C program in Linux

$ cc void.c
usage: ld [-03NMdimrstz[-]] [-llib_extension]
[-o outfile] [-Ccrtfile][-Llibdir] [-Olibfile] [-T textaddr] [-D dataaddr] [-H heapsize] infile...
collect2: ld returned 2 exit status

gilead 03-29-2007 01:21 AM

You should post this in in the Programming forum - I recommend that you email a moderator and get it moved. Also, please don't mark your threads as urgent, it's only urgent to you - not the people who are reading your post.

IBall 03-29-2007 01:53 AM

Also, give us more information. What you have given us to work with is almost useless to answer your question.

What distro are you using?
What is the version of gcc?
What is the version of ld?

--Ian

XavierP 03-29-2007 04:35 AM

Moved to Programming


All times are GMT -5. The time now is 12:36 AM.