Subject: Problems with X4.1
To: None <>
From: Julio Merino <>
List: current-users
Date: 01/12/2002 10:07:25
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I'm trying to compile XFree86 4.1 from sources on NetBSD-current i386.
I've the sources in /usr/local/src/xc and I've configured the site.def
file by hand, as explained in the install instructions.

First I've found a little problem. In the file, they refer to
/usr/libexec/cpp, but cpp is in /usr/bin. Why this difference?

Well, after correcting this, I've done the 'make World' and everything
gone fine. It only took 2.30 hours! :)

But when doing the 'make install', I get this error...

installing in programs/xdm...
gcc -O2 -fno-strength-reduce -pipe -march=3Dpentiumpro -ansi -Dasm=3D__asm =
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-de=
clarations -Wredundant-decls -Wnested-externs     -I../.. -I../../exports/i=
1R6/bin\" -DXDMDIR=3D\"/usr/X11R6/lib/X11/xdm\"                            =
S_FCHOWN                -DGREET_USER_STATIC   -DFRAGILE_DEV_MEM            =
     -DOSMAJORVERSION=3D1              -DOSMINORVERSION=3D5                =
              -DXPM    -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

make: stopped in /usr/local/src/xc/programs/xdm
*** Error code 1

What is happening? What can I do?

Thanks a lot!

La ignorancia es la felicidad.

Julio Merino (Slink) <>

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see