Subject: | Can't compile in MS WinXP |
today i'm try to compile DBD-Interbase. And have error.
i have
InterBase/Firebird bin directory : [C:\Program
Files\Firebird\Firebird_2_0\bin]
InterBase/Firebird include directory : [C:\Program
Files\Firebird\Firebird_2_0\i
nclude]
Visual C++ directory : [c:\VS6/bin]
InterBase lib directory : [C:\Program Files\Firebird\Firebird_2_0\lib]
and when i try compile i have next error
cl -c -I"C:\Program Files\Firebird\Firebird_2_0\include" -I"C:/
Perl/sit
e/lib/auto/DBI" -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.48\" -
DXS_VERSION=\"0.4
8\" "-IC:\Perl\lib\CORE" InterBase.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
InterBase.c
C:\Perl\lib\CORE\win32.h(326) : error C2143: syntax error : missing ')'
before '
*'
C:\Perl\lib\CORE\win32.h(326) : error C2081: 'Stat_t' : name in formal
parameter
list illegal
C:\Perl\lib\CORE\win32.h(326) : error C2143: syntax error : missing '{'
before '
*'
C:\Perl\lib\CORE\win32.h(326) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\win32.h(445) : error C2143: syntax error : missing ')'
before '
*'
C:\Perl\lib\CORE\win32.h(445) : error C2143: syntax error : missing '{'
before '
*'
C:\Perl\lib\CORE\win32.h(445) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(117) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(117) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(117) : error C2371: 'PerlIO_funcs' :
redefinition; dif
ferent basic types
C:\Perl\lib\CORE\perlio.h(100) : see declaration of
'PerlIO_funcs'
C:\Perl\lib\CORE\perlio.h(117) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(117) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(117) : error C2059: syntax error : ';'
C:\Perl\lib\CORE\perlio.h(118) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(118) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(118) : error C2059: syntax error : 'type'
C:\Perl\lib\CORE\perlio.h(120) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(121) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(121) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(121) : error C2040: 'PerlIO' : 'int ' differs
in level
s of indirection from 'struct _PerlIO *'
C:\Perl\lib\CORE\perlio.h(121) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(121) : error C2371: 'PerlIO_funcs' :
redefinition; dif
ferent basic types
C:\Perl\lib\CORE\perlio.h(100) : see declaration of
'PerlIO_funcs'
C:\Perl\lib\CORE\perlio.h(121) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(121) : error C2059: syntax error : ','
C:\Perl\lib\CORE\perlio.h(122) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(123) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(123) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(123) : error C2040: 'PerlIO' : 'int ' differs
in level
s of indirection from 'struct _PerlIO *'
C:\Perl\lib\CORE\perlio.h(123) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(123) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(124) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(124) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(124) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(124) : error C2040: 'PerlIO' : 'int ' differs
in level
s of indirection from 'struct _PerlIO *'
C:\Perl\lib\CORE\perlio.h(124) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(124) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(125) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(125) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(125) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(126) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(126) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(220) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(220) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(220) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(233) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(233) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(233) : error C2059: syntax error : 'type'
C:\Perl\lib\CORE\perlio.h(235) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(345) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(345) : error C2081: 'SV' : name in formal
parameter li
st illegal
C:\Perl\lib\CORE\perlio.h(345) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(345) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(345) : error C2059: syntax error : ';'
C:\Perl\lib\CORE\perlio.h(348) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(348) : error C2081: 'SV' : name in formal
parameter li
st illegal
C:\Perl\lib\CORE\perlio.h(348) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(348) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(348) : error C2059: syntax error : ';'
C:\Perl\lib\CORE\perlio.h(351) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(351) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(351) : error C2040: 'PerlIO' : 'int ' differs
in level
s of indirection from 'struct _PerlIO *'
C:\Perl\lib\CORE\perlio.h(351) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(351) : error C2059: syntax error : ','
C:\Perl\lib\CORE\perlio.h(351) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(360) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(360) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(360) : error C2040: 'PerlIO' : 'int ' differs
in level
s of indirection from 'struct _PerlIO *'
C:\Perl\lib\CORE\perlio.h(360) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(360) : error C2059: syntax error : 'type'
C:\Perl\lib\CORE\perlio.h(361) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(364) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(364) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(364) : error C2040: 'PerlIO' : 'int ' differs
in level
s of indirection from 'struct _PerlIO *'
C:\Perl\lib\CORE\perlio.h(364) : error C2143: syntax error : missing
';' before
'*'
C:\Perl\lib\CORE\perlio.h(364) : error C2059: syntax error : 'type'
C:\Perl\lib\CORE\perlio.h(365) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(371) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(371) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(371) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perlio.h(376) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\perlio.h(376) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\perlio.h(376) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\win32iop.h(73) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\win32iop.h(73) : error C2081: 'Stat_t' : name in
formal paramet
er list illegal
C:\Perl\lib\CORE\win32iop.h(73) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\win32iop.h(73) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\win32iop.h(74) : error C2143: syntax error : missing
')' before
'*'
C:\Perl\lib\CORE\win32iop.h(74) : error C2081: 'Stat_t' : name in
formal paramet
er list illegal
C:\Perl\lib\CORE\win32iop.h(74) : error C2143: syntax error : missing
'{' before
'*'
C:\Perl\lib\CORE\win32iop.h(74) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\win32iop.h(77) : error C2146: syntax error : missing
')' before
identifier 'narg'
C:\Perl\lib\CORE\win32iop.h(77) : error C2081: 'IV' : name in formal
parameter l
ist illegal
C:\Perl\lib\CORE\win32iop.h(77) : error C2061: syntax error :
identifier 'narg'
C:\Perl\lib\CORE\win32iop.h(77) : error C2059: syntax error : ';'
C:\Perl\lib\CORE\win32iop.h(77) : error C2059: syntax error : ','
C:\Perl\lib\CORE\win32iop.h(77) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\win32iop.h(133) : error C2143: syntax error : missing
')' befor
e '*'
C:\Perl\lib\CORE\win32iop.h(133) : error C2081: 'Stat_t' : name in
formal parame
ter list illegal
C:\Perl\lib\CORE\win32iop.h(133) : error C2143: syntax error : missing
'{' befor
e '*'
C:\Perl\lib\CORE\win32iop.h(133) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\perl.h(1108) : warning C4273: 'win32_strerror' :
inconsistent d
ll linkage. dllexport assumed.
C:\Perl\lib\CORE\perl.h(2079) : error C2371: 'PerlInterpreter' :
redefinition; d
ifferent basic types
C:\Perl\lib\CORE\perlio.h(125) : see declaration of
'PerlInterpreter'
C:\Perl\lib\CORE\perl.h(2079) : fatal error C1003: error count exceeds
100; stop
ping compilation
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x2'
Stop.