Date: Sun, 17 Jan 2010 11:04:47 +0100 From: Joel Dahl <joel@vnode.se> To: ed@freebsd.org Cc: x11@freebsd.org Subject: x11/sessreg doesn't build on fresh current Message-ID: <8D1A2B4F-2DBC-473B-B8BD-448AB470F76A@vnode.se>
next in thread | raw e-mail | index | archive | help
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 "<utmp.h> has been replaced by = <utmpx.h>" In file included from sessreg.c:83: /usr/include/utmp.h:2:2: error: #error "<utmp.h> has been replaced by = <utmpx.h>" 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8D1A2B4F-2DBC-473B-B8BD-448AB470F76A>