From owner-freebsd-ports@freebsd.org Fri Aug 28 05:55:21 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D23AB9C405F for ; Fri, 28 Aug 2015 05:55:21 +0000 (UTC) (envelope-from fonz@skysmurf.nl) Received: from biertje.skysmurf.nl (unknown [IPv6:2001:984:78b5:1:21b:78ff:fea8:3f22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5731FF90 for ; Fri, 28 Aug 2015 05:55:20 +0000 (UTC) (envelope-from fonz@skysmurf.nl) Received: from biertje.skysmurf.nl (localhost [127.0.0.1]) by biertje.skysmurf.nl (8.14.9/8.14.9) with ESMTP id t7S5tHXC007966; Fri, 28 Aug 2015 07:55:17 +0200 (CEST) (envelope-from fonz@biertje.skysmurf.nl) Received: (from fonz@localhost) by biertje.skysmurf.nl (8.14.9/8.14.9/Submit) id t7S5tHTw007965; Fri, 28 Aug 2015 07:55:17 +0200 (CEST) (envelope-from fonz) Date: Fri, 28 Aug 2015 07:55:17 +0200 From: "A.J. \"Fonz\" van Werven" To: Marco Beishuizen Cc: freebsd-ports@freebsd.org Subject: Re: revive wmmemload port Message-ID: <20150828055517.GA7941@biertje.skysmurf.nl> References: <20150827202132.GC40589@home.opsec.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.skysmurf.nl/~fonz/fonz_pubkey.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 05:55:21 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Marco Beishuizen wrote: > But the build stops with a lot of errors: >=20 > ... > In file included from mem_freebsd.c:18: > /usr/include/vm/vm_param.h:94:2: error: unknown type name 'u_int' > u_int xsw_version; > ^ > /usr/include/vm/vm_param.h:95:2: error: unknown type name 'dev_t'; did you > mean 'div_t'? > dev_t xsw_dev; > ^ Hmm, It seems like uses types such as u_int and dev_t without including , which is where those types are defined. I'm not sure whether that's a bug in FreeBSD or it's supposed to be this way, but in the meantime, does it help if you add #include to mem_freebsd.c? If so, I'd suggest adding a patch to the port's files/ directory. HTH, AvW --=20 I'm not completely useless, I can be used as a bad example. --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJV3/fFAAoJEAfP7gJTaCe8FmIP/3VCLRRjo4Ia3+04ltFJKBcw 2qNQQzojn5+ZQHNN5OKIy+GeBFSN2yyBEJ6l4UskWg2kIAbDtkBeg/+g3bVUySn0 5do9sgW1935CpXjcblDMfa+eurU8K8vEiJXCDpjK1PrTAHAURANp4xF6cA2v9SZg I4GvQzzV42gfSqbwvRifLm+IEF3dUBjyheYa5RlLSGRhA+wIQq/EYX8iUyY/iX6A 2bPX0vFUFaMxBmjL4nYf33zw9y4Vrs39jBQ3LD9fK0HKduU8ZTKuErT331QP43sc d2/Ns3yZAw3BhQ/DzHaZG+L4ytEWvLdKp+uT/4VVJYxGN9u0y4Z+tKjoibIbc5cH JTidb0ROMqt6vM3mBeRpN7DDf8Lz3VYaD7ZVM50E2GMC1EKg4v8btWZzNII4LRep PT8rjnKriIxQKhDyATazRHlmULc2has0WzeGtmaeq9h7BqxioXNkof50wUCWdzow LRW5tS3SfkPizcAK+icrtm7IRywjMIonqR43j7CudPNGt8DL/PuZ85eCXYAxBnsv vQ3AD4dIdjW+IFkV+tndc7chRh/c0a+M27+nGyJYUnd0/FMInNNCrg37qrHUj+10 88CbR99briKbNIFovXnDEyOtyY/2FCrCr13Y2tnLPJfC/JL7BpreZZ4G7WkogpKi 6+kx6hG/YZ4Zs8yUNkZI =FgQ+ -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--