Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2011 08:49:08 +0800
From:      Buganini <buganini@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223025 - head/usr.sbin/makefs/ffs
Message-ID:  <BANLkTikSh=256wsXqukkfG1i8ON0v-vtfw@mail.gmail.com>
In-Reply-To: <201106122309.p5CN91jN045181@svn.freebsd.org>
References:  <201106122309.p5CN91jN045181@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikSh=256wsXqukkfG1i8ON0v-vtfw>