Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2001 09:19:43 +0200
From:      "Peter Blok" <Peter.Blok@inter.NL.net>
To:        <freebsd-stable@freebsd.org>
Subject:   Not able to build kdelibs2 in STABLE
Message-ID:  <000901c10dc7$b041cd80$8a02a8c0@ntpc>

next in thread | raw e-mail | index | archive | help
Hi,

I have a very strange problem. I am not able to compile kde2. It chokes in
the build of kdelibs2, complaining it can not find openpty.
The library util is supplied, with a -L/usr/lib -lutil

c++ -O0 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith \
-Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor \
-fno-builtin -O -pipe -march=pentiumpro -frtti -DQT_CLEAN_NAMESPACE \
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o .libs/libkdesu.la.closure \
.libs/libkdesu_la_closure.o .libs/kdesu_pty.o .libs/client.o .libs/process.o
\
.libs/kcookie.o .libs/su.o .libs/ssh.o
.libs/stub.o  -L/usr/X11R6/lib -L/usr/local/lib \
../kdecore/.libs/libkdecore.so \
/usr/ports/x11/kdelibs2/work/kdelibs-2.1.2/kdecore/.libs/libkdefakes.so \
/usr/ports/x11/kdelibs2/work/kdelibs-2.1.2/dcop/.libs/libDCOP.so \
-lqt2 -lpng -lz
/usr/local/lib/libjpeg.so -lXext -lX11 -lSM -lICE -L/usr/libexec/elf \
-L/usr/libexec -L/usr/lib -lstdc++ -lm -lutil -Wl,--rpath -Wl,/usr/local/lib
.libs/kdesu_pty.o: In function `PTY::getpt(void)':
.libs/kdesu_pty.o(.text+0x117): undefined reference to `openpty'

When I add -L/usr/lib -lutil, it breaks too. When I change -lutil in
/usr/lib/libutil.so or .a it links ok.

What is wrong here?

Peter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c10dc7$b041cd80$8a02a8c0>