Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31029 - openpty man page missing important information
Summary: openpty man page missing important information
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-13 05:32 UTC by Voltron Rex
Modified: 2004-10-15 23:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Voltron Rex 2003-10-13 05:32:10 UTC
When you use the openpty, forkpty, or login_tty function calls but do not link
to -lutil there are unresolved symbols. the openpty(3) man page does not mention
this fact; it just says 'available in glibc2.'

The man page for openpty(3) on Debian system says:

"
NOTE
       These functions are included in  libutil,  hence  you
Comment 1 Voltron Rex 2003-10-13 05:32:10 UTC
When you use the openpty, forkpty, or login_tty function calls but do not link
to -lutil there are unresolved symbols. the openpty(3) man page does not mention
this fact; it just says 'available in glibc2.'

The man page for openpty(3) on Debian system says:

"
NOTE
       These functions are included in  libutil,  hence  youâll  need  to  add
       -lutil to your compiler commandline.
"

In my opinion this note should be added to the openpty(3) man page.

Reproducible: Always
Steps to Reproduce:
1. man openpty
2.
3.




Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10p1
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache distcc"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://highlander/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm
erkdb slang readline arts svga X sdl gpm tcpd pam libwww ssl perl python esd
imlib oggvorbis gtk qt kde motif opengl -java apache2 acpi acpi4linux alsa gtk2 m
calendar mozilla ruby samba tcltk tetex usb xosd"
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-10-13 15:32:08 UTC
hrm, in which package is openpty?
Comment 3 Voltron Rex 2003-11-20 05:09:14 UTC
I've installed man-pages-1.61 and the information I needed is there:
"
NOTE
       These functions are included in  libutil,  hence  you'll  need  to  add
       -lutil to your compiler commandline.
"

This bug should be closed.
Comment 4 SpanKY gentoo-dev 2004-10-15 23:55:44 UTC
will do