From owner-freebsd-questions Wed Feb 25 06:11:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA16761 for freebsd-questions-outgoing; Wed, 25 Feb 1998 06:11:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA16259 for ; Wed, 25 Feb 1998 06:09:42 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es by polaris.we.lc.ehu.es (SMI-8.6/SMI-SVR4) id MAA25537; Wed, 25 Feb 1998 12:41:52 +0100 Message-ID: <34F40363.FC52391F@we.lc.ehu.es> Date: Wed, 25 Feb 1998 12:41:23 +0100 From: "Jose M. Alcaide" Organization: Universidad del País Vasco - Dep. de Electricidad y Electrónica X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: Doug White CC: freebsd-questions@FreeBSD.ORG Subject: Re: KDE 3.1b compiles on 2.2.5, but it doesn't work References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > > On Mon, 23 Feb 1998, Jose M. Alcaide wrote: > > > /usr/libexec/ld.so: Undefined symbol "_ftok" called from kaudioserver:/usr/local/lib/libmediatool.so.0.90 at 0x8022148 > > Argh!! I keep having this problem too; it's a stale or incorrect > libcompat. Rebuild kde and move /usr/lib/libcompat.so.* out of the way > while it's building so that it picks up the static library; it seems to > work fine then. I have just made some advances on my KDE problems, and it's very surprising that someone could run the KDE 3.1b port. Indeed, the ld.so error message about kaudioserver's reference to "_ftok" is related to the libcompat library. However, there isn't any libcompat.so.xx shared library. The problem comes from the fact that kaudioserver _is_not_ linked with the static libcompat.a. The file Makefile.in at directory kdebase/kaudio needs a slight change, adding -lcompat to the list of libraries: ----------- BEGIN PATCH ---------- *** Makefile.in~ Sun Feb 1 01:27:19 1998 --- Makefile.in Wed Feb 25 12:26:04 1998 *************** *** 131,137 **** INCLUDES = $(all_includes) # kdecore for usleep fake ! LDADD = $(all_libraries) -lmediatool -lkdeui -lkdecore -lqt -lXext -lX11 $(LIBSOCKET) $(LIBUCB) $(KDE_RPATH) maudio_SOURCES = io_oss.cpp maudio.cpp sample.cpp kaudioserver_SOURCES = kaudioserver.cpp --- 131,137 ---- INCLUDES = $(all_includes) # kdecore for usleep fake ! LDADD = $(all_libraries) -lmediatool -lkdeui -lkdecore -lqt -lXext -lX11 $(LIBSOCKET) $(LIBUCB) ($LIBCOMPAT) $(KDE_RPATH) maudio_SOURCES = io_oss.cpp maudio.cpp sample.cpp kaudioserver_SOURCES = kaudioserver.cpp --------------- END PATCH --------------- With this patch applied, the resulting kaudioserver works, and ld.so doesn't complain about undefined symbols. BUT, my KDE 3.1b continues to fail at startup. KFM hangs, and I see the error messages QSocketNotifier: Invalid socket specified QSocketNotifier: Internal error whenever I try to start any application from the panel menu. I would like to hear from anyone running the KDE 3.1b port on FreeBSD 2.2.5. -- JM ----------------------------------------------------------------------- Jose M. Alcaide | mailto:jose@we.lc.ehu.es Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electronica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-4-4647700 x2624 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-4-4858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message