From owner-freebsd-questions Wed Dec 20 3:53: 2 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 03:52:57 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from burra.zip.com.au (bart.zip.com.au [61.8.6.5]) by hub.freebsd.org (Postfix) with ESMTP id BE41C37B404; Wed, 20 Dec 2000 03:52:53 -0800 (PST) Received: (from bart@localhost) by burra.zip.com.au (8.9.3/8.9.3) id WAA02659; Wed, 20 Dec 2000 22:53:18 +1100 (EST) (envelope-from bart@burra.zip.com.au) X-Authentication-Warning: dresden.burra.zip.com.au: bart set sender to bart@burra.zip.com.au using -f Sender: bart@burra.zip.com.au To: Bjarne Wichmann Petersen Cc: freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: KDE 2.0.1 refuses to compile. References: <200012192035.VAA23257@usr00.cybercity.dk> From: Bart Lindsey Date: 20 Dec 2000 22:53:17 +1100 In-Reply-To: Bjarne Wichmann Petersen's message of "Tue, 19 Dec 2000 21:35:13 +0100" Message-ID: <87itofz4uq.fsf@localhost.burra.zip.com.au> Lines: 58 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Carlsbad Caverns) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey Bjarne, As this is linking against OpenMotif, the link options ought to include -lXp. Perhaps you could email the port maintainer? Thanks. Cheers, Bart. Bjarne Wichmann Petersen writes: > I'm trying to install KDE 2.0.1 from ports/x11/kde2/... everything goes fine until somewhere into kdebase. This is the error: > > c++ -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O -pipe -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o nspluginviewer nsplugin.o viewer.o kxt.o NSPluginCallbackIface_stub.o NSPluginClassIface_skel.o nspluginviewer_meta_unload.o -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/X11R6/lib -L/usr/local/lib -lXm -ljpeg -ljpeg -L/usr/libexec/elf -L/usr/libexec -L/usr/lib -ljpeg /usr/local/lib/libkio.so /usr/local/lib/libkdeui.so -ljpeg -ljpeg -ljpeg -ljpeg /usr/local/lib/libkdesu.so /usr/local/lib/libkdecore.so /usr/local/lib/libDCOP.so -lqt2 -lpng -ljpeg -lXext -lX11 -lSM -lICE -ljpeg -ljpeg -lutil -ljpeg -lz -ljpeg -lm -lXt -ljpeg -lstdc++ -lgcc -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib > /usr/X11R6/lib/libXm.a(PrintS.o): In function `PrintNotifyHandler': > PrintS.o(.text+0x148): undefined reference to `XpStartPage' > PrintS.o(.text+0x161): undefined reference to `XpEndPage' > PrintS.o(.text+0x179): undefined reference to `XpEndJob' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `ResourcesUpdate': > PrintS.o(.text+0x1db): undefined reference to `XpGetOneAttribute' > PrintS.o(.text+0x26b): undefined reference to `XpGetPageDimensions' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `SelectXpEvents': > PrintS.o(.text+0x308): undefined reference to `XpGetContext' > PrintS.o(.text+0x31b): undefined reference to `XpSelectInput' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `Initialize': > PrintS.o(.text+0x439): undefined reference to `XpQueryExtension' > PrintS.o(.text+0x450): undefined reference to `XpGetContext' > PrintS.o(.text+0x46d): undefined reference to `XpGetScreenOfContext' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `Destroy': > PrintS.o(.text+0x5cf): undefined reference to `XpGetContext' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `FilePipeCB': > PrintS.o(.text+0x75b): undefined reference to `XpGetContext' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `ChildPrintToFile': > PrintS.o(.text+0x820): undefined reference to `XpGetDocumentData' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `XmPrintToFile': > PrintS.o(.text+0x88a): undefined reference to `XpGetContext' > /usr/X11R6/lib/libXm.a(PrintS.o): In function `XmPrintPopupPDM': > PrintS.o(.text+0xac7): undefined reference to `XpGetContext' > PrintS.o(.text+0xae4): undefined reference to `XpGetPdmStartParams' > /usr/X11R6/lib/libXm.a(ImageCache.o): In function `_XmPutScaledImage': > ImageCache.o(.text+0x1707): undefined reference to `XpQueryExtension' > ImageCache.o(.text+0x171a): undefined reference to `XpGetContext' > ImageCache.o(.text+0x1737): undefined reference to `XpGetOneAttribute' > ImageCache.o(.text+0x177a): undefined reference to `XpSetImageResolution' > ImageCache.o(.text+0x17b5): undefined reference to `XpSetImageResolution' > gmake[3]: *** [nspluginviewer] Error 1 > gmake[3]: Leaving directory `/usr/ports/x11/kdebase2/work/kdebase-2.0.1/nsplugins/viewer' > > What am I missing here? And how do I correct it? > > Bjarne > -- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message