bug-gmp
[Top][All Lists]
Advanced

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

RE: Installing GMP on cygwin


From: Edward Marti
Subject: RE: Installing GMP on cygwin
Date: Sun, 23 Jun 2002 15:31:31 -0700

Okay, here's the latest problem:
I uninstalled cygwin, installed mingw and msys, and am attempting to install
GMP, but it is having trouble making the files in the gmp-4.0.1/cxx folder
(I added the tag --enable-cxx during configure). It reports this error
message:

Making all in cxx
make[2]: Entering directory `/home/ed/gmp-4.0.1/cxx'
/bin/sh ../libtool --mode=compile
g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..    -g -O2 -fomit-fr
ame-pointer -mcpu=pentiumpro -march=i486 -c -o isfuns.lo `test -f isfuns.cc
|| echo './'`isfuns.cc
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [isfuns.lo] Error 1
make[2]: Leaving directory `/home/ed/gmp-4.0.1/cxx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ed/gmp-4.0.1'
make: *** [all] Error 2

The config.log file is attached.

Thanks, Edward Marti

-----Original Message-----
From: Kevin Ryde [mailto:address@hidden
Sent: Saturday, June 22, 2002 4:20 PM
To: Edward Marti
Cc: address@hidden
Subject: Re: Installing GMP on cygwin


"Edward Marti" <address@hidden> writes:
>
> $ g++ encode.cpp -lgmpxx -lgmp -mno-cygwin -o encode
>
/cygdrive/c/WINDOWS/TEMP/ccKRXDXV.o(.text$__ls__H3ZcZt18string_char_traits1Z
> cZt2
>
4__default_alloc_template2b0i0_R7ostreamRCt12basic_string3ZX01ZX11ZX21_R7ost
> ream
> +0x32):encode.cpp: undefined reference to `ostream::write(char const *,
> long)'

Hmm.  The tests/cxx programs link ok in my debian cross-compile.  I'm
not sure what lib file is supposed to have standard C++ stuff.

> /usr/lib/mingw/libgmp.a(set_str.o): In function `digit_value_in_base':
> /home/Ed/gmp-4.0.1/mpz/set_str.c:38: undefined reference to
`_imp___ctype_'

The mingw ctype.h seems to use something called "pctype".  You haven't
hit the cygwin headers or something?

> /usr/lib/mingw/libgmp.a(assert.o): In function `_gmp_assert_header':
> /home/Ed/gmp-4.0.1/assert.c:37: undefined reference to `_impure_ptr'

Don't know what that would be.

Attachment: config.log
Description: Binary data


reply via email to

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