Skip site navigation (1)Skip section navigation (2)
Date:      30 Dec 2002 01:39:22 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Sean Kelly <smkelly@zombie.org>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gdm2 doesn't compile?
Message-ID:  <1041230361.24902.25.camel@shumai.marcuscom.com>
In-Reply-To: <20021230062326.GA36494@edgemaster.zombie.org>
References:  <20021230053312.GA11616@edgemaster.zombie.org> <1041227851.24902.20.camel@shumai.marcuscom.com> <20021230062326.GA36494@edgemaster.zombie.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-ewGqzNBKKLYHPKqCUos4
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2002-12-30 at 01:23, Sean Kelly wrote:
> On Mon, Dec 30, 2002 at 12:57:32AM -0500, Joe Marcus Clarke wrote:
> > On Mon, 2002-12-30 at 00:33, Sean Kelly wrote:
> ...
> > > FreeBSD edgemaster.zombie.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun=
 Dec 29 22:35:38 CST 2002     root@edgemaster.zombie.org:/usr/obj/usr/src/s=
ys/EDGEMASTER  i386
> > >=20
> > > cc -O -pipe -mcpu=3Dpentiumpro -g -Wall -Wpointer-arith -Wmissing-pro=
totypes -Wmissing-declarations -o gdmaskpass gdmaskpass.o -lintl -liconv -l=
pam -L/usr/local/lib -liconv
> > > gdmaskpass.o: In function `main':
> > > /usr/ports/x11/gdm2/work/gdm-2.4.0.12/utils/gdmaskpass.c:18: undefine=
d reference to `misc_conv'
> > > gmake[2]: *** [gdmaskpass] Error 1
> > >=20
> > > It looks like some sort of PAM related thing to me. I can find a
> > > misc_conv() in /usr/src/contrib/libpam/libpam_misc/misc_conv.c on my
> > > 4.7-STABLE box, but I can't find a misc_conv() anywhere in my FreeBSD
> > > 5.0-CURRENT's PAM stuff.
> >=20
> > That's because you didn't follow the instructions in /usr/src/UPDATING.=
=20
> > You need to do an rm -rf /usr/include/* right before doing an
> > installword in order to remove the old header files.  After doing so,
> > you will have no problems building gdm2 as well as quite a few C++
> > ports.
>=20
> Hmm. I am 99% positive I did that at some point. I've done it again, and =
it
> builds now. Thanks.

You really should do it everytime you build -CURRENT.  The compiler and
toolchain changed so much, there were a ton of stale header files.  I
got bit on quite a few occasions.  I've started doing it everytime I
upgrade my -CURRENT machine.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-ewGqzNBKKLYHPKqCUos4
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+D+oZb2iPiv4Uz4cRAmxxAKChaOsaL3TGG+z1IBiJSdcsvXm6PwCgqQFF
fZVOJZXSxtghlYn/oU3nuOo=
=BKbk
-----END PGP SIGNATURE-----

--=-ewGqzNBKKLYHPKqCUos4--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1041230361.24902.25.camel>