Your message dated Sat, 21 May 2005 13:26:21 +0200
with message-id <[EMAIL PROTECTED]>
and subject line 
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Sep 2004 20:20:56 +0000
>From [EMAIL PROTECTED] Thu Sep 16 13:20:56 2004
Return-path: <[EMAIL PROTECTED]>
Received: from web53008.mail.yahoo.com [206.190.39.198] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1C82kS-0008D7-00; Thu, 16 Sep 2004 13:20:56 -0700
Message-ID: <[EMAIL PROTECTED]>
Received: from [67.169.10.196] by web53008.mail.yahoo.com via HTTP; Thu, 16 Sep 
2004 13:20:25 PDT
Date: Thu, 16 Sep 2004 13:20:25 -0700 (PDT)
From: Ness Farahmand <[EMAIL PROTECTED]>
Subject: Package: gcc-2.95
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1739349750-1095366025=:99311"
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.9 required=4.0 tests=BAYES_01,HAS_PACKAGE,
        HTML_20_30,HTML_MESSAGE autolearn=no 
        version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

--0-1739349750-1095366025=:99311
Content-Type: text/plain; charset=us-ascii

Package: gcc-2.95

Hello, I am using Debian version "Woody 3.0r2", and my gcc is a link to 
gcc.2.95. I have a main and several subprograms in C, which I want to compile 
with gcc:
       gcc subp1.c > subp1.o
       gcc subp2.c > subp2.o
       ...

and then I plan to compile and link the main program:
       gcc mainp.c > mainp.o
       make main.mak

where "main.mak" loads all subprogram object codes and needed libraries.

But at the very first stpe I get the error message:
       /usr/lib/crt1.o(.text+0x18): In function `_start':
       : undefined reference to `main'
       collect2: ld returned 1 exit status

Is there a way out of this predicament? Also, any special suggestions on the 
"make" steps?
 
Thanks.


                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
--0-1739349750-1095366025=:99311
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>Package: gcc-2.95</DIV><BR>
<DIV>Hello, I am using Debian version "Woody 3.0r2", and my&nbsp;gcc is a link 
to gcc.2.95. I have a main and several subprograms in C, which I want to 
compile with gcc:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gcc subp1.c &gt; 
subp1.o<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gcc subp2.c &gt; 
subp2.o<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<BR><BR>and then I&nbsp;plan 
to compile and link the main program:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
gcc mainp.c &gt; mainp.o<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make 
main.mak<BR><BR>where "main.mak" loads all subprogram object codes and needed 
libraries.<BR><BR>But at the very first stpe I get the error 
message:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;/usr/lib/crt1.o(.text+0x18): 
In function `_start':<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;: undefined 
reference to `main'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collect2: ld 
returned 1 exit status<BR><BR>Is there a way out of this predicament? Also, any 
special&nbsp;suggestions on the
 "make" steps?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV></DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a 
href="http://us.rd.yahoo.com/mail_us/taglines/10/*http://promotions.yahoo.com/new_mail/static/efficiency.html";>New
 and Improved Yahoo! Mail</a> - Send 10MB messages!
--0-1739349750-1095366025=:99311--

---------------------------------------
Received: (at 272013-done) by bugs.debian.org; 21 May 2005 11:26:54 +0000
>From [EMAIL PROTECTED] Sat May 21 04:26:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp08.web.de [217.72.192.226] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DZS86-0006R2-00; Sat, 21 May 2005 04:26:54 -0700
Received: from [82.82.220.210] (helo=juist)
        by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
        (WEB.DE 4.105 #291)
        id 1DZS7b-0004Jn-00
        for [EMAIL PROTECTED]; Sat, 21 May 2005 13:26:23 +0200
Received: from falk by juist with local (Exim 4.50)
        id 1DZS7b-0001Cx-A2
        for [EMAIL PROTECTED]; Sat, 21 May 2005 13:26:23 +0200
To: [EMAIL PROTECTED]
Subject: 
From: Falk Hueffner <[EMAIL PROTECTED]>
X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ
 wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^
Date: Sat, 21 May 2005 13:26:21 +0200
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cilantro, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.5 required=4.0 tests=BAYES_00,NOSUBJECT 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hi,

use gcc -c subp1.c instead of gcc subp1.c > subp1.o.

-- 
        Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to