sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] compiling sks-1.0.7


From: Yaron Minsky
Subject: Re: [Sks-devel] compiling sks-1.0.7
Date: Sat, 11 Sep 2004 23:30:07 -0400

Right now, sks doesn't compile with 3.08, because numerix, on which
sks depends, doesn't compile on 3.08.  I'm working on the numerix-less
version of SKS, but it's not ready yet.  So for the moment, I would
grab a copy of 3.07 and try again.

y

On Sun, 12 Sep 2004 04:37:03 +0200, Robert Urban <address@hidden> wrote:
> Hello,
> 
> I'm trying to compile sks-1.0.7 on a Fedora core 2 system using
> ocaml-3.08 and berkeley-db-4.2 (I assume 4.2 will work, although the
> INSTALL only mentions 4.1).
> 
> I'm gettting a bunch of errors during the "make all", which I've included
> at the bottom of this mail.  What is the problem?
> 
> thanks,
> 
> Robert Urban
> 
> ----------------------------------- errors ----------------------------
> cd numerix-0.19 && \
> make lib; \
> make install
> make[1]: Entering directory `/big/home/urban/Build/sks-1.0.7/numerix-0.19'
> gcc -O2 -Wall -Dbits_32 -Duseless_init -I/usr/local/lib/ocaml
> -DOCAML_VERSION=308.1 -Ilib/kernel -Duse_clong -o lib/common/ml-long_int-c.o
> -c lib/common/ml-long_int.c
> lib/common/ml-long_int.c:47:5: floating constant in preprocessor expression
> lib/common/ml-long_int.c:57:1: warning: "Noreturn" redefined
> In file included from /usr/local/lib/ocaml/caml/mlvalues.h:23,
>                  from lib/common/ml-long_int.c:43:
> /usr/local/lib/ocaml/caml/misc.h:42:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:58:5: floating constant in preprocessor expression
> lib/common/ml-alloc.h:157:1: warning: "Begin_roots1" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:254:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:161:1: warning: "Begin_roots2" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:262:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:166:1: warning: "Begin_roots3" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:271:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:172:1: warning: "Begin_roots4" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:281:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:179:1: warning: "Begin_roots5" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:292:1: warning: this is the location of the
> previous definition
> lib/common/ml-long_int.c: In function `cx_copy_in':
> lib/common/ml-long_int.c:194: warning: implicit declaration of function
> `Push_roots'
> lib/common/ml-long_int.c:194: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c:194: error: (Each undeclared identifier is reported
> only once
> lib/common/ml-long_int.c:194: error: for each function it appears in.)
> lib/common/ml-long_int.c:194: warning: implicit declaration of function
> `Pop_roots'
> lib/common/ml-long_int.c: In function `cx_copy_out':
> lib/common/ml-long_int.c:201: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_abs':
> lib/common/ml-long_int.c:306: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_abs_in':
> lib/common/ml-long_int.c:314: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_neg':
> lib/common/ml-long_int.c:322: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_neg_in':
> lib/common/ml-long_int.c:330: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_add':
> lib/common/ml-long_int.c:343: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sub':
> lib/common/ml-long_int.c:351: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_add_in':
> lib/common/ml-long_int.c:358: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sub_in':
> lib/common/ml-long_int.c:364: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shl':
> lib/common/ml-long_int.c:381: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shr':
> lib/common/ml-long_int.c:397: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shl_in':
> lib/common/ml-long_int.c:412: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shr_in':
> lib/common/ml-long_int.c:425: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_split':
> lib/common/ml-long_int.c:442: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_split_in':
> lib/common/ml-long_int.c:457: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_join':
> lib/common/ml-long_int.c:468: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_join_in':
> lib/common/ml-long_int.c:479: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_1':
> lib/common/ml-long_int.c:492: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_1_in':
> lib/common/ml-long_int.c:501: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_k':
> lib/common/ml-long_int.c:508: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_k_in':
> lib/common/ml-long_int.c:515: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqr_k':
> lib/common/ml-long_int.c:528: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqr_k_in':
> lib/common/ml-long_int.c:536: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_1':
> lib/common/ml-long_int.c:553: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_1_in':
> lib/common/ml-long_int.c:565: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_k':
> lib/common/ml-long_int.c:577: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_k_in':
> lib/common/ml-long_int.c:591: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_knr':
> lib/common/ml-long_int.c:600: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_knr_in':
> lib/common/ml-long_int.c:610: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqrt_k':
> lib/common/ml-long_int.c:622: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqrt_k_in':
> lib/common/ml-long_int.c:630: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_cfrac':
> lib/common/ml-long_int.c:643: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd_ex':
> lib/common/ml-long_int.c:658: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd':
> lib/common/ml-long_int.c:670: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_cfrac_in':
> lib/common/ml-long_int.c:683: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd_ex_in':
> lib/common/ml-long_int.c:692: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd_in':
> lib/common/ml-long_int.c:699: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_pow_k':
> lib/common/ml-long_int.c:719: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_pow_k_in':
> lib/common/ml-long_int.c:731: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_powmod':
> lib/common/ml-long_int.c:740: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_powmod_in':
> lib/common/ml-long_int.c:749: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_fact_k_in':
> lib/common/ml-long_int.c:769: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_of_string':
> lib/common/ml-long_int.c:783: error: `__v' undeclared (first use in this
> function)
> make[1]: *** [lib/common/ml-long_int-c.o] Error 1
> make[1]: Leaving directory `/big/home/urban/Build/sks-1.0.7/numerix-0.19'
> make[1]: Entering directory `/big/home/urban/Build/sks-1.0.7/numerix-0.19'
> mkdir -p /home/urban/Build/sks-1.0.7/numerix-0.19/../tmp/include
> cp -p    lib/kernel/long_int.h lib/common/c-long_int.h
> /home/urban/Build/sks-1.0.7/numerix-0.19/../tmp/include
> mkdir -p /home/urban/Build/sks-1.0.7/numerix-0.19/../lib
> cp -p    lib/common/libcnumx.a /home/urban/Build/sks-1.0.7/numerix-0.19/../lib
> gcc -O2 -Wall -Dbits_32 -Duseless_init -I/usr/local/lib/ocaml
> -DOCAML_VERSION=308.1 -Ilib/kernel -Duse_clong -o lib/common/ml-long_int-c.o
> -c lib/common/ml-long_int.c
> lib/common/ml-long_int.c:47:5: floating constant in preprocessor expression
> lib/common/ml-long_int.c:57:1: warning: "Noreturn" redefined
> In file included from /usr/local/lib/ocaml/caml/mlvalues.h:23,
>                  from lib/common/ml-long_int.c:43:
> /usr/local/lib/ocaml/caml/misc.h:42:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:58:5: floating constant in preprocessor expression
> lib/common/ml-alloc.h:157:1: warning: "Begin_roots1" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:254:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:161:1: warning: "Begin_roots2" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:262:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:166:1: warning: "Begin_roots3" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:271:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:172:1: warning: "Begin_roots4" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:281:1: warning: this is the location of the
> previous definition
> In file included from lib/common/ml-long_int.c:65:
> lib/common/ml-alloc.h:179:1: warning: "Begin_roots5" redefined
> In file included from lib/common/ml-long_int.c:45:
> /usr/local/lib/ocaml/caml/memory.h:292:1: warning: this is the location of the
> previous definition
> lib/common/ml-long_int.c: In function `cx_copy_in':
> lib/common/ml-long_int.c:194: warning: implicit declaration of function
> `Push_roots'
> lib/common/ml-long_int.c:194: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c:194: error: (Each undeclared identifier is reported
> only once
> lib/common/ml-long_int.c:194: error: for each function it appears in.)
> lib/common/ml-long_int.c:194: warning: implicit declaration of function
> `Pop_roots'
> lib/common/ml-long_int.c: In function `cx_copy_out':
> lib/common/ml-long_int.c:201: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_abs':
> lib/common/ml-long_int.c:306: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_abs_in':
> lib/common/ml-long_int.c:314: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_neg':
> lib/common/ml-long_int.c:322: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_neg_in':
> lib/common/ml-long_int.c:330: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_add':
> lib/common/ml-long_int.c:343: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sub':
> lib/common/ml-long_int.c:351: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_add_in':
> lib/common/ml-long_int.c:358: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sub_in':
> lib/common/ml-long_int.c:364: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shl':
> lib/common/ml-long_int.c:381: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shr':
> lib/common/ml-long_int.c:397: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shl_in':
> lib/common/ml-long_int.c:412: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_shr_in':
> lib/common/ml-long_int.c:425: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_split':
> lib/common/ml-long_int.c:442: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_split_in':
> lib/common/ml-long_int.c:457: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_join':
> lib/common/ml-long_int.c:468: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_join_in':
> lib/common/ml-long_int.c:479: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_1':
> lib/common/ml-long_int.c:492: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_1_in':
> lib/common/ml-long_int.c:501: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_k':
> lib/common/ml-long_int.c:508: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_mul_k_in':
> lib/common/ml-long_int.c:515: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqr_k':
> lib/common/ml-long_int.c:528: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqr_k_in':
> lib/common/ml-long_int.c:536: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_1':
> lib/common/ml-long_int.c:553: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_1_in':
> lib/common/ml-long_int.c:565: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_k':
> lib/common/ml-long_int.c:577: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_k_in':
> lib/common/ml-long_int.c:591: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_knr':
> lib/common/ml-long_int.c:600: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_quo_knr_in':
> lib/common/ml-long_int.c:610: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqrt_k':
> lib/common/ml-long_int.c:622: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_sqrt_k_in':
> lib/common/ml-long_int.c:630: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_cfrac':
> lib/common/ml-long_int.c:643: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd_ex':
> lib/common/ml-long_int.c:658: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd':
> lib/common/ml-long_int.c:670: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_cfrac_in':
> lib/common/ml-long_int.c:683: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd_ex_in':
> lib/common/ml-long_int.c:692: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_gcd_in':
> lib/common/ml-long_int.c:699: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_pow_k':
> lib/common/ml-long_int.c:719: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_pow_k_in':
> lib/common/ml-long_int.c:731: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_powmod':
> lib/common/ml-long_int.c:740: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_powmod_in':
> lib/common/ml-long_int.c:749: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_fact_k_in':
> lib/common/ml-long_int.c:769: error: `__v' undeclared (first use in this
> function)
> lib/common/ml-long_int.c: In function `cx_of_string':
> lib/common/ml-long_int.c:783: error: `__v' undeclared (first use in this
> function)
> make[1]: *** [lib/common/ml-long_int-c.o] Error 1
> make[1]: Leaving directory `/big/home/urban/Build/sks-1.0.7/numerix-0.19'
> make: *** [lib/numerix.cma] Error 2
> 
> _______________________________________________
> Sks-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/sks-devel
>




reply via email to

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