Hi all

At first, I´m a beginner in ARSPerl.

I compiled ARSPerl 1.85 on Windows 20000 with ActivePerl and nmake15
using ARS API from ftp.remedy.com. 

This are the steps I have done:

1. Install all tools and libs, I need. 
   (ActivePerl, Virtual Studio 6.0, namke)
2. Download ARSPerl 1.85 source, extract it to C:\ARSAPI\ARSperl\
3. Download api from ftp.remedy.com, copy ARS api & libs directories to 
C:\ARSAPI\arsapi\
4. Open Makefile.PL and change the $ARSAPI variable to $ARSAPI = 
q{C:\ARSAPI\arsapi};
5. Change version number in Makefile.PL to VERSION = 6.3 and save the 
Makefile.PL
5. 'perl Makefile.PL' in the MS-DOS command-line (run without errors or 
warnings)
6. 'nmake' in the MS-DOS command-line (lots of errors, see below)

__________________________________________________________________________

C:\ARSAPI\ARSperl>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c  -IC:\ARSAPI\arsapi/include  -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 
-DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE 
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI
CIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    
-DVERSION=\"1.84\"  -DXS_VERSION=
\"1.84\"  "-IC:\Perl\lib\CORE"  -D_WIN32  -DARS32  -DARS452  
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSIO
N_IS=8 -DPERL_BASEREV_IS=50 ARS.c
ARS.c
support.h(598) : error C2143: syntax error : missing ')' before '*'
support.h(598) : error C2081: 'ARFilterStatusStruct' : name in formal parameter 
list illegal
support.h(598) : error C2143: syntax error : missing '{' before '*'
support.h(598) : error C2059: syntax error : ')'
support.h(598) : error C2059: syntax error : ';'
support.h(628) : error C2143: syntax error : missing ')' before '*'
support.h(628) : error C2081: 'ARContainerOwnerObj' : name in formal parameter 
list illegal
support.h(628) : error C2143: syntax error : missing '{' before '*'
support.h(628) : error C2059: syntax error : ')'
support.h(628) : error C2059: syntax error : ';'
support.h(632) : error C2143: syntax error : missing ')' before '*'
support.h(632) : error C2081: 'ARReferenceStruct' : name in formal parameter 
list illegal
support.h(632) : error C2143: syntax error : missing '{' before '*'
support.h(632) : error C2059: syntax error : ')'
support.h(632) : error C2059: syntax error : ';'
support.h(633) : error C2143: syntax error : missing ')' before '*'
support.h(633) : error C2081: 'ARReferenceList' : name in formal parameter list 
illegal
support.h(633) : error C2143: syntax error : missing '{' before '*'
support.h(633) : error C2059: syntax error : ')'
support.h(633) : error C2059: syntax error : ';'
supportrev.h(73) : error C2143: syntax error : missing ')' before '*'
supportrev.h(73) : error C2081: 'ARFilterStatusStruct' : name in formal 
parameter list illegal
supportrev.h(73) : error C2143: syntax error : missing '{' before '*'
supportrev.h(73) : error C2059: syntax error : ')'
ARS.xs(394) : error C2039: 'sessionId' : is not a member of 'ARControlStruct'
        C:\ARSAPI\arsapi/include\ar.h(167) : see declaration of 
