From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7439 invoked by alias); 13 May 2005 20:10:34 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7407 invoked from network); 13 May 2005 20:10:27 -0000 Received: from unknown (HELO english-breakfast.cloud9.net) (168.100.1.9) by sourceware.org with SMTP; 13 May 2005 20:10:27 -0000 Received: from english-breakfast.cloud9.net (localhost.cloud9.net [127.0.0.1]) by english-breakfast.cloud9.net (Postfix) with SMTP id C9553BEF3 for ; Fri, 13 May 2005 16:10:26 -0400 (EDT) Received: from keyslapper.net (250-119.customer.cloud9.net [168.100.250.119]) by english-breakfast.cloud9.net (Postfix) with ESMTP id 59795BE64 for ; Fri, 13 May 2005 16:10:26 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by keyslapper.net (Postfix) with ESMTP id 16B8011505 for ; Fri, 13 May 2005 16:10:09 -0400 (EDT) Received: from keyslapper.net ([127.0.0.1]) by localhost (keyslapper.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42272-10 for ; Fri, 13 May 2005 16:10:01 -0400 (EDT) Received: by keyslapper.net (Postfix, from userid 1001) id 646ED114F9; Fri, 13 May 2005 16:10:01 -0400 (EDT) Date: Fri, 13 May 2005 20:10:00 -0000 From: Louis LeBlanc To: gdb@sources.redhat.com Subject: gdb 6.3 build fails on Solaris Message-ID: <20050513201001.GE42535@keyslapper.net> Reply-To: Louis LeBlanc Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.9i Content-Transfer-Encoding: quoted-printable X-AntiVirus: Checked by Vexira Antivirus v1.5 X-SW-Source: 2005-05/txt/msg00154.txt.bz2 Hey folks. I'm new on this particular list, but I have tried searching the archives (and Google) for any solution to my problem. I've tried building gdb 6.3 on several versions of Solaris, both Intel and Sparc architectures, and have yet to see it build completely. On Solaris 8 Sparc, the failure is as follows: . . . gcc -c -g -O2 -I. -I../../gdb -I../../gdb/config -DLOCALEDIR=3D"\"/usr/= local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../..= /gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I..= /intl -I../../gdb/../intl -DMI_OUT=3D1 -DTUI=3D1 -Wimplicit -Wreturn-type = -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialize= d -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/procfs.c In file included from ../../gdb/procfs.c:37: /usr/include/sys/procfs.h:153: error: parse error before "taskid_t" /usr/include/sys/procfs.h:157: error: parse error before '}' token /usr/include/sys/procfs.h:269: error: parse error before "taskid_t" /usr/include/sys/procfs.h:271: error: conflicting types for `pr_filler' /usr/include/sys/procfs.h:155: error: previous declaration of `pr_filler' /usr/include/sys/procfs.h:272: error: conflicting types for `pr_lwp' /usr/include/sys/procfs.h:156: error: previous declaration of `pr_lwp' /usr/include/sys/procfs.h:273: error: parse error before '}' token ../../gdb/procfs.c:329: error: parse error before "gdb_prstatus_t" ../../gdb/procfs.c:329: warning: type defaults to `int' in declaration of `= gdb_prstatus_t' ../../gdb/procfs.c:329: warning: data definition has no type or storage cla= ss It's slightly different on Solaris 10 Intel: . . . gcc -c -g -O2 -I. -I../../gdb -I../../gdb/config -DLOCALEDIR=3D"\"/usr/= local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../..= /gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I..= /intl -I../../gdb/../intl -DMI_OUT=3D1 -DTUI=3D1 -Wimplicit -Wreturn-type = -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialize= d -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/tui/tui.c In file included from ../../gdb/tui/tui.c:48: /usr/include/term.h:1060: error: parse error before "SGTTY" /usr/include/term.h:1120: error: parse error before '}' token Normally, I just try to find OS specific build information, but there are absolutely no details regarding Solaris that I can find on the gdb site. I have tried both the 6.3 release and various daily snapshots since the release, but have never gotten a successful build. Can anyone shed some light for me? Thanks in advance Lou --=20 Louis LeBlanc dev@keyslapper.net Fully Funded Hobbyist, KeySlapper Extrordinaire :=FE http://www.keyslapper.net =D4=BF=D4=AC Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Finagle's Second Law: Always keep a record of data -- it indicates you've been working.