isboot not compiling on FreeBSD10/stable

Harald Weppner harald.weppner at tidalscale.com
Wed Dec 18 19:01:43 UTC 2013


Dear Aoyama-san,

have you had a chance to test isboot on FreeBSD 10/stable? Looks like a few things changed and it doesn't compile out of the box, e.g.

scsi.c:1087:3: error: incompatible
      pointer types passing 'void (void *, void *)' to parameter of type 'int (*)(struct mbuf *, void *, void *)'
      [-Werror,-Wincompatible-pointer-types]
                MEXTADD(md, (caddr_t)ds_dd, (ISCSI_ALIGN(pp->ds_len)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@/sys/mbuf.h:782:50: note: expanded from macro 'MEXTADD'
    (void )m_extadd((m), (caddr_t)(buf), (size), (free), (arg1), (arg2),\
                                                 ^~~~~~
@/sys/mbuf.h:920:13: note: passing argument to parameter here
                    int (*)(struct mbuf *, void *, void *), void *, void *,
                          ^

I am booting a FreeBSD10b4 system via iPXE and am at the point where I would need to mount the root volume via iscsi.

Thanks & cheerio, Harry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20131218/1584105d/attachment.sig>


More information about the freebsd-scsi mailing list