From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32282 invoked by alias); 14 Jun 2010 09:55:30 -0000 Received: (qmail 32270 invoked by uid 22791); 14 Jun 2010 09:55:28 -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-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jun 2010 09:55:23 +0000 Received: by pva18 with SMTP id 18so6093519pva.0 for ; Mon, 14 Jun 2010 02:55:22 -0700 (PDT) Received: by 10.142.152.9 with SMTP id z9mr3888717wfd.314.1276509322081; Mon, 14 Jun 2010 02:55:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.57.15 with HTTP; Mon, 14 Jun 2010 02:55:02 -0700 (PDT) From: Hui Zhu Date: Mon, 14 Jun 2010 09:55:00 -0000 Message-ID: Subject: Build gdbtk-cmds.c get error To: insight@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00027.txt.bz2 gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR="\"/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 -I../../src/gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -DGDBTK -I/usr/include -I/usr/include -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=\"/usr/local/share/insight1.0\" -DSRC_DIR=\"/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