E:\eclipse-project\bonjour>python setup.py build
incDirList
= ['c:\\program files\\bonjour sdk\\include']
Running swig with:
|['swig', '-python', '-outdir', 'bonjour', '-new_repr', '-IC:
\\Python23\\include', '-o',
'bonjour_wrap.c', 'bonjour.i']|
running build
running build_py
copying
bonjour\__init__.py -> build\lib.win32-2.3\bonjour
running
build_ext
building 'bonjour._bonjour' extension
D:\Program Files\Microsoft
Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3
/GX /DNDEBUG
"-Ic:\program files\bonjour sdk\include" -IC:\Python23\include
-IC:
\Python23\PC /Tcbonjour_wrap.c
/Fobuild\temp.win32-2.3\Release\bonjour_wrap.obj
/DWIN32
bonjour_wrap.c
c:\program
files\bonjour sdk\include\dns_sd.h(67) : error C2061: syntax error
:
identifier 'uint8_t'
c:\program files\bonjour sdk\include\dns_sd.h(67) :
error C2059: syntax error :
';'
c:\program files\bonjour
sdk\include\dns_sd.h(68) : error C2061: syntax error :
identifier
'int8_t'
c:\program files\bonjour sdk\include\dns_sd.h(68) : error C2059:
syntax error :
';'
c:\program files\bonjour sdk\include\dns_sd.h(69) :
error C2061: syntax error :
identifier 'uint16_t'
c:\program files\bonjour
sdk\include\dns_sd.h(69) : error C2059: syntax error :
';'
c:\program
files\bonjour sdk\include\dns_sd.h(70) : error C2061: syntax error
:
identifier 'int16_t'
c:\program files\bonjour sdk\include\dns_sd.h(70) :
error C2059: syntax error :
';'
c:\program files\bonjour
sdk\include\dns_sd.h(653) : error C2146: syntax error :
missing ')'
before identifier 'port'
c:\program files\bonjour sdk\include\dns_sd.h(653) :
error C2081: 'uint16_t' : n
ame in formal parameter list
illegal
c:\program files\bonjour sdk\include\dns_sd.h(653) : error C2061:
syntax error :
identifier 'port'
c:\program files\bonjour
sdk\include\dns_sd.h(653) : error C2059: syntax error
:
';'
c:\program files\bonjour sdk\include\dns_sd.h(653) : error
C2059: syntax error :
','
c:\program files\bonjour
sdk\include\dns_sd.h(658) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(697) : error
C2146: syntax error :
missing ')' before identifier
'rrtype'
c:\program files\bonjour sdk\include\dns_sd.h(697) : error C2081:
'uint16_t' : n
ame in formal parameter list illegal
c:\program
files\bonjour sdk\include\dns_sd.h(697) : error C2061: syntax error
:
identifier 'rrtype'
c:\program files\bonjour
sdk\include\dns_sd.h(697) : error C2059: syntax error
:
';'
c:\program files\bonjour sdk\include\dns_sd.h(697) : error
C2059: syntax error :
','
c:\program files\bonjour
sdk\include\dns_sd.h(701) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(737) : error
C2146: syntax error :
missing ')' before identifier
'rdlen'
c:\program files\bonjour sdk\include\dns_sd.h(737) : error C2081:
'uint16_t' : n
ame in formal parameter list illegal
c:\program
files\bonjour sdk\include\dns_sd.h(737) : error C2061: syntax error
:
identifier 'rdlen'
c:\program files\bonjour
sdk\include\dns_sd.h(737) : error C2059: syntax error
:
';'
c:\program files\bonjour sdk\include\dns_sd.h(737) : error
C2059: syntax error :
','
c:\program files\bonjour
sdk\include\dns_sd.h(740) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(930) : error
C2146: syntax error :
missing ')' before identifier
'port'
c:\program files\bonjour sdk\include\dns_sd.h(930) : error C2081:
'uint16_t' : n
ame in formal parameter list illegal
c:\program
files\bonjour sdk\include\dns_sd.h(930) : error C2061: syntax error
:
identifier 'port'
c:\program files\bonjour
sdk\include\dns_sd.h(930) : error C2059: syntax error
:
';'
c:\program files\bonjour sdk\include\dns_sd.h(930) : error
C2059: syntax error :
','
c:\program files\bonjour
sdk\include\dns_sd.h(934) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(983) : error
C2146: syntax error :
missing ')' before identifier
'callBack'
c:\program files\bonjour sdk\include\dns_sd.h(983) : error C2081:
'DNSServiceRes
olveReply' : name in formal parameter list
illegal
c:\program files\bonjour sdk\include\dns_sd.h(983) : error C2061:
syntax error :
identifier 'callBack'
c:\program files\bonjour
sdk\include\dns_sd.h(983) : error C2059: syntax error
:
';'
c:\program files\bonjour sdk\include\dns_sd.h(983) : error
C2059: syntax error :
','
c:\program files\bonjour
sdk\include\dns_sd.h(985) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(1100) : error
C2146: syntax error
: missing ')' before identifier 'rrtype'
c:\program
files\bonjour sdk\include\dns_sd.h(1100) : error C2081: 'uint16_t' :
name in
formal parameter list illegal
c:\program files\bonjour
sdk\include\dns_sd.h(1100) : error C2061: syntax error
: identifier
'rrtype'
c:\program files\bonjour sdk\include\dns_sd.h(1100) : error C2059:
syntax error
: ';'
c:\program files\bonjour sdk\include\dns_sd.h(1100) :
error C2059: syntax error
: ','
c:\program files\bonjour
sdk\include\dns_sd.h(1107) : error C2059: syntax error
: ')'
c:\program
files\bonjour sdk\include\dns_sd.h(1154) : error C2146: syntax error
:
missing ')' before identifier 'rrtype'
c:\program files\bonjour
sdk\include\dns_sd.h(1154) : error C2081: 'uint16_t' :
name in formal
parameter list illegal
c:\program files\bonjour sdk\include\dns_sd.h(1154) :
error C2061: syntax error
: identifier 'rrtype'
c:\program files\bonjour
sdk\include\dns_sd.h(1154) : error C2059: syntax error
: ';'
c:\program
files\bonjour sdk\include\dns_sd.h(1154) : error C2059: syntax error
:
','
c:\program files\bonjour sdk\include\dns_sd.h(1160) : error C2059: syntax
error
: ')'
c:\program files\bonjour sdk\include\dns_sd.h(1207) : error
C2146: syntax error
: missing ')' before identifier 'rrtype'
c:\program
files\bonjour sdk\include\dns_sd.h(1207) : error C2081: 'uint16_t' :
name in
formal parameter list illegal
c:\program files\bonjour
sdk\include\dns_sd.h(1207) : error C2061: syntax error
: identifier
'rrtype'
c:\program files\bonjour sdk\include\dns_sd.h(1207) : error C2059:
syntax error
: ';'
c:\program files\bonjour sdk\include\dns_sd.h(1207) :
error C2059: syntax error
: ','
c:\program files\bonjour
sdk\include\dns_sd.h(1211) : error C2059: syntax error
: ')'
c:\program
files\bonjour sdk\include\dns_sd.h(1245) : error C2146: syntax error
:
missing ')' before identifier 'rrtype'
c:\program files\bonjour
sdk\include\dns_sd.h(1245) : error C2081: 'uint16_t' :
name in formal
parameter list illegal
c:\program files\bonjour sdk\include\dns_sd.h(1245) :
error C2061: syntax error
: identifier 'rrtype'
c:\program files\bonjour
sdk\include\dns_sd.h(1245) : error C2059: syntax error
: ';'
c:\program
files\bonjour sdk\include\dns_sd.h(1245) : error C2059: syntax error
:
','
c:\program files\bonjour sdk\include\dns_sd.h(1249) : error C2059: syntax
error
: ')'
c:\program files\bonjour sdk\include\dns_sd.h(1367) : error
C2146: syntax error
: missing ')' before identifier 'bufferLen'
c:\program
files\bonjour sdk\include\dns_sd.h(1367) : error C2081: 'uint16_t' :
name in
formal parameter list illegal
c:\program files\bonjour
sdk\include\dns_sd.h(1367) : error C2061: syntax error
: identifier
'bufferLen'
c:\program files\bonjour sdk\include\dns_sd.h(1367) : error
C2059: syntax error
: ';'
c:\program files\bonjour
sdk\include\dns_sd.h(1367) : error C2059: syntax error
: ','
c:\program
files\bonjour sdk\include\dns_sd.h(1369) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(1429) : error C2146: syntax
error
: missing ')' before identifier 'valueSize'
c:\program files\bonjour
sdk\include\dns_sd.h(1429) : error C2081: 'uint8_t' : n
ame in formal
parameter list illegal
c:\program files\bonjour sdk\include\dns_sd.h(1429) :
error C2061: syntax error
: identifier 'valueSize'
c:\program
files\bonjour sdk\include\dns_sd.h(1429) : error C2059: syntax error
:
';'
c:\program files\bonjour sdk\include\dns_sd.h(1429) : error C2059: syntax
error
: ','
c:\program files\bonjour sdk\include\dns_sd.h(1431) : error
C2059: syntax error
: ')'
c:\program files\bonjour
sdk\include\dns_sd.h(1469) : error C2143: syntax error
: missing '{' before
'__stdcall'
c:\program files\bonjour sdk\include\dns_sd.h(1544) : error
C2146: syntax error
: missing ')' before identifier 'txtLen'
c:\program
files\bonjour sdk\include\dns_sd.h(1544) : error C2061: syntax error
:
identifier 'txtLen'
c:\program files\bonjour sdk\include\dns_sd.h(1544) :
error C2059: syntax error
: ';'
c:\program files\bonjour
sdk\include\dns_sd.h(1544) : error C2059: syntax error
: ','
c:\program
files\bonjour sdk\include\dns_sd.h(1547) : error C2059: syntax error
:
')'
c:\program files\bonjour sdk\include\dns_sd.h(1573) : error C2146: syntax
error
: missing ')' before identifier 'txtLen'
c:\program files\bonjour
sdk\include\dns_sd.h(1573) : error C2061: syntax error
: identifier
'txtLen'
c:\program files\bonjour sdk\include\dns_sd.h(1573) : error C2059:
syntax error
: ';'
c:\program files\bonjour sdk\include\dns_sd.h(1573) :
error C2059: syntax error
: ','
c:\program files\bonjour
sdk\include\dns_sd.h(1577) : error C2059: syntax error
: ')'
c:\program
files\bonjour sdk\include\dns_sd.h(1593) : error C2143: syntax error
:
missing '{' before '__stdcall'
c:\program files\bonjour
sdk\include\dns_sd.h(1595) : error C2146: syntax error
: missing ')' before
identifier 'txtLen'
c:\program files\bonjour sdk\include\dns_sd.h(1595) :
error C2061: syntax error
: identifier 'txtLen'
c:\program files\bonjour
sdk\include\dns_sd.h(1595) : error C2059: syntax error
: ';'
c:\program
files\bonjour sdk\include\dns_sd.h(1595) : error C2059: syntax error
:
','
c:\program files\bonjour sdk\include\dns_sd.h(1597) : error C2059: syntax
error
: ')'
c:\program files\bonjour sdk\include\dns_sd.h(1640) : error
C2146: syntax error
: missing ')' before identifier 'txtLen'
c:\program
files\bonjour sdk\include\dns_sd.h(1640) : error C2061: syntax error
:
identifier 'txtLen'
c:\program files\bonjour sdk\include\dns_sd.h(1640) :
error C2059: syntax error
: ';'
c:\program files\bonjour
sdk\include\dns_sd.h(1640) : error C2059: syntax error
: ','
c:\program
files\bonjour sdk\include\dns_sd.h(1647) : error C2059: syntax error
:
')'
bonjour_wrap.c(2673) : error C2146: syntax error : missing ')' before
identifier
'port'
bonjour_wrap.c(2673) : error C2081: 'uint16_t' :
name in formal parameter list i
llegal
bonjour_wrap.c(2673) : error C2061:
syntax error : identifier 'port'
bonjour_wrap.c(2673) : error C2059: syntax
error : ';'
bonjour_wrap.c(2673) : error C2059: syntax error :
','
bonjour_wrap.c(2673) : fatal error C1003: error count exceeds 100;
stopping comp
ilation
error: command '"D:\Program Files\Microsoft Visual
Studio\VC98\BIN\cl.exe"' fail
ed with exit status 2