I downloaded files pari-2.1.3.tar
pari-2.2.2.tarfrom pari homepage and wanted to compile them in MSVC
under Windows.I had made two attempts:

1. trying to compile pari-2.1.3.tar version in
MSVC++ 5.0 under Windows 952. trying to compile pari-2.2.2.tar version in
MSVC++ 6.0 under Windows 2000

I tried to follow directions of Bill Daly written
in Odos\readme.msvc. Here is some problems I encountered:

1. compiler gives many errors fatal error
C1083: Cannot open include file: 'paricfg.h'I added one more additional
directory C:\pari222\Odos to "Preprocessor" menu, and this problem seems to
have gone.

2(pari-2.2.2). compiler gives an
errorC:\Pari222\src\language\es.c(2291) : fatal error C1083: Cannot open
include file: 'dirent.h': No such file or directory:

#ifdef HAS_OPENDIR# include
<dirent.h>#endif

I found out, that HAS_OPENDIR is defined only in
file paricfg.hin lines: /* comment this one if not on NT ???
*/# define HAS_OPENDIR

After I commented out this line, all compiled and
linked at last.

2(pari-2.1.3). compiler gives an
errorC:\pari213\src\kernel\ix86\l0asm.c(78) : error C2282: 'ulong' is
followed by 'overflow' (missing ','?)I couldn't think out nothing better
than to replace 'ulong' by 'unsigned long'. After that the mistake
disappeared.

Now the program is compiled and I am going to
calculate some Galois groups.

? polgalois(x^4+x-1) ***
exponent too large in exp.

This behaviuor takes place in both versions 2.1.3
and 2.2.2.What can be advised in order to make it work?