From owner-freebsd-stable@FreeBSD.ORG Tue Dec 20 10:32:25 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74ABF106564A; Tue, 20 Dec 2011 10:32:25 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 2C4B38FC14; Tue, 20 Dec 2011 10:32:24 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Rcwzg-0000pb-6K>; Tue, 20 Dec 2011 11:32:24 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Rcwzg-0006wJ-3B>; Tue, 20 Dec 2011 11:32:24 +0100 Message-ID: <4EF06432.8020001@mail.zedat.fu-berlin.de> Date: Tue, 20 Dec 2011 11:32:18 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: Current FreeBSD , FreeBSD Stable Mailing List References: <4EF05FBA.8030303@mail.zedat.fu-berlin.de> In-Reply-To: <4EF05FBA.8030303@mail.zedat.fu-berlin.de> X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0F2296DBBA2AA2D47BD9FF1A" X-Originating-IP: 130.133.86.198 Cc: Subject: Re: x11/sessreg: build fails with CLANG in FreeBSD 9.0-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 10:32:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0F2296DBBA2AA2D47BD9FF1A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/20/11 11:13, O. Hartmann wrote: > On a freshly updated box the installation of x11/sessreg fails with the= > shown message below. > On all boxes I run with FBSD 9 or 10 (all amd64, CLANG build) the build= > and installation works fine. >=20 > Since I update the box from 8.2-STABLE to 9.0-PRE last night, cleaning > up all ports and having them rebuilt from scratch, I guess I have a > problem with remnants (or missing compatibility?) in the system. >=20 > Where to start looking? ttyslot looks like a base system function. >=20 >=20 > Regards, thanks in advance, > Oliver >=20 > =3D=3D=3D> Building for sessreg-1.0.7 > /usr/bin/make all-recursive > Making all in man > GEN filenames.sed > GEN sessreg.1 > CC sessreg.o > sessreg.c:281:27: warning: implicit declaration of function 'ttyslot' i= s > invalid in C99 [-Wimplicit-function-declaration] > sysnerr (slot_number =3D ttyslot (), "ttyslot")= ; > ^ > 1 warning generated. > CCLD sessreg > sessreg.o: In function `main': > sessreg.c:(.text+0x7bf): undefined reference to `ttyslot' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg. Sorry for the noise. As I gave myself the answer, some remnants polluted the system and I got rid by simply call the propper make delete-old-libs/files in /usr/src. Oliver --------------enig0F2296DBBA2AA2D47BD9FF1A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAk7wZDgACgkQU6Ni+wtCKv+23gD9Fngc8YG5GliCNSv4BcTLbJAm hIFms0fnaaI1UrOt4fcA/27ei3GiuGsokHWF4ItTjnslKi1hBk3uMCNHCjhzXo2Q =nDF7 -----END PGP SIGNATURE----- --------------enig0F2296DBBA2AA2D47BD9FF1A--