[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#272013: marked as done (Package: gcc-2.95)



Your message dated Sat, 21 May 2005 13:26:21 +0200
with message-id <871x803jmq.fsf@debian.org>
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 ness_far@yahoo.com Thu Sep 16 13:20:56 2004
Return-path: <ness_far@yahoo.com>
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: <20040916202025.1092.qmail@web53008.mail.yahoo.com>
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 <ness_far@yahoo.com>
Subject: Package: gcc-2.95
To: submit@bugs.debian.org
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1739349750-1095366025=:99311"
Delivered-To: submit@bugs.debian.org
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 falk@debian.org Sat May 21 04:26:54 2005
Return-path: <falk@debian.org>
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 272013-done@bugs.debian.org; Sat, 21 May 2005 13:26:23 +0200
Received: from falk by juist with local (Exim 4.50)
	id 1DZS7b-0001Cx-A2
	for 272013-done@bugs.debian.org; Sat, 21 May 2005 13:26:23 +0200
To: 272013-done@bugs.debian.org
Subject: 
From: Falk Hueffner <falk@debian.org>
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: <871x803jmq.fsf@debian.org>
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: falk@debian.org
X-Sender: falk.hueffner@web.de
Delivered-To: 272013-done@bugs.debian.org
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



Reply to: