KDEWIN32 library

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Tue Feb 14 11:51:55 CET 2006


> -----Original Message-----
> From: Paulo Jorge Guedes [mailto:Paulo.Guedes at artelecom.pt]
> Sent: terça-feira, 14 de Fevereiro de 2006 10:33
> To: neundorf at kde.org; kde-buildsystem at kde.org
> Subject: RE: KDEWIN32 library
> 
> Hi Alex,
> 
> > -----Original Message-----
> > From: Alexander Neundorf [mailto:neundorf at kde.org]
> > Sent: segunda-feira, 13 de Fevereiro de 2006 18:11
> > To: kde-buildsystem at kde.org
> > Subject: Re: KDEWIN32 library
> >
> > > -- Found Qt-Version 4.0.1
> > > -- Building kdelibs...
> > > CYGWIN
> >
> > Where does this output come from ? Do you run this actually under
> cygwin
> > or
> > msvc ?
> > If you run this under cygwin, it should fail with the error:
> > "Support for Cygwin not yet implemented, please edit FindKDE4.cmake to
> > enable
> > it"
> 
> It comes from my head :)
> I removed that line of code and replaced with that message.
> 
> Now I'm trying to solve this error:
> 
> Please set the following variables:
> QT_QT3SUPPORT_LIBRARY (ADVANCED)
> QT_QTCORE_LIBRARY (ADVANCED)

I set them with ccmake and now I'm having the following errors:

Scanning dependencies of target kdewin32
Building CXX object CMakeFiles/kdewin32.dir/src/bootstrap.o
In file included from d:/kde/trunk/kdelibs/win/include/msvc/stdio.h:24,
                 from d:/kde/trunk/kdelibs/win/src/bootstrap.cpp:20:
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:28: error: conflicting declara
tion 'typedef unsigned int useconds_t'
/usr/include/../include/sys/types.h:265: error: 'useconds_t' has a previous decl
aration as `typedef long int useconds_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:28: error: declaration of `typ
edef unsigned int useconds_t'
/usr/include/../include/sys/types.h:265: error: conflicts with previous declarat
ion `typedef long int useconds_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:28: error: declaration of `typ
edef unsigned int useconds_t'
/usr/include/../include/sys/types.h:265: error: conflicts with previous declarat
ion `typedef long int useconds_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:29: error: conflicting declara
tion 'typedef unsigned int uid_t'
/usr/include/cygwin/types.h:87: error: 'uid_t' has a previous declaration as `ty
pedef __uid32_t uid_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:29: error: declaration of `typ
edef unsigned int uid_t'
/usr/include/cygwin/types.h:87: error: conflicts with previous declaration `type
def __uid32_t uid_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:29: error: declaration of `typ
edef unsigned int uid_t'
/usr/include/cygwin/types.h:87: error: conflicts with previous declaration `type
def __uid32_t uid_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:30: error: conflicting declara
tion 'typedef unsigned int gid_t'
/usr/include/cygwin/types.h:98: error: 'gid_t' has a previous declaration as `ty
pedef __gid32_t gid_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:30: error: declaration of `typ
edef unsigned int gid_t'
/usr/include/cygwin/types.h:98: error: conflicts with previous declaration `type
def __gid32_t gid_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:30: error: declaration of `typ
edef unsigned int gid_t'
/usr/include/cygwin/types.h:98: error: conflicts with previous declaration `type
def __gid32_t gid_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:31: error: conflicting declara
tion 'typedef int caddr_t'
/usr/include/../include/sys/types.h:126: error: 'caddr_t' has a previous declara
tion as `typedef char*caddr_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:31: error: declaration of `typ
edef int caddr_t'
/usr/include/../include/sys/types.h:126: error: conflicts with previous declarat
ion `typedef char*caddr_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:31: error: declaration of `typ
edef int caddr_t'
/usr/include/../include/sys/types.h:126: error: conflicts with previous declarat
ion `typedef char*caddr_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:33: error: conflicting declara
tion 'typedef unsigned int nlink_t'
/usr/include/../include/sys/types.h:203: error: 'nlink_t' has a previous declara
tion as `typedef short unsigned int nlink_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:33: error: declaration of `typ
edef unsigned int nlink_t'
/usr/include/../include/sys/types.h:203: error: conflicts with previous declarat
ion `typedef short unsigned int nlink_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:33: error: declaration of `typ
edef unsigned int nlink_t'
/usr/include/../include/sys/types.h:203: error: conflicts with previous declarat
ion `typedef short unsigned int nlink_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:42: error: conflicting declara
tion 'typedef size_t ssize_t'
/usr/include/../include/sys/types.h:184: error: 'ssize_t' has a previous declara
tion as `typedef _ssize_t ssize_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:42: error: declaration of `typ
edef size_t ssize_t'
/usr/include/../include/sys/types.h:184: error: conflicts with previous declarat
ion `typedef _ssize_t ssize_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:42: error: declaration of `typ
edef size_t ssize_t'
/usr/include/../include/sys/types.h:184: error: conflicts with previous declarat
ion `typedef _ssize_t ssize_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:64: error: conflicting declara
tion 'typedef short unsigned int mode_t'
/usr/include/cygwin/types.h:205: error: 'mode_t' has a previous declaration as `
typedef unsigned int mode_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:64: error: declaration of `typ
edef short unsigned int mode_t'
/usr/include/cygwin/types.h:205: error: conflicts with previous declaration `typ
edef unsigned int mode_t'
d:/kde/trunk/kdelibs/win/include/msvc/sys/types.h:64: error: declaration of `typ
edef short unsigned int mode_t'
/usr/include/cygwin/types.h:205: error: conflicts with previous declaration `typ
edef unsigned int mode_t'
In file included from d:/kde/trunk/kdelibs/win/src/bootstrap.cpp:21:
d:/kde/trunk/kdelibs/win/include/msvc/string.h:40: error: declaration of C funct
ion `long unsigned int strlcpy(char*, const char*, long unsigned int)' conflicts
 with
