Skip site navigation (1)Skip section navigation (2)
Date:      20 Dec 2000 22:53:17 +1100
From:      Bart Lindsey <bart@burra.zip.com.au>
To:        Bjarne Wichmann Petersen <mekanix@vip.cybercity.dk>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: KDE 2.0.1 refuses to compile.
Message-ID:  <87itofz4uq.fsf@localhost.burra.zip.com.au>
In-Reply-To: Bjarne Wichmann Petersen's message of "Tue, 19 Dec 2000 21:35:13 %2B0100"
References:  <200012192035.VAA23257@usr00.cybercity.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <mekanix@vip.cybercity.dk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87itofz4uq.fsf>