Subject: Problem buildling XFree4
To: None <current-users@netbsd.org>
From: Murray Armfield <murray@river-styx.org>
List: current-users
Date: 12/28/2001 13:27:45
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