Date: Wed, 18 Dec 2013 18:56:01 +0000 From: Harald Weppner <harald.weppner@tidalscale.com> To: "aoyama@peach.ne.jp" <aoyama@peach.ne.jp> Cc: "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org> Subject: isboot not compiling on FreeBSD10/stable Message-ID: <B76A96D8-8624-4308-A2E4-7C4F05A06B92@tidalscale.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_7245098B-9483-4A80-A2AB-6C316F8F35F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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. --Apple-Mail=_7245098B-9483-4A80-A2AB-6C316F8F35F3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJSse+7AAoJEAK2yI4LwMAX4AMIAMNGM4y5mD9x6/03bxa3Vy6p X5evG8rzap4NzS66R43pZR5c+CYd6cJ4sJKlhqHaH9xgXiztEXlg6TV10TBuXxJR sN18qzojV85YLHuqt3Y0Eo6ZfbcWbO7/lb/ER6+2KJ+vdHMtdoszp1GICTKqxxy4 RxtjwyiaD/jeTRgeY8ZFcS9DUBL0qCB+edDzn99i39gw9j7+FpUUJyU1+zVcWpx5 l9zCnKTbWehxUTBxGD3SWsI2JDQvFz3iTKqbVuzw4omwFYDyoq41V4eJSSgH724o G7xxZ/hrA1Cxu8fvODW40sJq+HWcfcHDVzvZVdwLOsRXC9qycy4D5vOB9Sh853A= =o4Ep -----END PGP SIGNATURE----- --Apple-Mail=_7245098B-9483-4A80-A2AB-6C316F8F35F3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B76A96D8-8624-4308-A2E4-7C4F05A06B92>