Subject: Re: problems building x-chat?
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: R. C. Dowdeswell <elric@mabelode.imrryr.org>
List: current-users
Date: 11/13/2000 21:58:06
Looks like you are not linking against libutil. That is where
openpty and forkpty live.
On 974179056 seconds since the Beginning of the UNIX epoch
Hisashi T Fujinaka wrote:
>
>I'm confused about this. I haven't seen any mention of this problem and
>it's a step in installing gnome, a project which has taken much, much more
>time than I expected.
>
>cc -O2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include/glib
>-fno-strict-aliasing -I/usr/pkg/include
>-I/usr/pkg/lib/perl5/5.6.0/i386-netbsd/CORE -I/usr/pkg/include/python2.0
>-Wall -g -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
>-L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
>-L/usr/pkg/lib -o xchat-text fe-text.o ../common/libxchatmain.a
>-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -Wl,-E
>-Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.6.0/i386-netbsd/CORE
>-L/usr/pkg/lib
>/usr/pkg/lib/perl5/5.6.0/i386-netbsd/auto/DynaLoader/DynaLoader.a
>-L/usr/pkg/lib/perl5/5.6.0/i386-netbsd/CORE -lperl -lm -lcrypt
>-L/usr/pkg/lib/python2.0/config -lpython2.0 -lpthread
>/usr/pkg/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function
>`posix_tmpnam':
>posixmodule.o(.text+0x1f52): warning: tmpnam() possibly used unsafely, use
>mkstemp() or mkdtemp()
>/usr/pkg/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function
>`posix_tempnam':
>posixmodule.o(.text+0x1ebb): warning: tempnam() possibly used unsafely,
>use mkstemp() or mkdtemp()
>/usr/pkg/lib/perl5/5.6.0/i386-netbsd/CORE/libperl.so: warning: reference
>to compatibility setlocale(); include <locale.h> for correct reference
>/usr/pkg/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function
>`posix_openpty':
>posixmodule.o(.text+0xe03): undefined reference to `openpty'
>/usr/pkg/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function
>`posix_forkpty':
>posixmodule.o(.text+0xe53): undefined reference to `forkpty'
>collect2: ld returned 1 exit status
>
>--
>Hisashi T Fujinaka - htodd@twofifty.com
>BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte
>
>
== Roland Dowdeswell http://www.Imrryr.ORG/~elric/ ==
== The Unofficial NetBSD Web Pages http://www.Imrryr.ORG/NetBSD/ ==
== The NetBSD Project http://www.NetBSD.ORG/ ==