Problems linking cxxfilt in binutils cvs trunk 20020914

Christian Jönsson christian@j-son.org
Sun Sep 15 12:25:00 GMT 2002


On Sun, Sep 15, 2002 at 12:13:52PM -0400, Daniel Jacobowitz wrote:
> 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.

darn, you're right, missed that...

Cheers,

/ChJ



More information about the Binutils mailing list