'ARControlStruct'
ARS.xs(394) : error C2198: 'Perl_newSViv' : too few actual parameters
ARS.xs(1168) : error C2065: 'ARReferenceTypeList' : undeclared identifier
ARS.xs(1168) : error C2146: syntax error : missing ';' before identifier 
'refTypes'
ARS.xs(1168) : error C2065: 'refTypes' : undeclared identifier
ARS.xs(1169) : error C2275: 'ARPermissionList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(1069) : see declaration of 
'ARPermissionList'
ARS.xs(1169) : error C2146: syntax error : missing ';' before identifier 
'groupList'
ARS.xs(1169) : error C2065: 'groupList' : undeclared identifier
ARS.xs(1170) : error C2275: 'ARInternalIdList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(146) : see declaration of 
'ARInternalIdList'
ARS.xs(1170) : error C2146: syntax error : missing ';' before identifier 
'adminGroupList'
ARS.xs(1170) : error C2065: 'adminGroupList' : undeclared identifier
ARS.xs(1174) : error C2065: 'ARContainerOwnerObj' : undeclared identifier
ARS.xs(1174) : error C2146: syntax error : missing ';' before identifier 
'ownerObj'
ARS.xs(1174) : error C2065: 'ownerObj' : undeclared identifier
ARS.xs(1176) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1177) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1178) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1179) : error C2065: 'ARReferenceList' : undeclared identifier
ARS.xs(1179) : error C2146: syntax error : missing ';' before identifier 
'references'
ARS.xs(1179) : error C2065: 'references' : undeclared identifier
ARS.xs(1180) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1184) : error C2275: 'ARNameType' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(133) : see declaration of 'ARNameType'
ARS.xs(1184) : error C2146: syntax error : missing ';' before identifier 'owner'
ARS.xs(1184) : error C2065: 'owner' : undeclared identifier
ARS.xs(1186) : error C2275: 'ARTimestamp' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(135) : see declaration of 'ARTimestamp'
ARS.xs(1186) : error C2146: syntax error : missing ';' before identifier 
'timestamp'
ARS.xs(1186) : error C2065: 'timestamp' : undeclared identifier
ARS.xs(1190) : error C2275: 'ARNameType' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(133) : see declaration of 'ARNameType'
ARS.xs(1190) : error C2146: syntax error : missing ';' before identifier 
'lastChanged'
ARS.xs(1190) : error C2065: 'lastChanged' : undeclared identifier
ARS.xs(1192) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1193) : error C2275: 'ARPropList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(564) : see declaration of 'ARPropList'
ARS.xs(1193) : error C2146: syntax error : missing ';' before identifier 
'objPropList'
ARS.xs(1193) : error C2065: 'objPropList' : undeclared identifier
ARS.xs(1197) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1198) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1199) : error C2275: 'ARDiaryList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(1571) : see declaration of 'ARDiaryList'
ARS.xs(1199) : error C2146: syntax error : missing ';' before identifier 
'diaryList'
ARS.xs(1199) : error C2065: 'diaryList' : undeclared identifier
ARS.xs(1204) : error C2224: left of '.numItems' must have struct/union type
ARS.xs(1205) : error C2224: left of '.refType' must have struct/union type
ARS.xs(1205) : error C2065: 'tlist' : undeclared identifier
ARS.xs(1207) : warning C4013: 'ARGetContainer' undefined; assuming extern 
returning int
ARS.xs(1214) : error C2065: 'label' : undeclared identifier
ARS.xs(1214) : error C2065: 'description' : undeclared identifier
ARS.xs(1215) : error C2065: 'type' : undeclared identifier
ARS.xs(1215) : error C2065: 'helpText' : undeclared identifier
ARS.xs(1216) : error C2065: 'changeDiary' : undeclared identifier
ARS.xs(1229) : warning C4133: 'function' : incompatible types - from 'int *' to 
'struct ARPropList *
'
ARS.xs(1231) : warning C4133: 'function' : incompatible types - from 'int *' to 
'struct ARPermission
List *'
ARS.xs(1241) : warning C4013: 'perl_AROwnerObj' undefined; assuming extern 
returning int
ARS.xs(1241) : warning C4047: 'function' : 'struct sv *' differs in levels of 
indirection from 'int
'
ARS.xs(1241) : warning C4024: 'Perl_hv_store' : different types for formal and 
actual parameter 5
ARS.xs(1244) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int
 '
ARS.xs(1244) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1250) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int
 '
ARS.xs(1250) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1252) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int
 '
ARS.xs(1252) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1264) : warning C4013: 'perl_ARReferenceList' undefined; assuming extern 
returning int
ARS.xs(1264) : warning C4047: 'function' : 'struct sv *' differs in levels of 
indirection from 'int
'
ARS.xs(1264) : warning C4024: 'Perl_hv_store' : different types for formal and 
actual parameter 5
ARS.xs(1266) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int
 '
ARS.xs(1266) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1268) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int
 '
ARS.xs(1268) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1269) : error C2224: left of '.numItems' must have struct/union type
ARS.xs(1269) : error C2198: 'Perl_newSViv' : too few actual parameters
ARS.xs(1276) : warning C4013: 'FreeARReferenceList' undefined; assuming extern 
returning int
ARS.xs(1279) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(1281) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(1283) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(1285) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(4138) : error C2065: 'status' : undeclared identifier
ARS.xs(4861) : warning C4018: '<' : signed/unsigned mismatch
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

C:\ARSAPI\ARSperl>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c  -IC:\ARSAPI\arsapi/include  -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DE
S_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READF
IX -MD -Zi -DNDEBUG -O1    -DVERSION=\"1.84\"  -DXS_VERSION=\"1.84\"  
"-IC:\Perl\lib\CORE"  -D_WIN32  -DARS32  -DARS452
 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c
ARS.c
support.h(598) : error C2143: syntax error : missing ')' before '*'
support.h(598) : error C2081: 'ARFilterStatusStruct' : name in formal parameter 
list illegal
support.h(598) : error C2143: syntax error : missing '{' before '*'
support.h(598) : error C2059: syntax error : ')'
support.h(598) : error C2059: syntax error : ';'
support.h(628) : error C2143: syntax error : missing ')' before '*'
support.h(628) : error C2081: 'ARContainerOwnerObj' : name in formal parameter 
list illegal
support.h(628) : error C2143: syntax error : missing '{' before '*'
support.h(628) : error C2059: syntax error : ')'
support.h(628) : error C2059: syntax error : ';'
support.h(632) : error C2143: syntax error : missing ')' before '*'
support.h(632) : error C2081: 'ARReferenceStruct' : name in formal parameter 
list illegal
support.h(632) : error C2143: syntax error : missing '{' before '*'
support.h(632) : error C2059: syntax error : ')'
support.h(632) : error C2059: syntax error : ';'
support.h(633) : error C2143: syntax error : missing ')' before '*'
support.h(633) : error C2081: 'ARReferenceList' : name in formal parameter list 
illegal
support.h(633) : error C2143: syntax error : missing '{' before '*'
support.h(633) : error C2059: syntax error : ')'
support.h(633) : error C2059: syntax error : ';'
supportrev.h(73) : error C2143: syntax error : missing ')' before '*'
supportrev.h(73) : error C2081: 'ARFilterStatusStruct' : name in formal 
parameter list illegal
supportrev.h(73) : error C2143: syntax error : missing '{' before '*'
supportrev.h(73) : error C2059: syntax error : ')'
ARS.xs(394) : error C2039: 'sessionId' : is not a member of 'ARControlStruct'
        C:\ARSAPI\arsapi/include\ar.h(167) : see declaration of 
'ARControlStruct'
ARS.xs(394) : error C2198: 'Perl_newSViv' : too few actual parameters
ARS.xs(1168) : error C2065: 'ARReferenceTypeList' : undeclared identifier
ARS.xs(1168) : error C2146: syntax error : missing ';' before identifier 
'refTypes'
ARS.xs(1168) : error C2065: 'refTypes' : undeclared identifier
ARS.xs(1169) : error C2275: 'ARPermissionList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(1069) : see declaration of 
'ARPermissionList'
ARS.xs(1169) : error C2146: syntax error : missing ';' before identifier 
'groupList'
ARS.xs(1169) : error C2065: 'groupList' : undeclared identifier
ARS.xs(1170) : error C2275: 'ARInternalIdList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(146) : see declaration of 
'ARInternalIdList'
ARS.xs(1170) : error C2146: syntax error : missing ';' before identifier 
'adminGroupList'
ARS.xs(1170) : error C2065: 'adminGroupList' : undeclared identifier
ARS.xs(1174) : error C2065: 'ARContainerOwnerObj' : undeclared identifier
ARS.xs(1174) : error C2146: syntax error : missing ';' before identifier 
'ownerObj'
ARS.xs(1174) : error C2065: 'ownerObj' : undeclared identifier
ARS.xs(1176) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1177) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1178) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1179) : error C2065: 'ARReferenceList' : undeclared identifier
ARS.xs(1179) : error C2146: syntax error : missing ';' before identifier 
'references'
ARS.xs(1179) : error C2065: 'references' : undeclared identifier
ARS.xs(1180) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1184) : error C2275: 'ARNameType' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(133) : see declaration of 'ARNameType'
ARS.xs(1184) : error C2146: syntax error : missing ';' before identifier 'owner'
ARS.xs(1184) : error C2065: 'owner' : undeclared identifier
ARS.xs(1186) : error C2275: 'ARTimestamp' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(135) : see declaration of 'ARTimestamp'
ARS.xs(1186) : error C2146: syntax error : missing ';' before identifier 
'timestamp'
ARS.xs(1186) : error C2065: 'timestamp' : undeclared identifier
ARS.xs(1190) : error C2275: 'ARNameType' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(133) : see declaration of 'ARNameType'
ARS.xs(1190) : error C2146: syntax error : missing ';' before identifier 
'lastChanged'
ARS.xs(1190) : error C2065: 'lastChanged' : undeclared identifier
ARS.xs(1192) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1193) : error C2275: 'ARPropList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(564) : see declaration of 'ARPropList'
ARS.xs(1193) : error C2146: syntax error : missing ';' before identifier 
'objPropList'
ARS.xs(1193) : error C2065: 'objPropList' : undeclared identifier
ARS.xs(1197) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1198) : error C2143: syntax error : missing ';' before 'type'
ARS.xs(1199) : error C2275: 'ARDiaryList' : illegal use of this type as an 
expression
        C:\ARSAPI\arsapi/include\ar.h(1571) : see declaration of 'ARDiaryList'
