svn commit: r223025 - head/usr.sbin/makefs/ffs

Buganini buganini at gmail.com
Mon Jun 13 01:15:09 UTC 2011


still broken:
cc -O2 -pipe  -I/usr/src/usr.sbin/makefs
-I/usr/src/usr.sbin/makefs/../../sys/fs/cd9660/
-I/usr/src/usr.sbin/makefs/../../sys/ufs/ffs
-I/usr/src/usr.sbin/makefs/compat -DHAVE_STRUCT_STAT_ST_FLAGS=1
-DHAVE_STRUCT_STAT_ST_GEN=1 -I/usr/src/usr.sbin/makefs/../mtree
-std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -c
/usr/src/usr.sbin/makefs/ffs/ffs_bswap.c
In file included from /usr/src/usr.sbin/makefs/ffs/ffs_bswap.c:52:
/usr/obj/usr/src/tmp/usr/include/ufs/ffs/ffs_extern.h:176: error:
field 'sn_lock' has incomplete type
*** Error code 1

Stop in /usr/src/usr.sbin/makefs.
*** Error code 1

Following lock(9):
#include <sys/types.h>
#include <sys/lock.h>
#include <sys/lockmgr.h>
fix it.

and another breakage:
cc -O2 -pipe  -I/usr/src/usr.sbin/makefs
-I/usr/src/usr.sbin/makefs/../../sys/fs/cd9660/
-I/usr/src/usr.sbin/makefs/../../sys/ufs/ffs
-I/usr/src/usr.sbin/makefs/compat -DHAVE_STRUCT_STAT_ST_FLAGS=1
-DHAVE_STRUCT_STAT_ST_GEN=1 -I/usr/src/usr.sbin/makefs/../mtree
-std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -c
/usr/src/usr.sbin/makefs/ffs/ffs_subr.c
In file included from /usr/src/usr.sbin/makefs/ffs/ffs_subr.c:48:
/usr/obj/usr/src/tmp/usr/include/ufs/ffs/ffs_extern.h:169: warning:
data definition has no type or storage class
/usr/obj/usr/src/tmp/usr/include/ufs/ffs/ffs_extern.h:169: warning:
parameter names (without types) in function declaration
/usr/obj/usr/src/tmp/usr/include/ufs/ffs/ffs_extern.h:172: error:
expected specifier-qualifier-list before 'LIST_ENTRY'
*** Error code 1

#include <sys/queue.h>
#include <sys/types.h>
#include <sys/lock.h>
#include <sys/lockmgr.h>
fix it.


More information about the svn-src-head mailing list