[Kde-windows] Problem building kdelibs
Albert Astals Cid
aacid at kde.org
Wed Nov 23 00:19:38 CET 2005
A Dimarts 22 Novembre 2005 23:38, Ralf Habacker va escriure:
> Albert Astals Cid schrieb:
> >Hi, i downloaded kdelibs from trunk and scons, did scons to "configure"
> > and scons to build and it can not even build the first file
> > (dcop/client/dcop.o), i think it builds "a bit more" so maybe i'm missing
> > something or doing something very wrong.
> >I'm using windows cmd, scons 0.96.91, kdelibs from today and mingw32-gcc
> > 3.4.2
> >Any idea?
> Do you have run "scons configure" at first ?
No, but the first scons produced the same output, so yes i ran it.
> The prelimary compiling howto for mingw on
>with-mingw.html may help.
Did not help much :-/
obj.includes += ' ../../win/include '
in Sconscript of dcop/client i've reduced the error to the attached
-------------- next part --------------
In file included from build/config.h:5,
build/config-lowlevel.h:37: error: `gid_t' has not been declared
build/config-lowlevel.h:37: error: ISO C++ forbids declaration of `parameter' with no type
dcop\client\dcop.cpp:28:17: pwd.h: No such file or directory
In file included from dcop\client\/marshall.cpp:26,
dcop\client\/../../kdecore/kurl.cpp: In member function `bool KURL::isLocalFile() const':
dcop\client\/../../kdecore/kurl.cpp:1482: error: `gethostname' undeclared (first use this function)
dcop\client\/../../kdecore/kurl.cpp:1482: error: (Each undeclared identifier is reported only once for each function it appears in.)
dcop\client\dcop.cpp: In function `UserList userList()':
dcop\client\dcop.cpp:381: error: `passwd' undeclared (first use this function)
dcop\client\dcop.cpp:381: error: `pstruct' undeclared (first use this function)
dcop\client\dcop.cpp:381: error: `getpwent' undeclared (first use this function)
scons: *** [build\dcop\client\dcop.o] Error 1
More information about the Kde-windows