sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] An embarrassing question


From: Alan
Subject: Re: [Sks-devel] An embarrassing question
Date: Thu, 8 May 2008 10:41:29 -0700 (PDT)
User-agent: SquirrelMail/1.4.10a-1.fc6

> This is an embarrassing question to ask about software that I wrote, but
> here it is.  I've been poking around with the sks code trying to get it to
> compile on a reasonably modern system, and having some real trouble
> getting
> it up.  I'm trying to build on a 64-bit centos 5 box using OCaml 3.10.2,
> and
> I'm wondering if anyone has run into the same problems I'm seeing.  When I
> try to build, I get the errors shown below.

It looks like you have an odd mix of thread and non-thread code.  It is
pulling libraries from all over the place.

I am trying to build on a 64-bit Fedora 9 beta and I get a different error
while building Numerix 0.22.

kernel/ocaml/numerix.sh  clong slong big gmp kernel/ocaml/ml/numerix.ml
>kernel/ocaml/o/numerix.ml
kernel/ocaml/numerix.sh  clong slong big gmp kernel/ocaml/mli/numerix.mli
>kernel/ocaml/o/numerix.mli
ocamlc.opt -I kernel/ocaml/o -c kernel/ocaml/o/numerix.mli
ocamlc.opt -I kernel/ocaml/o -c kernel/ocaml/o/numerix.ml
Fatal error: out of memory.
make: *** [kernel/ocaml/o/numerix.cmo] Error 2

I have 4 gigs of ram on this box.

Ideas?


>
> Thanks,
> y
>
> ocamlopt -thread -o sks -I lib -I bdb -ccopt -L/home/\
> yminsky/local/lib -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa
> bdb.cmxa nums.cmxa bi\
> garray.cmxa cryptokit.cmxa  crc.o pSet.cmx pMap.cmx utils.cmx heap.cmx
> mList.cmx mTimer.cm\
> x mArray.cmx settings.cmx pstyle.cmx getfileopts.cmx common.cmx
> channel.cmx
> eventloop.cmx \
> ehandlers.cmx bitstring.cmx meteredChannel.cmx number.cmx prime.cmx
> zZp.cmx
> rMisc.cmx line\
> arAlg.cmx poly.cmx decode.cmx fqueue.cmx prefixTree.cmx msgContainer.cmx
> nbMsgContainer.cm\
> x cMarshal.cmx reconMessages.cmx server.cmx client.cmx reconCS.cmx
> number_test.cmx decode_\
> test.cmx poly_test.cmx packet.cmx parsePGP.cmx sStream.cmx bdbwrap.cmx
> key.cmx keyHash.cmx\
>  keyMerge.cmx fixkey.cmx fingerprint.cmx keydb.cmx armor.cmx
> dbMessages.cmx
> htmlTemplates.\
> cmx wserver.cmx membership.cmx tester.cmx request.cmx index.cmx
> mRindex.cmx
> pTreeDB.cmx se\
> ndmail.cmx recvmail.cmx mailsync.cmx stats.cmx clean_keydb.cmx build.cmx
> fastbuild.cmx pbu\
> ild.cmx merge_keyfiles.cmx sksdump.cmx incdump.cmx dbserver.cmx
> reconComm.cmx recoverList.\
> cmx catchup.cmx reconserver.cmx update_subkeys.cmx sks_do.cmx
> unit_tests.cmx
> sks.cmx
> /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for
> -lz
> /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for
> -lz
> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for
> -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for
> -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for
> -ldl
> /usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for
> -ldl
> /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for
> -lc
> /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for
> -lc
> /home/yminsky/local/lib/libdb-4.1.so: undefined reference to
> `pthread_mutex_trylock'
> /home/yminsky/local/lib/libdb-4.1.so: undefined reference to
> `pthread_mutexattr_setpshared\
> '
>
> /home/yminsky/local/lib/libdb-4.1.so: undefined reference to
> `pthread_mutexattr_destroy'
> /home/yminsky/local/lib/libdb-4.1.so: undefined reference to
> `pthread_condattr_setpshared'
> /home/yminsky/local/lib/libdb-4.1.so: undefined reference to
> `pthread_mutexattr_init'
> collect2: ld returned 1 exit
> status
> Error during linking
> _______________________________________________
> 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]