/usr/include/../include/string.h:70: error: previous declaration `size_t strlcpy
(char*, const char*, size_t)' here
d:/kde/trunk/kdelibs/win/include/msvc/string.h:42: error: declaration of C funct
ion `long unsigned int strlcat(char*, const char*, long unsigned int)' conflicts
 with
/usr/include/../include/string.h:69: error: previous declaration `size_t strlcat
(char*, const char*, size_t)' here
In file included from d:/kde/trunk/kdelibs/win/src/bootstrap.cpp:22:
d:/kde/trunk/kdelibs/win/include/msvc/stdlib.h:41: error: declaration of C funct
ion `long int random()' conflicts with
/usr/include/cygwin/stdlib.h:24: error: previous declaration `int random()' here

d:/kde/trunk/kdelibs/win/include/msvc/stdlib.h:43: error: declaration of C funct
ion `void srandom(unsigned int)' conflicts with
/usr/include/cygwin/stdlib.h:25: error: previous declaration `long int srandom(u
nsigned int)' here
d:/kde/trunk/kdelibs/win/include/msvc/stdlib.h:51: error: declaration of C funct
ion `void unsetenv(const char*)' conflicts with
/usr/include/cygwin/stdlib.h:23: error: previous declaration `int unsetenv(const
 char*)' here
In file included from d:/kde/trunk/kdelibs/win/src/bootstrap.cpp:26:
/usr/include/winsock2.h:95:2: warning: #warning "fd_set and associated macros ha
ve been defined in sys/types.      This may cause runtime problems with W32 sock
ets"
make[2]: *** [CMakeFiles/kdewin32.dir/src/bootstrap.o] Error 1
make[1]: *** [CMakeFiles/kdewin32.dir/all] Error 2
make: *** [all] Error 2

Sorry for the long output.

Paulo


More information about the Kde-buildsystem mailing list