Subject: Re: 2.0.2 X server crashes with -current kernel
To: None <current-users@NetBSD.org, port-amd64@NetBSD.org,>
From: Dieter <netbsd@sopwith.solgatos.com>
List: current-users
Date: 09/06/2005 18:23:43
Update:  I still don't have a clue why the 2.0.2 X server runs
with a 2.0.2 kernel but crashes with a -current kernel.

The big X11 lump-o-code downloaded and compiled.  But attempting to
run the X server got some dynamic linker error.

Added export LDSTATIC=-static, removed the X server binary
and kicked off another build.

So now I get a static linking error.

.../usr/lib/libpam.a(openpam_static_modules.o)(.text+0xaba):
    In function `openpam_static':
      : undefined reference to `login_getpwclass'

also

	: undefined reference to `login_close'
	: undefined reference to `crypt'
	: undefined reference to `login_getpwclass'
	: undefined reference to `login_getcapbool'
	: undefined reference to `logoutx'
	  [ ... ]
	: undefined reference to `crypt'