From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31527 invoked by alias); 17 Jun 2010 02:18:10 -0000 Received: (qmail 31514 invoked by uid 22791); 17 Jun 2010 02:18:09 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BT,TW_DB,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-px0-f169.google.com (HELO mail-px0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Jun 2010 02:18:03 +0000 Received: by pxi14 with SMTP id 14so1635479pxi.0 for ; Wed, 16 Jun 2010 19:18:02 -0700 (PDT) Received: by 10.142.74.6 with SMTP id w6mr6940708wfa.249.1276741082086; Wed, 16 Jun 2010 19:18:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.33.14 with HTTP; Wed, 16 Jun 2010 19:17:42 -0700 (PDT) In-Reply-To: References: From: Hui Zhu Date: Thu, 17 Jun 2010 02:18:00 -0000 Message-ID: Subject: Re: Build gdbtk-cmds.c get error To: insight@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00028.txt.bz2 Ping. On Mon, Jun 14, 2010 at 17:55, Hui Zhu wrote: > gcc -g -O2 =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/../opcodes/.. -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-DGDBTK -I/usr/include -I/usr/include =A0-Wall > -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral > -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function > -Wno-switch -Wno-char-subscripts -Werror -c -o gdbtk-cmds.o -MT > gdbtk-cmds.o -MMD -MP -MF .deps/gdbtk-cmds.Tpo > -I../../src/gdb/../libgui/src > -I/home/teawater/gdb/cvs/src/tcl/generic > -I/home/teawater/gdb/cvs/src/tk/generic > -DGDBTK_LIBRARY=3D\"/usr/local/share/insight1.0\" > -DSRC_DIR=3D\"/home/teawater/gdb/cvs/src/gdb\" > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c > cc1: warnings being treated as errors > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function 'gdb_eval': > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:643: error: passing argument > 7 of 'val_print' from incompatible pointer type > ../../src/gdb/value.h:671: note: expected 'const struct value *' but > argument is of type 'struct value_print_options *' > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:643: error: passing argument > 8 of 'val_print' from incompatible pointer type > ../../src/gdb/value.h:671: note: expected 'const struct > value_print_options *' but argument is of type 'const struct > language_defn *' > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:643: error: too few arguments > to function 'val_print' > make[2]: *** [gdbtk-cmds.o] Error 1 > make[2]: Leaving directory `/home/teawater/gdb/cvs/bgdball/gdb' > make[1]: *** [all-gdb] Error 2 > make[1]: Leaving directory `/home/teawater/gdb/cvs/bgdball' > make: *** [all] Error 2 >