From owner-freebsd-ports@freebsd.org Fri Aug 28 18:06:18 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 E5CAF9C4F6D for ; Fri, 28 Aug 2015 18:06:18 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud6.xs4all.net (lb3-smtp-cloud6.xs4all.net [194.109.24.31]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 84B9F1ED for ; Fri, 28 Aug 2015 18:06:18 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud6.xs4all.net with ESMTP id AJ6D1r00K2iF10301J6EWY; Fri, 28 Aug 2015 20:06:15 +0200 Received: from localhost (localhost [127.0.0.1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTP id t7SI6Dj4049481; Fri, 28 Aug 2015 20:06:13 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 28 Aug 2015 20:06:13 +0200 (CEST) From: Marco Beishuizen X-X-Sender: marco@localhost Reply-To: Marco Beishuizen To: "A.J. \"Fonz\" van Werven" cc: freebsd-ports@freebsd.org Subject: Re: revive wmmemload port In-Reply-To: <20150828055517.GA7941@biertje.skysmurf.nl> Message-ID: References: <20150827202132.GC40589@home.opsec.eu> <20150828055517.GA7941@biertje.skysmurf.nl> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 18:06:19 -0000 On Fri, 28 Aug 2015, the wise A.J. "Fonz" van Werven wrote: > 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. Hi, Adding results in less, but fatal errors as well: ... ===> Building for wmmemload-0.1.8 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- main.o --- --- mem_freebsd.o --- --- dockapp.o --- --- main.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include -O2 -pipe -march=nocona -fstack-protector -fno-strict-aliasing -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c --- mem_freebsd.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include -O2 -pipe -march=nocona -fstack-protector -fno-strict-aliasing -MT mem_freebsd.o -MD -MP -MF .deps/mem_freebsd.Tpo -c -o mem_freebsd.o mem_freebsd.c --- dockapp.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include -O2 -pipe -march=nocona -fstack-protector -fno-strict-aliasing -MT dockapp.o -MD -MP -MF .deps/dockapp.Tpo -c -o dockapp.o dockapp.c --- mem_freebsd.o --- 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; ^ /usr/include/stdlib.h:62:3: note: 'div_t' declared here } div_t; ^ 2 errors generated. *** [mem_freebsd.o] Error code 1 ... Regards, Marco