Steve Baldwin on Wed, 20 Apr 2005 22:03:31 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Make errors on cygwin


I'm attempting to build under cygwin on WinXP.  Here's the error I'm seeing

[pari-2.1.6]$ ./Configure
Configuring pari-2.1.6 (STABLE)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /usr/bin/zcat
...gzip is /usr/bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
...I could not find emacs.
        Warning ! architecture  not tested
Building for architecture:  running cygwin (C portable kernel)
Checking for optional libraries and headers...
...Found libX11 in /usr/X11R6/lib
...Found X11 header files in /usr/X11R6/include/X11
...Found libreadline in /lib
...Found libncurses in /lib
...But no header file has been found
Looking for the compilers ... is /usr/bin/cc
...gcc is /usr/bin/gcc
GNU compiler version 3.3.3 (cygwin special)
C compiler is          /usr/bin/gcc  -O3 -DGCC_INLINE -Wall -Wno-implicit
Looking for an assembler ... is /usr/bin/as
...Hum, this looks like GNU as
Assembler is           /usr/bin/as  
C PreProcessor is      /usr/bin/gcc  -E -I.
Executable linker is   /usr/bin/gcc  -O3 -DGCC_INLINE -Wall -Wno-implicit
-frame-pointer   -Xlinker -export-dynamic
No Dynamic Lib
Given the previous choices, sizeof(long) is 4 chars.
The internal word representation of a double is l[1], l[0].
Checking some common types...
...I did not find ulong.
Looking in C lib for some symbols...
...Found exp2.
...Found strftime.
...Found times.
...Found sigrelse.
...Found getrlimit.
...Found opendir.
...I did not find vsnprintf.
...Found dlopen.
Installation prefix ? [/usr/local]
...for architecture-independant files (share-prefix) ? []
..."gp" executable ? [/usr/local/bin]
..."pari" library ? [/usr/local/lib]
...include files ? [/usr/local/include/pari]
...manual pages ? [/usr/local/man/man1]
...documentation, examples, and emacs macros ? [/usr/local/lib/pari]
...miscellaneous data (galois resolvents) ? [/usr/local/lib/pari/galdata]
Default is static executable and archive library, graphic=X11
Extracting examples/Makefile.cygwin-
Extracting Ocygwin-/Makefile
Extracting Makefile
Extracting Ocygwin-/paricfg.h
Extracting Ocygwin-/../Odos/paricfg.h
Extracting scripts and macros doc emacs misc
Shall we try to build pari 2.1.6 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye ! 
[pari-2.1.6]$ make gp
cd Ocygwin-; make gp
make[1]: Entering directory `/home/stbaldwin/pari-2.1.6/Ocygwin-'
/usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer
-I. -I../src/headers -o kernel.o ../src/kernel/none/level0.c
In file included from ../src/headers/pari.h:73,
                 from ../src/kernel/none/level0.c:17:
../src/headers/paricom.h:100: error: parse error before '/' token
make[1]: *** [kernel.o] Error 1
make[1]: Leaving directory `/home/stbaldwin/pari-2.1.6/Ocygwin-'
make: *** [gp] Error 2

I'm sure it is something stupid I'm doing, but would be very grateful for
some clue as to what.

Thanks and regards,