This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

File processing errors during compilation


Configuration:

Sun Solaris 5.8

gcc Version: 3.0.2

Command executed: "gcc a.c", where a.c is a skeleton C program

Error prompted:

ld: fatal: file values-Xa.o: cannot open file: No such file or
directory
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status

Command executed: "gcc -c a.c" runs successfully creating a.o

How can I link the object file to create an executable

Thanks a bunch.
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]