JPL build errors with ActivePerl 5.6.0
[email protected] Thu, 4 May 2000 09:08:53 -0400
| Newsgroups | perl.jpl |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am having a problem building the JPL::JNI module on
WinNT. The problem, unfortunately, is not where I expected
it to be. The problem seems to be inside one of the Perl core
header files and not within the JNI module itself. iperlsys.h
doesn't want to compile. See below.
I have been through the directions listed in the JPL README and
everything seems to have worked correctly to this point. Can
someone with experience with building this module on WinNT offer
some insight?
I am using ActiveState's 5.6.0 source code, MS VC 6 with SP3,
WinNT 4 with SP6, and Sun's JDK 1.1.8 for Win32.
Thank you,
Scott.
----------
C:\TEMP\perl-src\AP613_source\jpl\JNInmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe -c -Ic:\JDK1.1.8\include\ -Ic:\JDK1.1.8\include\win32 -O1
-MD -DN DEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -DWIN32
-Z7 -D_DEBUG -O1 -MD -DNDEBUG -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
-IC:\Perl\lib\CORE JNI.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
JNI.c
C:\Perl\lib\CORE\iperlsys.h(78) : error C2143: syntax error : missing ')'
before '*'
C:\Perl\lib\CORE\iperlsys.h(78) : error C2143: syntax error : missing '{'
before '*'
C:\Perl\lib\CORE\iperlsys.h(78) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\iperlsys.h(113) : error C2143: syntax error : missing ')'
before '*'
C:\Perl\lib\CORE\iperlsys.h(113) : error C2143: syntax error : missing '{'
before '*'
C:\Perl\lib\CORE\iperlsys.h(113) : error C2059: syntax error : ')'
C:\Perl\lib\CORE\iperlsys.h(113) : error C2081: 'Size_t' : name in formal
parameter list illegal
... and on and on and on ...
C:\Perl\lib\CORE\iperlsys.h(717) : error C2081: 'uid_t' : name in formal
parameter list illegal
C:\Perl\lib\CORE\iperlsys.h(717) : error C2081: 'gid_t' : name in formal
parameter list illegal
C:\Perl\lib\CORE\iperlsys.h(882) : error C2081: 'size_t' : name in formal
parameter list illegal
C:\Perl\lib\CORE\iperlsys.h(883) : error C2081: 'size_t' : name in formal
parameter list illegal
C:\Perl\lib\CORE\iperlsys.h(883) : fatal error C1003: error count exceeds
100; stopping compilation
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
----------
====================================================
M. Scott Roth,
<[email protected]>
Information Systems Engineer
Science Applications International Corporation
703-375-2260
========================<><=========================