From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19017 invoked by alias); 16 Mar 2007 06:32:20 -0000 Received: (qmail 19007 invoked by uid 22791); 16 Mar 2007 06:32:18 -0000 X-Spam-Check-By: sourceware.org Received: from web8509.mail.in.yahoo.com (HELO web8509.mail.in.yahoo.com) (202.43.219.171) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 16 Mar 2007 06:32:13 +0000 Received: (qmail 47469 invoked by uid 60001); 16 Mar 2007 06:32:07 -0000 X-YMail-OSG: lnEsmm8VM1mXb.Z9tF2Sq32Xgd6l8Ucuu_qN8N2POz8hmzuFoHvN7b5C5H36gCxWv20OhDV4yeu1TttcSwhqe7m4aOXIZG99RWxHccLQmQa3HYLQN1O16jlGsbhVxOONTD_FiilngaTTBta6CpJw57C71g-- Received: from [203.200.36.253] by web8509.mail.in.yahoo.com via HTTP; Fri, 16 Mar 2007 06:32:07 GMT Date: Fri, 16 Mar 2007 06:32:00 -0000 From: sameer sinha Subject: gdb build fail To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <300287.45862.qm@web8509.mail.in.yahoo.com> 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: 2007-03/txt/msg00209.txt.bz2 hello, i am trying to build gdb-6.6 and gdb-6.4 for host=i686-pc-linux-gnu for every version i tried i got the error as shown below:- ./tui/tui-data.h:40: error: syntax error before ‘WINDOW’ ./tui/tui-data.h:40: warning: no semicolon at end of struct or union ./tui/tui-data.h:52: error: syntax error before ‘}’ token ./tui/tui-data.h:228: error: field ‘data_window’ has incomplete type ./tui/tui-data.h:282: error: field ‘generic’ has incomplete type In file included from .././gdb/tui/tui-command.c:29: ./tui/tui-win.h:42: error: syntax error before ‘tui_border_ulcorner’ ./tui/tui-win.h:42: warning: type defaults to ‘int’ in declaration of ‘tui_border_ulcorner’ ./tui/tui-win.h:42: warning: data definition has no type or storage class ./tui/tui-win.h:43: error: syntax error before ‘tui_border_urcorner’ ./tui/tui-win.h:43: warning: type defaults to ‘int’ in declaration of ‘tui_border_urcorner’ ./tui/tui-win.h:43: warning: data definition has no type or storage class ./tui/tui-win.h:44: error: syntax error before ‘tui_border_lrcorner’ ./tui/tui-win.h:44: warning: type defaults to ‘int’ in declaration of ‘tui_border_lrcorner’ ./tui/tui-win.h:44: warning: data definition has no type or storage class ./tui/tui-win.h:45: error: syntax error before ‘tui_border_llcorner’ ./tui/tui-win.h:45: warning: type defaults to ‘int’ in declaration of ‘tui_border_llcorner’ ./tui/tui-win.h:45: warning: data definition has no type or storage class ./tui/tui-win.h:46: error: syntax error before ‘tui_border_vline’ ./tui/tui-win.h:46: warning: type defaults to ‘int’ in declaration of ‘tui_border_vline’ ./tui/tui-win.h:46: warning: data definition has no type or storage class ./tui/tui-win.h:47: error: syntax error before ‘tui_border_hline’ ./tui/tui-win.h:47: warning: type defaults to ‘int’ in declaration of ‘tui_border_hline’ ./tui/tui-win.h:47: warning: data definition has no type or storage class .././gdb/tui/tui-command.c: In function ‘tui_dispatch_ctrl_char’: .././gdb/tui/tui-command.c:80: error: ‘WINDOW’ undeclared (first use in this function) .././gdb/tui/tui-command.c:80: error: (Each undeclared identifier is reported only once .././gdb/tui/tui-command.c:80: error: for each function it appears in.) .././gdb/tui/tui-command.c:80: error: ‘w’ undeclared (first use in this function) .././gdb/tui/tui-command.c:85: warning: implicit declaration of function ‘wgetch’ .././gdb/tui/tui-command.c:86: error: ‘ERR’ undeclared (first use in this function) .././gdb/tui/tui-command.c:93: error: ‘KEY_PPAGE’ undeclared (first use in this function) .././gdb/tui/tui-command.c:95: error: ‘KEY_NPAGE’ undeclared (first use in this function) .././gdb/tui/tui-command.c:113: error: ‘KEY_DOWN’ undeclared (first use in this function) .././gdb/tui/tui-command.c:114: error: ‘KEY_SF’ undeclared (first use in this function) .././gdb/tui/tui-command.c:117: error: ‘KEY_UP’ undeclared (first use in this function) .././gdb/tui/tui-command.c:118: error: ‘KEY_SR’ undeclared (first use in this function) .././gdb/tui/tui-command.c:121: error: ‘KEY_RIGHT’ undeclared (first use in this function) .././gdb/tui/tui-command.c:124: error: ‘KEY_LEFT’ undeclared (first use in this function) make[2]: *** [tui-command.o] Error 1 make[2]: Leaving directory `/home/sameer/GDB_SOURCE/GDB-6.6/source/gdb-6.6/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/sameer/GDB_SOURCE/GDB-6.6/source/gdb-6.6' make: *** [all] Error 2 can any one tell me about the error???????? Thanks & Regards sameer kumar sinha Project Engineer Ph: (080) 25341909 C-DAC Knowledge Park Ext No. 330 #1, Old Madras Road email:- sameers@cdacb.ernet.in Bangalore - 560 038, INDIA sameer0201@gmail.com __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/