[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KDE 1.1.2 compilation error on linux i386
From: Stephan Kulow <coolo () caldera ! de>
Date: 1999-08-13 14:20:01
[Download RAW message or body]
Lars Knoll wrote:
>
> On Fri, 13 Aug 1999, Dawit Alemayehu wrote:
>
> > On Fri, 13 Aug 1999, Matthias Hoelzer-Kluepfel wrote:
> > > On Fri, 13 Aug 1999, Moritz Moeller-Herrmann wrote:
> > >
> > > > Could this be because of one week old kdelibs? I thought everything should
> > > > stay compatible?
> > >
> > > Well, the libs are still compatible, but kfm and kfmclient
> > > have changed ;-)
> > >
> > > That means: kfm/kfmclient from 1.1.1 will run with the libs
> > > from 1.1.2, but not vice versa.
> > >
> > >
> > > > Making all in client
> > > > make[3]: Entering directory `/home/moritz/download/kde/kdebase/kfm/client'
> > > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include \
> > > > -I/usr/local/qt/include -I Omake[3]: Leaving directory \
> > > > `/home/moritz/download/kde/kdebase/kikbd/maps/codes' ?kfmclient.cpp:86: \
> > > > warning: implicit declaration of function `int displayName(...)'g++ \
> > > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/usr/local/qt/include \
> > > > -I/usr/X11R6/include -I./.. -O2 -Wall -c \
> > > > ../../kfm/debug.cpp
> > > > /bin/sh ../../libtool --silent --mode=link g++ -O2 -Wall -L/opt/kde/lib \
> > > > -L/usr/local/qt/lib -L/usr/X11R6/lib -rpath /opt/kde/lib -rpath \
> > > > /usr/locall/qt/lib -rpath /usr/X11R6/lib -o kfmclient kfmclient.o -lkfm \
> > > > -lkdecore -lXext -lqt -lX11
> > > > kfmclient.o: In function `doIt(int, char **)':
> > > > kfmclient.o(.text+0x18b): undefined reference to `displayName'
> > > > collect2: ld returned 1 exit status
> > > > make[3]: *** [kfmclient] Error 1
> > >
> > > The problem was that before, libkfm and kfm/kfmclient both
> > > defined displayName(), which crashed when compiling static
> > > binaries. So I took declared the function in libkfm, and made
> > > kfm/kfmclient use these.
>
> Is there any reason why displayName() is declared static in kfm.h?
> If not, I would like to remove the static qualifier, because this breaks
> compilation for me (alpha/osf1).
No, it shouldn't be static. But I wonder why it worked for me.
Greetings, Stephan
--
Better give your hours some more life than
your life some more hours. - anonymous
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic