Build errors
Maarten Th. Mulders
maarten.mulders at student.eur.nl
Wed Mar 29 00:32:10 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
after cmake ran without any problems (thanks, Alex), I try to build the
project using Visual C++ Express 2005.
The first error is solved quite easily, MSVC doesn't recognize
KDEWIN32_EXPORT but with the little patch attached, that problem is solved.
Unfortunately, dozens of errors last and I don't know how to fix them.
Maybe my build-configuration is wrong, maybe only one #include-statement
is forgotten?
I will only take the first header-file as an example.
C:\Program Files\kdewin32\include\msvc\sys/wait.h(49) : error C2061:
syntax error : identifier 'wait'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(49) : error C2059:
syntax error : ';'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(49) : error C2059:
syntax error : 'type'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2061:
syntax error : identifier 'waitpid'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2059:
syntax error : ';'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2143:
syntax error : missing ')' before ','
C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2059:
syntax error : 'type'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(50) : error C2059:
syntax error : ')'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(51) : error C2061:
syntax error : identifier 'wait3'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(51) : error C2059:
syntax error : ';'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(51) : error C2059:
syntax error : 'type'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2061:
syntax error : identifier 'wait4'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2059:
syntax error : ';'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2146:
syntax error : missing ')' before identifier '__pid'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2061:
syntax error : identifier '__pid'
C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2059:
syntax error : ','
C:\Program Files\kdewin32\include\msvc\sys/wait.h(52) : error C2059:
syntax error : ')'
After this, the errors continue with C:\Program
Files\kdewin32\include\msvc\sys\unistd.h,
Then another serie of errors comes up:
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1021) : warning C4013:
'snprintf' undefined; assuming extern returning int
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1260) : error C2036:
'iovec *' : unknown size
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1261) : error C2037:
left of 'iov_len' specifies undefined struct/union 'iovec'
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1262) : error C2037:
left of 'iov_base' specifies undefined struct/union 'iovec'
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1292) : error C2036:
'iovec *' : unknown size
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1293) : error C2037:
left of 'iov_len' specifies undefined struct/union 'iovec'
d:\source\kde-svn\kdelibs\dcop\kde-ice\Xtrans.c(1294) : error C2037:
left of 'iov_base' specifies undefined struct/union 'iovec'
Well, I can continue for lines and lines but I hope the problem is clear
now. Ideas, anyone?
Thanks in advance,
Maarten Th. Mulders
- --
De digitale handtekening voor deze mail is te controleren met
* Thunderbird: de Enigmail-extensie (http://enigmail.mozdev.org/)
* Outlook (Express): de GnuPG-Plugin (http://www3.gdata.de/gpg/index.html).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEKblqrlDGjB4EDkARAhesAKCA3iDSjB1kNOU+1usvTduX6CaiDQCbBtJc
mUzc1XwxTK3axNnevSw5uJY=
=R19c
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: KDEWIN32_EXPORT fix.diff
Url: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060329/65c8b2bd/attachment.ksh
More information about the Kde-buildsystem
mailing list