Subject: Re: Problem buildling XFree4
To: None <current-users@netbsd.org>
From: Murray Armfield <murray@river-styx.org>
List: current-users
Date: 01/01/2002 23:41:55
Hi Folks,
	I have traced down the source of this problem. If I revert
sys/featuretest.h back to version 1.2 before Jason's change, xdm under xfree
4 now compiles. I have no idea what to do about it though.

BTW, all my source is at 20020102 except featuretest.h

Take care,
	Murray Armfield


> Hi Folks,
> 	I'm encountering an issue trying to build xfree4 under current dated 2
> 	days ago. The issue I get is...
> 
> gcc -O2 -ansi -Dasm=__asm -Wall -Wpointer-arith     -I../..
> -I../../exports/include  -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO  
> -DBINDIR=\"/usr/X11R6/bin\" -DXDMDIR=\"/usr/X11R6/lib/X11/xdm\"
>     -DHASXDMAUTH              -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT
>     -DHAS_FCHOWN                -DGREET_USER_STATIC   -DFRAGILE_DEV_MEM
>                     -DOSMAJORVERSION=1              -DOSMINORVERSION=5
>                 -DXPM -DUSE_XINERAMA   -c session.c
>session.c:138: `setgrent' undeclared here (not in a function)
>session.c:138: initializer element is not constant
>session.c:138: (near initialization for `dlfuncs._setgrent')
>session.c:139: `getgrent' undeclared here (not in a function)
>session.c:139: initializer element is not constant
>session.c:139: (near initialization for `dlfuncs._getgrent')
>session.c:140: `endgrent' undeclared here (not in a function)
>session.c:140: initializer element is not constant
>session.c:140: (near initialization for `dlfuncs._endgrent')
>session.c: In function `AbortClient':
>session.c:214: warning: implicit declaration of function `killpg'
> *** Error code 1
>  
> Stop.
> make: stopped in /disks/ld0/cvshome/xsrc/xfree/xc/programs/xdm
> 
> I have no idea as to why and have tried manually cleaning the makefiles
> and .depends in xdm to no avail. Can anyone help me with this please?
> 
> Regards,
> 	Murray Armfield