From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22547 invoked by alias); 25 Jul 2009 14:18:29 -0000 Received: (qmail 22530 invoked by uid 22791); 25 Jul 2009 14:18:28 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 25 Jul 2009 14:18:18 +0000 Received: by wf-out-1314.google.com with SMTP id 23so654703wfg.24 for ; Sat, 25 Jul 2009 07:18:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.154.14 with SMTP id b14mr715589wfe.150.1248531496077; Sat, 25 Jul 2009 07:18:16 -0700 (PDT) In-Reply-To: References: From: Hui Zhu Date: Sat, 25 Jul 2009 14:18:00 -0000 Message-ID: Subject: Re: Got some error with cvs-head To: dj@sourceware.org Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00201.txt.bz2 It's OK with me now. Thanks DJ. Hui On Sat, Jul 25, 2009 at 17:01, Hui Zhu wrote: > And others: > > gcc -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -I. > -I../../src/binutils -I../bfd -I../../src/binutils/../bfd > -I../../src/binutils/../include > -DLOCALEDIR=3D"\"/usr/local/share/locale\"" > -Dbin_dummy_emulation=3Dbin_vanilla_emulation =A0 -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c > ../../src/binutils/readelf.c > In file included from ../../src/binutils/readelf.c:146: > ../../src/binutils/../include/libiberty.h:316: error: conflicting > types for 'crc32' > /usr/include/zlib.h:1305: error: previous declaration of 'crc32' was here > make[4]: *** [readelf.o] Error 1 > make[4]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/teawater/gdb/orig/bgdb/binutils' > make[1]: *** [all-binutils] Error 2 > make[1]: Leaving directory `/home/teawater/gdb/orig/bgdb' > make: *** [all] Error 2 > > > On Sat, Jul 25, 2009 at 16:56, Hui Zhu wrote: >> gcc -g =A0 -I. -I../../src/gdb -I../../src/gdb/common >> -I../../src/gdb/config -DLOCALEDIR=3D"\"/usr/local/share/locale\"" >> -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode >> -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd >> -I../../src/gdb/../include -I../libdecnumber >> -I../../src/gdb/../libdecnumber =A0-I../../src/gdb/gnulib -Ignulib >> -DMI_OUT=3D1 -DTUI=3D1 =A0 -Wall -Wdeclaration-after-statement >> -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused >> -Wno-switch -Wno-char-subscripts -Werror -c -o remote.o -MT remote.o >> -MMD -MP -MF .deps/remote.Tpo ../../src/gdb/remote.c >> ../../src/gdb/remote.c:164: error: conflicting types for 'crc32' >> ../../src/gdb/../include/libiberty.h:316: error: previous declaration >> of 'crc32' was here >> make: *** [remote.o] Error 1 >> >> Looks like new crc32 make something wrong. >> >> Thanks, >> Hui >> >> On Sat, Jul 25, 2009 at 08:01, wrote: >>> CVSROOT: =A0 =A0 =A0 =A0/cvs/src >>> Module name: =A0 =A0src >>> Changes by: =A0 =A0 dj@sourceware.org =A0 =A0 =A0 2009-07-25 00:01:58 >>> >>> Modified files: >>> =A0 =A0 =A0 =A0libiberty =A0 =A0 =A0: ChangeLog Makefile.in functions.t= exi >>> Added files: >>> =A0 =A0 =A0 =A0libiberty =A0 =A0 =A0: crc32.c >>> >>> Log message: >>> =A0 =A0 =A0 =A0merge from gcc >>> >>> Patches: >>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/crc32.c.diff= ?cvsroot=3Dsrc&r1=3DNONE&r2=3D1.1 >>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.di= ff?cvsroot=3Dsrc&r1=3D1.497&r2=3D1.498 >>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/Makefile.in.= diff?cvsroot=3Dsrc&r1=3D1.96&r2=3D1.97 >>> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/functions.te= xi.diff?cvsroot=3Dsrc&r1=3D1.34&r2=3D1.35 >>> >>> >> >