Subject: xorg compilation problem net/in.h
To: None <tech-pkg@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus200601@dailyplanet.dontspam.wsrcc.com>
List: tech-pkg
Date: 01/03/2006 17:27:17
xorg fails to compile on -current.  It looks like it might be a
problem with the "inline" macro/keyword.=20=20

Are the inline's meant to be __inline's now?

rm -f access.o
cc -c -O2 -ansi -Dasm=3D__asm -Wall -Wpointer-arith -Wstrict-prototypes 			=
  -Wmissing-prototypes -Wmissing-declarations 			  -Wredundant-decls -Wnest=
ed-externs -Wundef    -fno-merge-constants -I. -I../include -I/var/obj/pkgs=
rc/x11/xorg-server/work/xc/exports/include/X11 -I/var/obj/pkgsrc/x11/xorg-s=
erver/work/xc/include/extensions 		  -I/var/obj/pkgsrc/x11/xorg-server/work=
/xc/programs/Xserver/Xext -I/var/obj/pkgsrc/x11/xorg-server/work/xc/include=
/fonts -I/var/obj/pkgsrc/x11/xorg-server/work/xc/programs/Xserver/render 		=
  -I/var/obj/pkgsrc/x11/xorg-server/work/xc/lib/Xau -I../lbx  -I/var/obj/pk=
gsrc/x11/xorg-server/work/xc -I/var/obj/pkgsrc/x11/xorg-server/work/xc/expo=
rts/include  -I/var/obj/pkgsrc/x11/xorg-server/work/.buildlink/include -DCS=
RG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 	-DXCSECURITY -DTOGCUP  	=
-DXF86BIGFONT -DDPMSExtension 	 -DPIXPRIV -DPANORAMIX 	 -DRENDER -DRANDR 	-=
DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE 	 -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXP=
RIV -DSINGLEDEPTH 				-DXFreeXDGA -DXvExtension 				-DXFree86LOADER  -DXFre=
e86Server 				-DXF86VIDMODE 				-DXvMCExtension 				-DSMART_SCHEDULE 				-D=
BUILDDEBUG -DXResExtension 				-DX_BYTE_ORDER=3DX_LITTLE_ENDIAN 				-DXORG_=
VERSION_CURRENT=3D"682" -DNDEBUG   -DFUNCPROTO=3D15 -DNARROWPROTO   -DXSERV=
_t -DTRANS_SERVER -DTCPCONN -DUNIXCONN  -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -=
DIPv6  		  -DHASXDMAUTH   -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR 				-=
DDDXOSVERRORF 		   -DUSE_RGB_TXT  		   -DBUILDERADDR=3D'"xorg@freedesktop.o=
rg"' -DFAIL_HARD  -DXDMCP -DXDMCP_NO_IPV6 -DBSD44SOCKETS -DHAS_GETIFADDRS a=
ccess.c
In file included from /usr/include/net/if.h:86,
                 from access.c:132:
/usr/include/net/pfil.h:101: error: syntax error before "struct"
access.c: In function `DefineSelf':
access.c:965: warning: dereferencing type-punned pointer will break strict-=
aliasing rules
access.c: In function `ResetHosts':
access.c:1198: warning: subscript has type `char'
*** Error code 1

-wolfgang
--=20
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/
Direct SIP URL Dialing: http://www.wsrcc.com/wolfgang/phonedirectory.html