Subject: Re: GDB6 in current fails to compile
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: MKD <claudiomkd@gmail.com>
List: current-users
Date: 07/05/2006 19:23:15
Nathan J. Williams wrote:
> Vincent <10.50@free.fr> writes:
>
>   
>> In file included from /usr/src/gnu/dist/gdb6/bfd/aout32.c:23:
>> /usr/src/gnu/dist/gdb6/bfd/aoutx.h: In function 'aout_32_final_link':
>> /usr/src/gnu/dist/gdb6/bfd/aoutx.h:5255: error: too many arguments to
>> function 'bfd_hash_table_init_n'
>>     
>
> Do you have a src/gnu/usr.bin/gdb6/arch/i386/bfd.h? That file was
> accidentally left over from some previous work, and I removed it
> yesterday.
>
> But this also looks funny:
>   -I/usr/src/gnu/usr.bin/gdb6/bfd/../arch/i386
> since it should be:
>   -I/usr/src/gnu/usr.bin/gdb6/bfd/arch/i386
>
> I'm wondering what happened that added that "..". I see you have some
> tuning options in mk.conf; what else is in there?
>   
This is so similar to what it happened to me under -current, I wasn't 
able to build the src because some .h were missing for the libgroff, and 
this is of course a problem with the -I parameter.

Astonishingly, I've been searching in mail-index.netbsd.org and this 
problem is been hanging around since 1994 (at least that shows Google 
and mail-index.netbsd.org).

Anything to say?

-- 
Claudio M. Camacho
http://www.claudiocamacho.org