Subject: Re: tried to compile -current...
To: Brett Lymn <blymn@baesystems.com.au>
From: Arto Selonen <arto@selonen.org>
List: current-users
Date: 04/21/2005 10:59:01
Hi!

On Thu, 21 Apr 2005, Brett Lymn wrote:

> On Thu, Apr 21, 2005 at 12:08:21AM -0700, Hisashi T Fujinaka wrote:
>>
>> *** Failed target:  veriexecctl_conf.d
>> *** Failed command:
>> CC=/usr/src/obj.i386/tooldir.NetBSD-3.99.3-i386/bin/i386--netbsdelf-gcc
>> /usr/src/obj.i386/tooldir.NetBSD-3.99.3-i386/bin/nbmkdep -f
>> veriexecctl_conf.d -- -I. -nostdinc -isystem
>> /usr/src/obj.i386/destdir.i386/usr/include veriexecctl_conf.c
>> *** Error code 1
>>
>
> Hmmm that does not make much sense.  Can you try to cd into
> /usr/src/sbin/veriexecctl and do a "make cleandir; make" and see what
> you get?

Doing "make cleandir; make dependall" in /usr/src/sbin/veriexecctl
produces the same data. This could be related to using MKOBJDIRS-type
stuff, as veriexecctl.h does not appear in my object directory.

I tried "make cleandir; cp -p veriexecctl.h obj/; make dependall" again,
with the following result:

#   compile  veriexecctl/veriexecctl_parse.o
/obj/i386/tools/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Wno-uninitialized -Wreturn-type -Wswitch -Wshadow  -Werror   -I. 
-nostdinc -isystem /usr/include  -c    veriexecctl_parse.c
In file included from /usr/src/sbin/veriexecctl/veriexecctl_parse.y:46:
veriexecctl.h:38: error: field `vu_param' has incomplete type
/usr/src/sbin/veriexecctl/veriexecctl_parse.y: In function `convert':
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:218: warning: subscript has 
type `char'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:219: warning: subscript has 
type `char'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:220: warning: subscript has 
type `char'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:228: warning: subscript has 
type `char'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:229: warning: subscript has 
type `char'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:230: warning: subscript has 
type `char'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y: In function `yyparse':
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:72: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:81: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:90: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:106: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:110: error: invalid 
application of `sizeof' to an incomplete type
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:119: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:126: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:131: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:132: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:140: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:142: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:149: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:150: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:152: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:163: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:171: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:174: error: invalid use of 
undefined type `struct veriexec_params'
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:179: error: invalid use of 
undefined type `struct veriexec_params'
veriexecctl_parse.c: At top level:
/usr/src/sbin/veriexecctl/veriexecctl_parse.y:48: error: storage size of 
`params' isn't known
*** Error code 1

Stop.
make: stopped in /cvs/src/sbin/veriexecctl
*** Error code 1

Stop.
make: stopped in /usr/src/sbin/veriexecctl
Exit 1


Artsi
-- 
#######======------  http://www.selonen.org/arto/  --------========########
Everstinkuja 5 B 35                               Don't mind doing it.
FIN-02600 Espoo        arto@selonen.org         Don't mind not doing it.
Finland              tel +358 50 560 4826     Don't know anything about it.