This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problems linking cxxfilt in binutils cvs trunk 20020914
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Sun, 15 Sep 2002 12:13:52 -0400
- Subject: Re: Problems linking cxxfilt in binutils cvs trunk 20020914
- References: <20020915160950.GA9889@j-son.org>
On Sun, Sep 15, 2002 at 06:09:50PM +0200, Christian Jönsson wrote:
> I have a problem building binutils cvs trunk as of 20020914:
>
> /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o cxxfilt cplus-dem.o underscore.o ../libiberty/libiberty.a
> gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o cxxfilt cplus-dem.o underscore.o ../libiberty/libiberty.a
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x10): undefined reference to `main'
> /usr/lib/crt1.o(.text+0x1c): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[3]: *** [cxxfilt] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/share1/gcc-dev/objdir-binutils/binutils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/share1/gcc-dev/objdir-binutils/binutils'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/share1/gcc-dev/objdir-binutils/binutils'
> make: *** [all-binutils] Error 2
>
> This was on a Debian 3.0 (Woody) dual SuperSparc-II sun4m system with these
> packages:
Yes. There's discussion on a GCC list about this but it still hasn't
been fixed.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer