Date: Fri, 28 Aug 2015 07:55:17 +0200 From: "A.J. \"Fonz\" van Werven" <freebsd@skysmurf.nl> To: Marco Beishuizen <mbeis@xs4all.nl> Cc: freebsd-ports@freebsd.org Subject: Re: revive wmmemload port Message-ID: <20150828055517.GA7941@biertje.skysmurf.nl> In-Reply-To: <alpine.BSF.2.20.1508280034300.79964@localhost> References: <alpine.BSF.2.20.1508272202140.79964@localhost> <20150827202132.GC40589@home.opsec.eu> <alpine.BSF.2.20.1508280034300.79964@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <vm/vm_param.h> uses types such as u_int and dev_t without including <sys/types.h>, 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 <sys/types.h> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150828055517.GA7941>