This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/722: Encounter "__builtin_va_alist undeclared" during building GDB
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 26 Sep 2002 01:58:01 -0000
- Subject: Re: gdb/722: Encounter "__builtin_va_alist undeclared" during building GDB
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR gdb/722; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: shoang@northropgrumman.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/722: Encounter "__builtin_va_alist undeclared" during building GDB
Date: Wed, 25 Sep 2002 21:52:00 -0400
On Thu, Sep 26, 2002 at 01:45:54AM -0000, shoang@northropgrumman.com wrote:
>
> >Number: 722
> >Category: gdb
> >Synopsis: Encounter "__builtin_va_alist undeclared" during building GDB
> >Confidential: no
> >Severity: critical
> >Priority: high
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Wed Sep 25 18:48:02 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator: Sonny Hoang
> >Release: 5.2.1
> >Organization:
> >Environment:
> SUN 4u running Sun OS Release 5.7
> >Description:
> I download and extract files into directory gdb5.2.1 then I go into that directory running "./configure sun4" then I enter "make". After a while of compiling, it gave me several errors in concat.c file saying:
>
> function `concat_length':
> `__builtin_va_alist' undeclared (first use in this function)
> function `concat_copy':
> `__builtin_va_alist' undeclared (first use in this function)
>
> and etc.
>
> I don't know what to do. I need help please.
Sun4 is SunOS 4. Try using a solaris2 configuration triplet. Try
sparc-solaris2 maybe?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer