[Top][All Lists]

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

Re: 'make check' on Win 2k

From: Sisyphus
Subject: Re: 'make check' on Win 2k
Date: Tue, 06 Jan 2004 12:25:05 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313


Continuing on .... I've now managed to successfully build and run all of the GMP tests up to the mpfr tests.

The building of the mpfr test executables terminates (unsuccesfully) with the following errors:
tabs.o(.text+0x33): In function `drand':
c:/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests/../../mpfr/mpfr-test.h:118: undefined reference to `random' tabs.o(.text+0x3c):c:/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests/../../mpfr/mpfr-test.h:119: undefined reference to `random' tabs.o(.text+0x4e):c:/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests/../../mpfr/mpfr-test.h:122: undefined reference to `random' tabs.o(.text+0xa7):c:/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests/../../mpfr/mpfr-test.h:121: undefined reference to `random'
tabs.o(.text+0x300): In function `check_inexact':
c:/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests/tabs.c:48: undefined reference to `random' tabs.o(.text+0x73f):c:/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests/tabs.c:135: more undefined references to `random' follow
make[3]: *** [tabs.exe] Error 1
make[3]: Leaving directory `/c/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/c/gmp/mpfr_enable/gmp-4.1.2/mpfr/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/c/gmp/mpfr_enable/gmp-4.1.2/mpfr'
make: *** [check-recursive] Error 1

This appears similar to the problem I faced wrt 'mpn_copyd' and 'mpn_copyi' - which was fixed by prepending '__GMP_DECLSPEC' to those 2 function prototypes in 'gmp-impl.h'.

But I can't find a match for 'random' amongst the function prototypes in 'gmp-impl.h'. Some other file, perhaps ?

(The options passed to './configure' were '--disable-static --enable-shared --enable-mpfr'.)


Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]