Bug#137398: gcc: gcc does not compile some code
reassign 137398 colorgcc
thanks
This is not a GCC bug; GCC would not try to link on that command line.
ColorGCC must be invoking it incorrectly.
On Fri, Mar 08, 2002 at 08:12:01PM +0100, Bostjan Muller wrote:
> Package: gcc
> Version: 2:2.95.4-12
> Severity: normal
>
> When compiling gnokii (the same code compiled just nice a week ago) this
> happens:
> make[2]: Entering directory `/home/neonatus/cvs/gnokii/common/phones'
> colorgcc -O2 -Wall -I../../include -I -c -o generic.o generic.c
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[2]: *** [generic.o] Error 1
> make[2]: Leaving directory `/home/neonatus/cvs/gnokii/common/phones'
> make[1]: *** [common/phones] Error 2
> make[1]: Leaving directory `/home/neonatus/cvs/gnokii'
> make: *** [build-stamp] Error 2
>
> I hope this was sent to the right address.
> This was in Debian sid.
>
> -- System Information
> Debian Release: 3.0
> Kernel Version: Linux neonatus 2.4.16-neonatus #1 Fri Nov 30 15:38:15 CET 2001 i686 unknown
>
> Versions of the packages gcc depends on:
> ii cpp-2.95 2.95.4-3 The GNU C preprocessor.
> ii cpp 2.95.4-12 The GNU C preprocessor.
> ii gcc-2.95 2.95.4-3 The GNU C compiler.
>
>
> --
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
Reply to: