develooper Front page | perl.javascript | Postings from November 2003

JavaScript installation on Windows

Thread Next
From:
Gnana Ramdev kotamraju
Date:
November 27, 2003 16:32
Subject:
JavaScript installation on Windows
Message ID:
20031126234119.18778.qmail@web20905.mail.yahoo.com
Hi
I have donwloaded the Javascript-0.52 and the js library files. 
I could compile the js/src projects and it created js32.dll and jsshell.exe.
Now I am trying to make the JavaScript.pm on my windows 2000 environment.
I am using ActiState Perl 5.6.
I am getting the following errors while using the command "nmake"

        cl -c  -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DE
S_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -
MD -DNDEBUG    -DVERSION=\"0.52\"  -DXS_VERSION=\"0.52\"  -ID:\Perl\lib\CORE -DX
P_WIN JavaScript.c
JavaScript.c
D:\Perl\lib\CORE\malloc.h(106) : error C2059: syntax error : '('
D:\Perl\lib\CORE\malloc.h(107) : error C2059: syntax error : '('
D:\Perl\lib\CORE\malloc.h(108) : error C2059: syntax error : '('
JavaScript.xs(278) : warning C4090: 'function' : different 'const' qualifiers
JavaScript.xs(278) : warning C4024: 'strcpy' : different types for formal and ac
tual parameter 1
JavaScript.xs(402) : warning C4090: 'function' : different 'const' qualifiers
JavaScript.xs(402) : warning C4024: 'PCB_GetClass' : different types for formal
and actual parameter 2
JavaScript.xs(490) : warning C4090: 'function' : different 'const' qualifiers
JavaScript.xs(490) : warning C4024: 'PCB_GetClass' : different types for formal
and actual parameter 2
JavaScript.xs(540) : warning C4090: 'function' : different 'const' qualifiers
JavaScript.xs(540) : warning C4024: 'PCB_GetClass' : different types for formal
and actual parameter 2
JavaScript.xs(1013) : warning C4133: 'function' : incompatible types - from 'str
uct _PerlIO *' to 'struct _iobuf *'
JavaScript.xs(1260) : warning C4133: 'function' : incompatible types - from 'str
uct _PerlIO *' to 'struct _iobuf *'
JavaScript.xs(1319) : warning C4133: 'function' : incompatible types - from 'str
uct _PerlIO *' to 'struct _iobuf *'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Please let me know how to resolve this. 
Thanks
Gnana


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About