I'm sorry but the commandline I used is not exactly what I did (I included a sourcefile), but anyway it is working now :-) Thanks for quick response.
Debian Bug Tracking System wrote: >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 <[EMAIL PROTECTED]>. > >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 [EMAIL PROTECTED] Wed Sep 18 18:26:16 2002 >Return-path: <[EMAIL PROTECTED]> >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 <[EMAIL PROTECTED]> >To: Marius Kotsbak <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: Bug#161416: /usr/lib/crt1.o(.text+0x18): undefined reference to `main' >Message-ID: <[EMAIL PROTECTED]> >Reply-To: Randolph Chung <[EMAIL PROTECTED]> >References: <[EMAIL PROTECTED]> >Mime-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >In-Reply-To: <[EMAIL PROTECTED]> >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: [EMAIL PROTECTED] > > > >>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 > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

