Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2011 11:13:14 +0100
From:      "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
To:        Current FreeBSD <freebsd-current@freebsd.org>,  FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   x11/sessreg: build fails with CLANG in FreeBSD 9.0-PRERELEASE
Message-ID:  <4EF05FBA.8030303@mail.zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8F543234D0CFDE0730DB881A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.

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.

Where to start looking? ttyslot looks like a base system function.


Regards, thanks in advance,
Oliver

=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' is
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

Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
*** Error code 1

Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
*** Error code 1

Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7.
*** Error code 1

Stop in /usr/ports/x11/sessreg.


--------------enig8F543234D0CFDE0730DB881A
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/

iF4EAREIAAYFAk7wX7oACgkQU6Ni+wtCKv+2bgD/Tv1Cz6LAL79PZ1XnB1u54N3x
Vmc0ZQ4VvWUCDufkN5kA/1LqUnO+FMRNqCw8TIjyJ+wQro/lgPRFnWk3NTfeDl3I
=LTAu
-----END PGP SIGNATURE-----

--------------enig8F543234D0CFDE0730DB881A--



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