Subject: Re: vax cross-build fails in kdump/kdump-ioctl.o
To: Rhialto <rhialto@falu.nl>
From: Greg Oster <oster@cs.usask.ca>
List: port-vax
Date: 10/09/2006 17:12:40
Rhialto writes:
> I just tried to build for my VAX but it failed. Then I cvs updated, and
> tried again, which again failed. Then I tried a crossbuild to i386,
> which got past this point. So the problem seems to be VAX-specific.
> 
> The end of the build looked like this:
> 
> dependall ===> usr.bin/kdump
>      create  kdump/kdump-ioctl.c
>      create  kdump/kdump-ioctl.d
>      create  kdump/.depend
>     compile  kdump/kdump.o
>     compile  kdump/subr.o
>     compile  kdump/setemul.o
>     compile  kdump/kdump-ioctl.o
> kdump-ioctl.c: In function 'ioctlname':
> kdump-ioctl.c:539: error: invalid application of 'sizeof' to incomplete type 
> 'struct prgkbd'
> kdump-ioctl.c:678: error: invalid application of 'sizeof' to incomplete type 
> 'struct prg_cursor'
> kdump-ioctl.c:721: error: invalid application of 'sizeof' to incomplete type 
> 'struct _vs_event'
> kdump-ioctl.c:789: error: invalid application of 'sizeof' to incomplete type 
> 'struct qdmap'
> kdump-ioctl.c:890: error: invalid application of 'sizeof' to incomplete type 
> 'struct _vs_cursor'

This is all fixed now...  a crossbuild i386->vax completes fine now... 

Later...

Greg Oster