caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] not a compilation unit description...
       [not found] <Pine.SOL.4.44.0205162107520.21795-100000@torf.Informatik.Uni-Oldenburg.DE>
@ 2002-05-17 16:16 ` Arne Koewing
  2002-05-17 19:12   ` Arne Koewing
  2002-05-18 14:37   ` Stefano Zacchiroli
  0 siblings, 2 replies; 5+ messages in thread
From: Arne Koewing @ 2002-05-17 16:16 UTC (permalink / raw)
  To: Arne Koewing; +Cc: OCAML

compiling one of my programms with the native code compiler
i get this error, does anyone know waht it exactly means?

ocamlfind ocamlopt -noassert -inline 10  -a -o jammal.cmxa -package "pxp" \
  -linkpkg \
  -predicates "" jammal_parser.cmx
/usr/lib/ocaml/pcre/pcre.cmxa is not a compilation unit description.

I had a look to the compiler-source, this message should only be printed
if an .cmx file has the wrong magic number.
this file is an .cmxa with a correct magic number but it seems the
native-code compiler wants to treat it as a .cmx file.

any ideas? (is it a bug?)

 thanks for help,

 Arne Koewing




-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] not a compilation unit description...
  2002-05-17 16:16 ` [Caml-list] not a compilation unit description Arne Koewing
@ 2002-05-17 19:12   ` Arne Koewing
  2002-05-18 14:37   ` Stefano Zacchiroli
  1 sibling, 0 replies; 5+ messages in thread
From: Arne Koewing @ 2002-05-17 19:12 UTC (permalink / raw)
  To: Arne Koewing; +Cc: OCAML

by the way, im using ocaml 3.04 on debian linux


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] not a compilation unit description...
  2002-05-17 16:16 ` [Caml-list] not a compilation unit description Arne Koewing
  2002-05-17 19:12   ` Arne Koewing
@ 2002-05-18 14:37   ` Stefano Zacchiroli
  2002-05-21 10:00     ` Arne Koewing
  1 sibling, 1 reply; 5+ messages in thread
From: Stefano Zacchiroli @ 2002-05-18 14:37 UTC (permalink / raw)
  To: OCAML

On Fri, May 17, 2002 at 06:16:48PM +0200, Arne Koewing wrote:
> ocamlfind ocamlopt -noassert -inline 10  -a -o jammal.cmxa -package "pxp" \
>   -linkpkg \
>   -predicates "" jammal_parser.cmx
> /usr/lib/ocaml/pcre/pcre.cmxa is not a compilation unit description.

Which version of the various debian packages are you using?

To build against ocaml pcre bindings you also need to install
libpcre3-dev, version 4.26.3-1 of the ocaml pcre debian package doesn't
declare the dependency on libpcre3-dev, I fixed the problem in 4.26.3-2.
BTW have you installed libpcre3-dev package?

Cheers.

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] not a compilation unit description...
  2002-05-18 14:37   ` Stefano Zacchiroli
@ 2002-05-21 10:00     ` Arne Koewing
  2002-05-22  7:41       ` Stefano Zacchiroli
  0 siblings, 1 reply; 5+ messages in thread
From: Arne Koewing @ 2002-05-21 10:00 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: OCAML



On Sat, 18 May 2002, Stefano Zacchiroli wrote:
...
> > ocamlfind ocamlopt -noassert -inline 10  -a -o jammal.cmxa -package "pxp" \
> >   -linkpkg \
> >   -predicates "" jammal_parser.cmx
> > /usr/lib/ocaml/pcre/pcre.cmxa is not a compilation unit description.
>
> Which version of the various debian packages are you using?

i'm using the curent debian-developer version (sid)
and an self made installation on SunOS.

on both targets i got the same error.

> To build against ocaml pcre bindings you also need to install
> libpcre3-dev, version 4.26.3-1 of the ocaml pcre debian package doesn't
> declare the dependency on libpcre3-dev, I fixed the problem in 4.26.3-2.
> BTW have you installed libpcre3-dev package?

yes,ist is installed

> Cheers.
>
> --
> Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
> zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
> "I know you believe you understood what you think I said, but I am not
> sure you realize that what you heard is not what I meant!" -- G.Romney
> -------------------
> To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] not a compilation unit description...
  2002-05-21 10:00     ` Arne Koewing
@ 2002-05-22  7:41       ` Stefano Zacchiroli
  0 siblings, 0 replies; 5+ messages in thread
From: Stefano Zacchiroli @ 2002-05-22  7:41 UTC (permalink / raw)
  To: OCAML

On Tue, May 21, 2002 at 12:00:20PM +0200, Arne Koewing wrote:
> i'm using the curent debian-developer version (sid)
> and an self made installation on SunOS.

That's ok, could you send me a small subset of your sources with which I
can reproduce the problem?
I've used pcre without problems and I can't figure out from yout
description where is the bug, if any, with debian pcre ocaml package.

Cheers.

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-22  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.SOL.4.44.0205162107520.21795-100000@torf.Informatik.Uni-Oldenburg.DE>
2002-05-17 16:16 ` [Caml-list] not a compilation unit description Arne Koewing
2002-05-17 19:12   ` Arne Koewing
2002-05-18 14:37   ` Stefano Zacchiroli
2002-05-21 10:00     ` Arne Koewing
2002-05-22  7:41       ` Stefano Zacchiroli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).