From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 20 22:11:43 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BEE21065670; Sun, 20 Jun 2010 22:11:43 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE8918FC1A; Sun, 20 Jun 2010 22:11:42 +0000 (UTC) Received: by qyk11 with SMTP id 11so1344655qyk.13 for ; Sun, 20 Jun 2010 15:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SyJp6fYlmfihmyWeHNY52kYwKlpcYYZyBdhG9Oy4g80=; b=iyrpWUdJJY+SaJrtQ+qYatLjM9yArFr8c76We4xyO907g9svthR73pgoF1CP4yhWb2 eBjlH4GrwxK+7Uf3jTpyUhgrpqtx8vRqU4YQ9tgpRXSHXPoYtBbmKIsVbo0pKB5AZ5Qv 6j+8xgSQYGRHILLS+zXbt6wnVyQnJPVhUDz3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YCA6Q78GkMUL2suTiPBLqbX695KRgFtiuNT46J0WYVIgr6Km9o1ynRSMyrxECIJDFT Jpj4+IiU2rl3h414BeOOkv7x1BpsHP+bWHea+r5Mzvo6LJTm5tjApMztdCPshnTK8ldP D+6O/AAIPiVMtl4IuCkwYLAjX8H1ovj7m8RFY= MIME-Version: 1.0 Received: by 10.224.80.65 with SMTP id s1mr2566096qak.239.1277071901956; Sun, 20 Jun 2010 15:11:41 -0700 (PDT) Received: by 10.229.80.75 with HTTP; Sun, 20 Jun 2010 15:11:41 -0700 (PDT) In-Reply-To: References: Date: Sun, 20 Jun 2010 15:11:41 -0700 Message-ID: From: Garrett Cooper To: Stathis Kamperis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Hackers , standards@freebsd.org Subject: Re: Are POSIX mqueues supposed to be functional on FreeBSD? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 22:11:43 -0000 On Sun, Jun 20, 2010 at 3:06 PM, Stathis Kamperis wrot= e: > 2010/6/21 Garrett Cooper : >> =A0 =A0Err... I ran an mqueue test and it popped up with ENOSYS. Which >> makes me wonder, are POSIX mqueues implemented 100% on FreeBSD? I >> looked into sys/kern/uip_mqueue.c and it _appears_ functional, but I > > Hi, > > did you first load the respective kernel module (mqueuefs or something > like that) ? Duh... should have checked that first I suppose: no, it isn't loaded. However, it doesn't appear to compile with my copy of src: # make -C /sys/modules/mqueue/ all install Warning: Object directory not changed from original /usr/src/sys/modules/mq= ueue cc -O2 -pipe -fno-strict-aliasing -pipe -O2 -march=3Dnocona -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c:48:24: error: opt_compat.h: No such file or directory *** Error code 1 Stop in /usr/src/sys/modules/mqueue. # find /usr/src/ -name opt_compat.h So I'll need to hunt down what's going on with the missing header. Thanks :), -Garrett