From owner-freebsd-x11@FreeBSD.ORG Sun Jan 17 10:21:57 2010 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C808106566B; Sun, 17 Jan 2010 10:21:57 +0000 (UTC) (envelope-from joel@vnode.se) Received: from mail.vnode.se (mail.vnode.se [62.119.52.80]) by mx1.freebsd.org (Postfix) with ESMTP id E6D2E8FC12; Sun, 17 Jan 2010 10:21:56 +0000 (UTC) Received: from mail.vnode.se (localhost [127.0.0.1]) by mail.vnode.se (Postfix) with ESMTP id E8FB9E3F087; Sun, 17 Jan 2010 11:04:51 +0100 (CET) X-Virus-Scanned: amavisd-new at vnode.se Received: from mail.vnode.se ([127.0.0.1]) by mail.vnode.se (mail.vnode.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 298ZQgevnWtb; Sun, 17 Jan 2010 11:04:49 +0100 (CET) Received: from [10.10.10.101] (unknown [83.223.1.131]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id 039BDE3F086; Sun, 17 Jan 2010 11:04:48 +0100 (CET) From: Joel Dahl Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 17 Jan 2010 11:04:47 +0100 Message-Id: <8D1A2B4F-2DBC-473B-B8BD-448AB470F76A@vnode.se> To: ed@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Cc: x11@freebsd.org Subject: x11/sessreg doesn't build on fresh current X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 10:21:57 -0000 Hi Ed, Looks like x11/sessreg doesn't build on a freshly checked out 9-current = and it's probably related to your recent utmpx work. This also breaks = the xorg build... Error message below: =3D=3D=3D> Building for sessreg-1.0.4 make all-am cc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -pipe = -fno-strict-aliasing -MT sessreg.o -MD -MP -MF .deps/sessreg.Tpo -c -o = sessreg.o sessreg.c In file included from sessreg.h:60, from sessreg.c:77: /usr/include/utmp.h:2:2: error: #error " has been replaced by = " In file included from sessreg.c:83: /usr/include/utmp.h:2:2: error: #error " has been replaced by = " sessreg.c:92: warning: 'struct utmp' declared inside parameter list sessreg.c:92: warning: its scope is only this definition or declaration, = which is probably not what you want sessreg.c: In function 'main': sessreg.c:191: error: storage size of 'utmp_entry' isn't known sessreg.c:319: error: invalid application of 'sizeof' to incomplete type = 'struct utmp'=20 sessreg.c: At top level: sessreg.c:374: warning: 'struct utmp' declared inside parameter list sessreg.c:375: error: conflicting types for 'set_utmp' sessreg.c:92: error: previous declaration of 'set_utmp' was here sessreg.c: In function 'set_utmp': sessreg.c:376: error: dereferencing pointer to incomplete type sessreg.c:378: error: dereferencing pointer to incomplete type sessreg.c:378: error: dereferencing pointer to incomplete type sessreg.c:380: error: dereferencing pointer to incomplete type sessreg.c:380: error: dereferencing pointer to incomplete type sessreg.c:382: error: dereferencing pointer to incomplete type sessreg.c:382: error: dereferencing pointer to incomplete type sessreg.c:384: error: dereferencing pointer to incomplete type sessreg.c:384: error: dereferencing pointer to incomplete type sessreg.c:413: error: dereferencing pointer to incomplete type sessreg.c:413: error: dereferencing pointer to incomplete type sessreg.c:415: error: dereferencing pointer to incomplete type sessreg.c:415: error: dereferencing pointer to incomplete type sessreg.c:417: error: dereferencing pointer to incomplete type sessreg.c: In function 'findslot': sessreg.c:596: error: storage size of 'entry' isn't known sessreg.c:606: error: invalid application of 'sizeof' to incomplete type = 'struct utmp'=20 *** Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.4. *** Error code 1 -- Joel Dahl joel@vnode.se | joel@freebsd.org=