Subject: Problems with X4.1
To: None <current-users@netbsd.org>
From: Julio Merino <juli@merino.net>
List: current-users
Date: 01/12/2002 10:07:25
--FL5UXtIhxfXey3p5
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 NetBSD.cf 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=
nclude  -DCSRG_BASED  -DFUNCPROTO=3D15 -DNARROWPROTO   -DBINDIR=3D\"/usr/X1=
1R6/bin\" -DXDMDIR=3D\"/usr/X11R6/lib/X11/xdm\"                            =
   -DHASXDMAUTH              -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHA=
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

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

What is happening? What can I do?

Thanks a lot!

--=20
La ignorancia es la felicidad.

Julio Merino (Slink) <juli@merino.net>

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8P/zNzz00ZOPKycwRAhdOAJ0QobsCDwYRjWg92bQyiCTH3ZT9igCfTZc+
eDQhxHPSDDmJLHwPSc4NPNI=
=UkK2
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--