bug-gmp
[Top][All Lists]
Advanced

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

Re: gmp-3.1.1 make error on MacOS X


From: Ronald Bruck
Subject: Re: gmp-3.1.1 make error on MacOS X
Date: Sun, 12 Aug 2001 18:53:28 -0700

Koen Vervloesem wrote:

Thanks for the help, Kevin, but now make still gives errors. I started
configure, removed the line you mentioned in config.m4, and then did
"make". I have include the output of make as an attachment. Is the
"Nothing to be done for 'all'" statement on the 4th line normal? He also
complains for a junk character in tmp-add_n.s, and then comes a list of
four errors. Are these errors caused by another reason than assembler
syntax?

I get the same result; after applying the patch and running ./configure I get:

creating cache ./config.cache
checking host system type... powerpc-apple-darwin1.3.7
checking target system type... powerpc-apple-darwin1.3.7
checking build system type... powerpc-apple-darwin1.3.7
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking for gcc... no
checking if the C compiler (gcc) works with flags -g -O2 -mpowerpc... no
checking for cc... cc
checking if the C compiler (cc) works with flags -g... yes
checking whether the C compiler (cc -g  ) works... yes
checking whether the C compiler (cc -g  ) is a cross-compiler... no
checking whether we are using GNU C... yes
(cached) checking how to run the C preprocessor... cc -E -traditional-cpp
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for suitable m4... m4
checking for ar... ar
checking how to switch to text section... .text
checking how to switch to data section... .data
checking how to export a symbol... .globl
checking what assembly label suffix to use... :
checking how the .type assembly directive should be used... dnl
checking if the .size assembly directive works... dnl
checking what prefix to use for a local label... L
checking how to define a 32-bit word... .long
checking if symbols are prefixed by underscore... yes
checking if .align assembly directive is logarithmic... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX OS/2 environment... no
checking for executable suffix... no
checking for object suffix... o
checking build system type... (cached) powerpc-apple-darwin1.3.7
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependant libraries... unknown
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /usr/local/gmp-3.1.1/conftest
yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... no
checking command to parse /usr/bin/nm -p output... ok
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether optarg is declared... no
checking for ANSI C header files... yes
checking for getopt.h... no
checking for unistd.h... yes
checking for sys/sysctl.h... yes
checking for sys/time.h... yes
checking for void... yes
checking for preprocessor stringizing operator... yes
checking for getopt_long... no
checking for getpagesize... yes
checking for popen... yes
checking for processor_info... yes
checking for strtoul... yes
checking for sysconf... yes
checking for sysctlbyname... yes
checking if ansi2knr should be used... no
creating config.m4
updating cache ./config.cache
creating ./config.status
creating Makefile
creating mpf/Makefile
creating mpz/Makefile
creating mpn/Makefile
creating mpq/Makefile
creating mpf/tests/Makefile
creating mpz/tests/Makefile
creating mpq/tests/Makefile
creating mpn/tests/Makefile
creating tests/Makefile
creating tests/rand/Makefile
creating demos/Makefile
creating tune/Makefile
creating mpbsd/Makefile
creating mpbsd/tests/Makefile
creating mpfr/Makefile
creating mpfr/tests/Makefile
creating config.h
linking ./mpn/generic/inlines.c to mpn/inlines.c
linking ./mpn/powerpc32/add_n.asm to mpn/add_n.asm
linking ./mpn/powerpc32/sub_n.asm to mpn/sub_n.asm
linking ./mpn/powerpc32/mul_1.asm to mpn/mul_1.asm
linking ./mpn/powerpc32/addmul_1.asm to mpn/addmul_1.asm
linking ./mpn/powerpc32/submul_1.asm to mpn/submul_1.asm
linking ./mpn/powerpc32/lshift.asm to mpn/lshift.asm
linking ./mpn/powerpc32/rshift.asm to mpn/rshift.asm
linking ./mpn/generic/diveby3.c to mpn/diveby3.c
linking ./mpn/generic/divrem.c to mpn/divrem.c
linking ./mpn/generic/divrem_1.c to mpn/divrem_1.c
linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
linking ./mpn/generic/mod_1.c to mpn/mod_1.c
linking ./mpn/generic/mod_1_rs.c to mpn/mod_1_rs.c
linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
linking ./mpn/generic/dump.c to mpn/dump.c
linking ./mpn/generic/mul.c to mpn/mul.c
linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
linking ./mpn/generic/mul_n.c to mpn/mul_n.c
linking ./mpn/generic/mul_basecase.c to mpn/mul_basecase.c
linking ./mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c
linking ./mpn/generic/random.c to mpn/random.c
linking ./mpn/generic/random2.c to mpn/random2.c
linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
linking ./mpn/generic/get_str.c to mpn/get_str.c
linking ./mpn/generic/set_str.c to mpn/set_str.c
linking ./mpn/generic/scan0.c to mpn/scan0.c
linking ./mpn/generic/scan1.c to mpn/scan1.c
linking ./mpn/generic/popcount.c to mpn/popcount.c
linking ./mpn/generic/hamdist.c to mpn/hamdist.c
linking ./mpn/generic/cmp.c to mpn/cmp.c
linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
linking ./mpn/generic/gcd.c to mpn/gcd.c
linking ./mpn/generic/gcdext.c to mpn/gcdext.c
linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
linking ./mpn/generic/bz_divrem_n.c to mpn/bz_divrem_n.c
linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
linking ./mpn/generic/jacbase.c to mpn/jacbase.c
linking ./mpn/powerpc32/gmp-mparam.h to gmp-mparam.h

I then type "make" and get:

make  all-recursive
Making all in mpn
Making all in tests
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mp_bases -g -c -o mp_bases.lo mp_bases.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mp_bases -g -c mp_bases.c -o mp_bases.o
echo timestamp > mp_bases.lo
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_inlines -g -c -o inlines.lo inlines.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_inlines -g -c inlines.c -o inlines.o
echo timestamp > inlines.lo
m4 -DPIC -DOPERATION_add_n add_n.asm >tmp-add_n.s
/bin/sh ../libtool --mode=compile cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_add_n -g tmp-add_n.s -o add_n.lo cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_add_n -g tmp-add_n.s -o add_n.o
tmp-add_n.s:64:Junk character -1 (ˇ).
make[3]: *** [add_n.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2


Anybody know what this means, or how to fix it?

I have translated Brian Borchers' SDP solver (csdp) to use gmp, and I'd like to get this to working on Darwin. But first I have to get gmp to compile :-)

---Ron Bruck



reply via email to

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