[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Check errors in gmp-3.1.1 under djgpp 2.03
From: |
laszlo . hars |
Subject: |
Check errors in gmp-3.1.1 under djgpp 2.03 |
Date: |
Thu, 24 May 2001 08:02:06 -0500 |
I could not get help for cygwin, so after struggling with it for a week I gave
it up and tried the latestrelease of djgpp. It is somewhat more work to set up
but it worked about 100 times faster than cygwin and without crashes.
So I have now the libraries but
"make check" gave the following error messages.
Could you give me a clue what went wrong and what can I do about it?
I tried compiling gmp on an old Sun workstation with 3 years old gnu compiler.
The check gave very similar error messages.
Thanks
Laszlo
"...
Making check in tests
make.exe[2]: Entering directory `c:/gmp-3.1.1/mpz/tests'
c:/djgpp/bin/make.exe t-mul.exe t-tdiv.exe t-tdiv_ui.exe t-fdiv.exe t-fdiv_ui.e
xe t-gcd.exe dive.exe t-sqrtrem.exe convert.exe io.exe logic.exe bit.exe t-powm.
exe t-powm_ui.exe t-pow_ui.exe t-2exp.exe reuse.exe t-root.exe t-jac.exe t-bin.e
xe t-misc.exe
make.exe[3]: Entering directory `c:/gmp-3.1.1/mpz/tests'
c:/djgpp/bin/sh.exe ../../libtool --mode=link gcc -g -O -fomit-frame-pointer -m
cpu=pentiumpro -o t-mul.exe t-mul.o ../../libgmp.la
mkdir .libs
gcc -g -O -fomit-frame-pointer -mcpu=pentiumpro -o t-mul.exe t-mul.o ../../.lib
s/libgmp.a
t-mul.o: In function `mpz_refmul':
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:149: undefined reference to `_alloca'
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:159: undefined reference to `_alloca'
t-mul.o: In function `dump_abort':
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:265: undefined reference to `_impure_ptr'
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:266: undefined reference to `_impure_ptr'
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:267: undefined reference to `_impure_ptr'
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:268: undefined reference to `_impure_ptr'
/gmp/gmp-3.1.1/mpz/tests/t-mul.c:269: undefined reference to `_impure_ptr'
t-mul.o:/gmp/gmp-3.1.1/mpz/tests/t-mul.c:277: more undefined references to `_imp
ure_ptr' follow
../../.libs/libgmp.a(fdiv_qr.o): In function `_gmpz_fdiv_qr':
/gmp/gmp-3.1.1/mpz/fdiv_qr.c:49: undefined reference to `_alloca'
../../.libs/libgmp.a(mul.o): In function `_gmpn_sqr_n':
/gmp/gmp-3.1.1/mpn/mul.c:66: undefined reference to `_alloca'
/gmp/gmp-3.1.1/mpn/mul.c:79: undefined reference to `_alloca'
../../.libs/libgmp.a(mul.o): In function `_gmpn_mul':
/gmp/gmp-3.1.1/mpn/mul.c:139: undefined reference to `_alloca'
../../.libs/libgmp.a(tdiv_qr.o): In function `_gmpn_tdiv_qr':
/gmp/gmp-3.1.1/mpn/tdiv_qr.c:89: undefined reference to `_alloca'
../../.libs/libgmp.a(tdiv_qr.o):/gmp/gmp-3.1.1/mpn/tdiv_qr.c:91: more undefined
references to `_alloca' follow
collect2: ld returned 1 exit status
make.exe[3]: *** [t-mul.exe] Error 1
make.exe[3]: Leaving directory `c:/gmp-3.1.1/mpz/tests'
make.exe[2]: *** [check-am] Error 2
make.exe[2]: Leaving directory `c:/gmp-3.1.1/mpz/tests'
make.exe[1]: *** [check-recursive] Error 1
make.exe[1]: Leaving directory `c:/gmp-3.1.1/mpz'
make.exe: *** [check-recursive] Error 1
sh-2.04$ "
-------------------------------------------------------------------------
Unfortunately config.log does not contain the results of the tests it
performed. They do appear on the screen, but fly by so fast, that I cannot
record them:
"This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure version 2.14a, executed with
> ./configure --enable-fft
configure:636: checking host system type
configure:672: checking target system type
configure:707: checking build system type
configure:778: checking for a BSD compatible install
configure:835: checking whether build environment is sane
configure:906: checking for mawk
configure:939: checking whether make sets ${MAKE}
configure:1029: checking whether to enable maintainer-specific portions of
Makefiles
configure:1352: checking for BSD-compatible nm
configure:1418: checking for gcc
..."
etc.
------------------------------
To: address@hidden@SMTP
cc:
Subject: Re: Setup errors in gmp-3.1.1 under cygwin-1.3.1-1
Classification: Unclassified
Torbjörn,
You are right, it seems to be a cygwin problem. Some more info about it, with
the hope that somebody comes up with a solution (the cygwin people did not):
- if I close and restart cygwin it fails at the same point.
- if I reboot the PC and start cygwin again the make goes further. A couple of
hours later it runs out of the resources again with similar error messages.
- at the end of the make the gcc linker is called. The command is about 8 lines
long. This crashes not only cygwin, but Windows 98, too. So badly that I have
to switch the PC off, wait 5 minutes before I can restart it.
I guess that from some Windows resources cygwin doe not allocate enough or they
are not freed correctly after their usage.
Thanks
Laszlo
Sent by: address@hidden
To: Laszlo Hars/BRQ/RESEARCH/address@hidden
cc: address@hidden@SMTP
Subject: Re: Setup errors in gmp-3.1.1 under cygwin-1.3.1-1
Classification:
address@hidden writes:
On my Windows 98 PC (500 MHz PIII, 512 MB RAM, 20 GB free on a FAT32 hard
disk) I had error messages while installing GMP. The config script and the make
worked several hours, blocking the PC from doing any useful work, but at the
end there came the
error messages. Are they CYGWIN problems? Thanks for your help in advance
../libtool: Cannot fork: Resource temporarily unavailable
This indicates that something is wrong with your machine or with cygwin.
Have you tried rebooting it?
(At any rate, this is not a GMP issue.)
--
Torbjörn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Check errors in gmp-3.1.1 under djgpp 2.03,
laszlo . hars <=