This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Linking error
- From: lrtaylor at micron dot com
- To: <smandala at siu dot edu>, <gcc-help at gcc dot gnu dot org>
- Date: Fri, 10 Oct 2003 13:37:59 -0600
- Subject: RE: Linking error
It sounds like you don't have a "main" routine defined in your source
file. And, I don't even see a source file or any object files on your
command line, which would also get you the same error.
Cheers,
Lyle
-----Original Message-----
From: smandala@siu.edu [mailto:smandala@siu.edu]
Sent: Friday, October 10, 2003 1:20 PM
To: gcc-help@gcc.gnu.org
Subject: Linking error
hi there!
i am getting a error in gcc while installing a appilication "IMPACT".
Can any one have insight of this please reply me.
Here is the error
Linking spiff.
gcc -o spiff -L/root/srinu/trimaran/impact/lib/x86lin_c
-L/root/srinu/trimaran/impact/lib/x86lin_c -D_X86LIN_SOURCE
-DIMPACT_EXTERNAL
-O -lm
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In
function `_start':
../sysdeps/i386/elf/start.S:77: undefined reference to `main'
collect2: ld returned 1 exit status
*** LINK OF spiff FAILED!!! ***
make[5]: *** [/root/srinu/trimaran/impact/bin/x86lin_c/spiff] Error 1
Waiting for u r reply,
Thanks,
Bye
Srinivas.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.