Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure



On Fri, Feb 18, 2011 at 05:51:50PM +0000, Patrick Welche wrote:
> On Sat, Feb 19, 2011 at 02:19:37AM +0900, Takahiro HAYASHI wrote:
> > hi,
> > 
> > On Fri, 18 Feb 2011 16:02:26 +0000
> > Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> > 
> > > On i386, I still seem to get
> > > 
> > > --- dependall-external ---
> > > /usr/src/sys/external/bsd/acpica/dist/compiler/../osunixxf.c:1160: 
> > > warning: cast
> > >  from pointer to integer of different size 
> > > 
> > > even after
> > > revision 1.2
> > > date: 2011/02/18 13:01:22;  author: jruoho;  state: Exp;  lines: +176 -209
> > > Cast pthread_self(3) to uintptr_t. ACPICA 20100915:
> > > 
> > > 
> > >         return (uintptr_t)(ACPI_CAST_PTHREAD_T (pthread_self()));
> > 
> > glancing at src, ACPI_CAST_PTHREAD_T is not defined in
> > sys/external/bsd/acpica/dist/include/platform/acnetbsd.h,
> > however, acenv.h reads aclinux.h rather than acnetbsd.h
> > since external/bsd/acpica/bin/iasl/Makefile defines -D_LINUX.
> 
> Well spotted - I just tried removing the _LINUX defines, but now got stuck
> at the gdb error, 
> 
> /usr/src/gnu/dist/gdb6/gdb/bsd-kvm.c: In function 'bsd_kvm_proc_cmd':
> /usr/src/gnu/dist/gdb6/gdb/bsd-kvm.c:290: error: invalid use of undefined 
> type 'struct lwp'
> 
> so no conclusion yet...

... and in the meantime

revision 1.5
date: 2011/02/18 17:31:14;  author: jruoho;  state: Exp;  lines: +2 -1
Provide ACPI_CAST_PTHREAD_T(x).

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index