On 03 Dec 2015, at 19:58, phipo <[email protected]> wrote:
> 
> Hi,
> I working on Bi quad cores opteron (amd64, 8 cores), i want to customize my 
> kernel,
> i've installed NetBSD 7.0rc3, also i download syssrc.gz and installed it.
> When i try to compile tools > like this :
> # ./build.sh tools into the directory /usr/src/.
> i've got issues, this is my ouput :
> -----------------------------------------------------------------------------------------------------
>        ^
> In file included from /usr/src/sys/fs/msdosfs/msdosfs_fat.c:72:0:
> /usr/src/tools/makefs/../../usr.sbin/makefs/ffs/buf.h:78:6: note: expected 
> 'int' but argument is of type 'void *'
> int  bread(struct vnode *, daddr_t, int, int, struct buf **);
>      ^
> /usr/src/sys/fs/msdosfs/msdosfs_fat.c:959:8: error: too many arguments to 
> function 'bread'
>        NOCRED, 0, &bp);
>        ^
> In file included from /usr/src/sys/fs/msdosfs/msdosfs_fat.c:72:0:
> /usr/src/tools/makefs/../../usr.sbin/makefs/ffs/buf.h:78:6: note: declared 
> here
> int  bread(struct vnode *, daddr_t, int, int, struct buf **);
>      ^

Looks like your sources got mixed from 7.0 and -current.

On 7.0 file usr.sbin/makefs/ffs/buf.h is revision 1.9 and has:

        int bread(struct vnode *, daddr_t, int, struct kauth_cred *, int, 
struct buf **);

while on -current its revision is 1.10 and has:

        int bread(struct vnode *, daddr_t, int, int, struct buf **);

--
J. Hannken-Illjes - [email protected] - TU Braunschweig (Germany)

Reply via email to