Date: Wed, 25 Feb 1998 12:41:23 +0100 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: Doug White <dwhite@resnet.uoregon.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: KDE 3.1b compiles on 2.2.5, but it doesn't work Message-ID: <34F40363.FC52391F@we.lc.ehu.es> References: <Pine.BSF.3.96.980223155021.24778X-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34F40363.FC52391F>