[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kinit
From:       Harri Porten <porten () tu-harburg ! de>
Date:       1999-12-31 12:36:09
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Thu, 30 Dec 1999, CVS by kulow wrote:
> > kdelibs/kinit kinit.cpp,NONE,1.1 setproctitle.cpp,NONE,1.1
> > Makefile.am,1.2,1.3 setproctitle.h,1.1,1.2 kinit.c,1.3,NONE
> > setproctitle.c,1.1,NONE Author: kulow
> > CVSROOT: /home/kde
> > Thu Dec 30 17:56:07 MET 1999
> > Update of /home/kde/kdelibs/kinit
> > In directory zeus:/tmp/cvs-serv21700/kinit
> >
> > Modified Files:
> >       Makefile.am setproctitle.h
> > Added Files:
> >       kinit.cpp setproctitle.cpp
> > Removed Files:
> >       kinit.c setproctitle.c
> > Log Message:
> > KDE libraries aren't made to be linked against C programs as they
> > contain undefined references to standard C++ (new, delete, etc) and
> > this breaks static linking. I tried to make just kinit.c a .cpp file,
> > but this broke extern symbols (kinit.* needs kdecore as it needs
> > (un)setenv).
> 
> Why on earth would you want to link kinit statically?

Well, previously I got:

../kdecore/.libs/libkdecore.so: undefined reference to `endl(ostream &)'
../kdecore/.libs/libkdecore.so: undefined reference to
`ostream::operator<<(char const *)'

If cvs works again allowing me to update I expect these problems to
vanish :)

Harri.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic