From owner-freebsd-scsi@FreeBSD.ORG Wed Dec 18 19:01:43 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB86378E for ; Wed, 18 Dec 2013 19:01:43 +0000 (UTC) Received: from smtp150.ord.emailsrvr.com (smtp150.ord.emailsrvr.com [173.203.6.150]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C02C1969 for ; Wed, 18 Dec 2013 19:01:43 +0000 (UTC) Received: from smtp11.relay.ord1a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp11.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id BB995F0435; Wed, 18 Dec 2013 13:56:02 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox 2.7.4 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp11.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id AFF17F0486; Wed, 18 Dec 2013 13:56:02 -0500 (EST) X-Virus-Scanned: OK Received: from smtp192.mex05.mlsrvr.com (unknown [184.106.31.85]) by smtp11.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTPS id 811BEF0435; Wed, 18 Dec 2013 13:56:02 -0500 (EST) Received: from ORD2MBX04D.mex05.mlsrvr.com ([fe80::90e2:baff:fe25:af8]) by ORD2HUB38.mex05.mlsrvr.com ([::1]) with mapi id 14.03.0158.001; Wed, 18 Dec 2013 12:56:02 -0600 From: Harald Weppner To: "aoyama@peach.ne.jp" Subject: isboot not compiling on FreeBSD10/stable Thread-Topic: isboot not compiling on FreeBSD10/stable Thread-Index: AQHO/CLLBtb2gRFsfEybc18h2N62ag== Date: Wed, 18 Dec 2013 18:56:01 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [152.179.42.173] Content-Type: multipart/signed; boundary="Apple-Mail=_7245098B-9483-4A80-A2AB-6C316F8F35F3"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 Cc: "freebsd-scsi@freebsd.org" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2013 19:01:43 -0000 --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--