ARS.xs(1199) : error C2146: syntax error : missing ';' before identifier 
'diaryList'
ARS.xs(1199) : error C2065: 'diaryList' : undeclared identifier
ARS.xs(1204) : error C2224: left of '.numItems' must have struct/union type
ARS.xs(1205) : error C2224: left of '.refType' must have struct/union type
ARS.xs(1205) : error C2065: 'tlist' : undeclared identifier
ARS.xs(1207) : warning C4013: 'ARGetContainer' undefined; assuming extern 
returning int
ARS.xs(1214) : error C2065: 'label' : undeclared identifier
ARS.xs(1214) : error C2065: 'description' : undeclared identifier
ARS.xs(1215) : error C2065: 'type' : undeclared identifier
ARS.xs(1215) : error C2065: 'helpText' : undeclared identifier
ARS.xs(1216) : error C2065: 'changeDiary' : undeclared identifier
ARS.xs(1229) : warning C4133: 'function' : incompatible types - from 'int *' to 
'struct ARPropList *'
ARS.xs(1231) : warning C4133: 'function' : incompatible types - from 'int *' to 
'struct ARPermissionList *'
ARS.xs(1241) : warning C4013: 'perl_AROwnerObj' undefined; assuming extern 
returning int
ARS.xs(1241) : warning C4047: 'function' : 'struct sv *' differs in levels of 
indirection from 'int '
ARS.xs(1241) : warning C4024: 'Perl_hv_store' : different types for formal and 
actual parameter 5
ARS.xs(1244) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int '
ARS.xs(1244) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1250) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int '
ARS.xs(1250) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1252) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int '
ARS.xs(1252) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1264) : warning C4013: 'perl_ARReferenceList' undefined; assuming extern 
returning int
ARS.xs(1264) : warning C4047: 'function' : 'struct sv *' differs in levels of 
indirection from 'int '
ARS.xs(1264) : warning C4024: 'Perl_hv_store' : different types for formal and 
actual parameter 5
ARS.xs(1266) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int '
ARS.xs(1266) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1268) : warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int '
ARS.xs(1268) : warning C4024: 'Perl_newSVpv' : different types for formal and 
actual parameter 2
ARS.xs(1269) : error C2224: left of '.numItems' must have struct/union type
ARS.xs(1269) : error C2198: 'Perl_newSViv' : too few actual parameters
ARS.xs(1276) : warning C4013: 'FreeARReferenceList' undefined; assuming extern 
returning int
ARS.xs(1279) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(1281) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(1283) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(1285) : warning C4022: 'win32_free' : pointer mismatch for actual 
parameter 1
ARS.xs(4138) : error C2065: 'status' : undeclared identifier
ARS.xs(4861) : warning C4018: '<' : signed/unsigned mismatch
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
__________________________________________________________________________

Can anyone help me? I don´t know what´s wrong?

Thx a lot

cheers Chris

-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to