This is an automatic notification regarding your Bug report
#161416: /usr/lib/crt1.o(.text+0x18): undefined reference to `main',
which was filed against the libc6-dev package.
It has been closed by one of the developers, namely
Randolph Chung <tausq@debian.org>.
Their explanation is attached below. If this explanation is
unsatisfactory and you have not received a better one in a separate
message then please contact the developer, by replying to this email.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Received: (at 161416-done) by bugs.debian.org; 18 Sep 2002 23:26:16 +0000
From randolph@tausq.org Wed Sep 18 18:26:16 2002
Return-path: <randolph@tausq.org>
Received: from gandalf.tausq.org (pippin.tausq.org) [64.81.244.94]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 17roD2-0007WM-00; Wed, 18 Sep 2002 18:26:16 -0500
Received: by pippin.tausq.org (Postfix, from userid 1000)
id EEE1ECD83C; Wed, 18 Sep 2002 16:27:33 -0700 (PDT)
Date: Wed, 18 Sep 2002 16:27:33 -0700
From: Randolph Chung <tausq@debian.org>
To: Marius Kotsbak <marius@kotsbak.com>, 161416-done@bugs.debian.org
Subject: Re: Bug#161416: /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
Message-ID: <20020918232733.GB4909@tausq.org>
Reply-To: Randolph Chung <tausq@debian.org>
References: <[🔎] 3D88F8C2.3000307@kotsbak.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 3D88F8C2.3000307@kotsbak.com>
User-Agent: Mutt/1.4i
X-PGP: for PGP key, see http://www.tausq.org/pgp.txt
X-GPG: for GPG key, see http://www.tausq.org/gpg.txt
Delivered-To: 161416-done@bugs.debian.org
When I try: gcc `sdl-config --libs`
I get this error:
=============
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
=============
I am using Debian unstable: Linux 2.4.19w4l #3 i686 unknown
any this is a bug because....?
you can't compile an executable linked with libc that only has
other libraries and no main() function...
randolph