From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29056 invoked by alias); 25 Mar 2012 12:07:11 -0000 Received: (qmail 29047 invoked by uid 22791); 25 Mar 2012 12:07:09 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Mar 2012 12:06:55 +0000 Received: by iajr24 with SMTP id r24so8395585iaj.0 for ; Sun, 25 Mar 2012 05:06:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.229.37 with SMTP id sn5mr6047018pbc.143.1332677215030; Sun, 25 Mar 2012 05:06:55 -0700 (PDT) Received: by 10.68.63.226 with HTTP; Sun, 25 Mar 2012 05:06:54 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Mar 2012 12:07:00 -0000 Message-ID: Subject: Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4 From: Zhihua Che To: Andreas Schwab Cc: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 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: 2012-03/txt/msg00067.txt.bz2 =E5=9C=A8 2012=E5=B9=B43=E6=9C=8824=E6=97=A5 =E4=B8=8A=E5=8D=881:44=EF=BC= =8CAndreas Schwab =E5=86=99=E9=81=93=EF=BC=9A > Zhihua Che writes: > >> WARNING: `makeinfo' is missing on your system. =C2=A0You should only nee= d it if >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 you modified a `.texi' or `.texinfo' file, o= r any other file >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 indirectly affecting the aspect of the manua= l. =C2=A0The spurious >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 call might also be the consequence of using = a buggy `make' (AIX, >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 DU, IRIX). =C2=A0You might want to install t= he `Texinfo' package or >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 the `GNU make' package. =C2=A0Grab either fr= om any GNU archive site. >> make[3]: *** [bfd.info] Error 1 >> >> Does anybody build and fail like this ever? > > If you are building from the repository then makeinfo is a required > dependency. =C2=A0Prebuilt info files are only present in release and > snapshot tarballs. > > Andreas. After installing texinfo and flex, I made a little progress, but another problem arise. I updated the code to version c338d4bceb084a629b479e1ac36ab2b42737e1c2 and compiling failed with a 'simple' error gcc -g -O2 -I. -I../../gdb/gdb -I../../gdb/gdb/common -I../../gdb/gdb/config -DLOCALEDIR=3D"\"/home/harvey/open-projects/local/gdb2/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/gdb/../include/opcode -I../../gdb/gdb/../opcodes/.. -I../../gdb/gdb/../readline/.. -I../bfd -I../../gdb/gdb/../bfd -I../../gdb/gdb/../include -I../libdecnumber -I../../gdb/gdb/../libdecnumber -I../../gdb/gdb/gnulib -Ignulib -DTUI=3D1 -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Werror -c -o c-exp.o -MT c-exp.o -MMD -MP -MF .deps/c-exp.Tpo c-exp.c c-exp.c:1:1: error: return type defaults to =E2=80=98int=E2=80=99 [-Werror= =3Dreturn-type] In build-directory I found a c-exp.c, in which there is only one line main() { return 0; } I guess this is a bug.