Subject: non-fatal error during arm build
To: None <current-users@netbsd.org>
From: Richard Earnshaw <rearnsha@arm.com>
List: current-users
Date: 03/13/2003 16:55:16
When building the world for ARM we get the following errors in the log 
file while trying to build libpthread/assym.h

genassym.cf > assym.h.tmp &&  mv -f assym.h.tmp assym.h
In file included from /tmp/12608.c:3:
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:124: 
parse erro
r before `u_int'
cc1: warnings being treated as errors
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:124: 
warning: n
o semicolon at end of struct or union
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:139: 
parse erro
r before `pid_t'
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:139: 
warning: n
o semicolon at end of struct or union
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:139: 
warning: n
o semicolon at end of struct or union
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:140: 
warning: d
ata definition has no type or storage class
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:147: 
parse erro
r before `}'
/work/rearnsha/netbsd/build/install/shark/usr/include/sys/lock.h:147: 
warning: d
ata definition has no type or storage class
...

This doesn't break the build (everything finishes correctly), but it does 
seem odd.  Is there any reason why libpthread/arch/arm/genassym.cf needs 
to include lock.h?  None of the other ports do.

R.