Date: Tue, 16 Oct 2012 02:14:48 GMT From: Joćo Rocha Braga Filho <goffredo@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172745: The port sessreg does not compile in 9.1-PRERELEASE #23 Message-ID: <201210160214.q9G2EmN3015424@red.freebsd.org> Resent-Message-ID: <201210160220.q9G2K0G7090249@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172745 >Category: ports >Synopsis: The port sessreg does not compile in 9.1-PRERELEASE #23 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 16 02:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Joćo Rocha Braga Filho >Release: 9.1-PRERELEASE #23 >Organization: >Environment: FreeBSD 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #23: Sat Oct 13 18:35:35 BRT 2012 goffredo@:/usr/obj/usr/src/sys/SUPER amd64 >Description: The function ttyslot(3) is missing: " ===> Building for sessreg-1.0.7 make all-recursive Making all in man GEN filenames.sed GEN sessreg.1 CC sessreg.o sessreg.c: In function 'main': sessreg.c:276: warning: assignment discards qualifiers from pointer target type sessreg.c:281: warning: implicit declaration of function 'ttyslot' sessreg.c:281: warning: nested extern declaration of 'ttyslot' sessreg.c: In function 'set_utmp': sessreg.c:387: warning: declaration of 'line' shadows a global declaration sessreg.c:93: warning: shadowed declaration is here sessreg.c: In function 'set_utmpx': sessreg.c:463: warning: declaration of 'line' shadows a global declaration sessreg.c:93: warning: shadowed declaration is here sessreg.c: In function 'Xslot': sessreg.c:556: warning: declaration of 'ttys_file' shadows a global declaration sessreg.c:113: warning: shadowed declaration is here sessreg.c:556: warning: declaration of 'host_name' shadows a global declaration sessreg.c:108: warning: shadowed declaration is here sessreg.c: In function 'findslot': sessreg.c:616: warning: declaration of 'host_name' shadows a global declaration sessreg.c:108: warning: shadowed declaration is here sessreg.c:632: warning: assignment discards qualifiers from pointer target type CCLD sessreg sessreg.o: In function `main': sessreg.c:(.text+0xc7a): undefined reference to `ttyslot' *** [sessreg] Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. *** [all-recursive] Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. *** [all] Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. *** [do-build] Error code 1 Stop in /usr/ports/x11/sessreg. " Note: This problem is related to PR misc/172744, and is open only to show the work around. Once PR misc/172744 is solved, test, end if is ok, close this one too. >How-To-Repeat: Compile this port in FreeBSD 9.1-PRERELEASE. >Fix: I don't know how to fix, but I used a work around. I installed this package: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.0-RELEASE/packages/x11/sessreg-1.0.7.tbz >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210160214.q9G2EmN3015424>